Bold shutdowns

For the past 5months now, my Bold 5 shutdown during charging and has not been able to power on since then. I have asked one or two local techicians to check yet the smae. I have plugged to my computer no response. which way out now.?

emmanueldiala wrote:
BB 9930
ok.
Connect to your original wall outlet battery charger and leave it connected several hours to charge and then while still connected, remove the battery for a minute and reinsert to reboot. After reboot leave to fully charge to 100%.
When you do this above, what happens on-screen and with the red LED ?
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code

Similar Messages

  • How can I prevent sudden shutdown of my BlackBerry Bold 9780 during cmaera usage?

    My BlackBerry shuts down after taking 2 or 3 photos. Don't think battery is the issue as there's no problem with normal usage for calling or texting. Can usually last a few days without charging.

    Hello ! Tony9780,
    Hope this information will help you solved your concern.
    You can do a test with the BlackBerry Application Name:
    - BlackBerry Virtual Expert that can be downloaded from the Blackberry World.
    Using the BlackBerry Virtual Expert diagnostics application
    http://www.blackberry.com/btsc/KB35973
    If it is a software issue the device will need a reload, before doing that it is necessary to back up all your data by downloading & installing the Blackberry Desktop Software http://us.blackberry.com/software/desktop.html.
    How to backup and restore BlackBerry smartphone data using BlackBerry Desktop Software
    http://www.blackberry.com/btsc/KB13428
    How to perform a clean reload of the BlackBerry Device Software using BlackBerry Desktop Software for Windows
    http://www.blackberry.com/btsc/KB11320
    Thank You.
    If it helped you, click like.
    If my response has helped you, please click "Options" beside my post and mark it as solved.
    Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.
    Good luck and let us know!

  • I cant reboot. Shutdown freezes at sending SIGTERM to processes

    I could use some advice. For the past 4 months or so I have not been able to do a full shutdown or reboot. When I run the shutdown -r now or reboot commands the process starts but freezes at Sending SIGTERM to processes. At this point I can switch to diffrent terminals with Ctrl+Alt+F? but I cant type.The only thing I can do is hold my power button down to shut off. I have been searching online  fore awhile and restored my rc.shutdown script to the original backup I have from months ago but I am still having the same issues. Ill attach my local and shutdown scripts
    Thanks for taking a look.
    rc.local
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    #/bin/plymouth quit --retain-splash
    alsactl -f /var/lib/alsa/asound.state restore
    #rm /tmp/.X25-lock
    mount LABEL=Backup /home/ahron/Dropbox/Backup
    mount LABEL=FatBackup '/home/ahron/Backup Images'
    #su ahron -c "vncserver -geometry 800x600 -alwaysshared -localhost -dpi 96 :25"
    rc.shutdown
    #!/bin/bash
    # /etc/rc.shutdown
    . /etc/rc.conf
    . /etc/rc.d/functions
    # avoid staircase effect
    stty onlcr
    echo " "
    printhl "Initiating Shutdown..."
    echo " "
    run_hook shutdown_start
    [[ -x /etc/rc.local.shutdown ]] && /etc/rc.local.shutdown
    stop_all_daemons
    run_hook shutdown_prekillall
    kill_all
    run_hook shutdown_postkillall
    stat_busy "Saving Random Seed"
    RANDOM_SEED=/var/lib/misc/random-seed
    install -TDm 0600 <(:) $RANDOM_SEED
    POOL_FILE=/proc/sys/kernel/random/poolsize
    if [[ -r $POOL_FILE ]]; then
    read POOL_SIZE < $POOL_FILE
    else
    POOL_SIZE=512
    fi
    dd if=/dev/urandom of=$RANDOM_SEED count=1 bs=$POOL_SIZE &>/dev/null
    stat_done
    [[ $TIMEZONE ]] &&
    status "Saving Time Zone" \
    cp --remove-destination "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
    # Write to wtmp file before unmounting
    halt -w
    status "Deactivating Swap" swapoff -a
    # stop monitoring of lvm2 groups before unmounting filesystems
    [[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]] &&
    status "Deactivating monitoring of LVM2 groups" \
    vgchange --monitor n &>/dev/null
    # if we don't have devtmpfs support, /dev is mounted as tmpfs, so don't unmount it
    status "Unmounting Filesystems" \
    umount -a -r -t nodevtmpfs,notmpfs,nosysfs,noproc,nodevpts -O no_netdev
    run_hook shutdown_postumount
    # Kill non-root encrypted partition mappings
    if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
    stat_busy "Deactivating encrypted volumes:"
    # Maybe someone has LVM on an encrypted block device
    # executing an extra vgchange is errorless
    [[ $USELVM = [Yy][Ee][Ss] ]] && vgchange --sysinit -a n &>/dev/null
    do_lock() {
    stat_append "${1}.."
    if $CS remove "$1" &>/dev/null; then
    stat_append "ok "
    else
    stat_append "failed "
    fi
    read_crypttab do_lock
    stat_done
    fi
    [[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]] &&
    status "Deactivating LVM2 groups" vgchange --sysinit -a n &>/dev/null
    status "Remounting Root Filesystem Read-only" \
    lsof /
    mount -n -t ext4 --verbose -o remount,ro /dev/sda3 /
    reboot -d -f -i
    run_hook shutdown_poweroff
    # Power off or reboot
    printsep
    if [[ $RUNLEVEL = 0 ]]; then
    printhl "${C_H2}POWER OFF"
    poweroff -d -f -h -i
    else
    printhl "${C_H2}REBOOTING"
    # if kexec is installed and a kernel is loaded, use it
    [[ -x $(type -P kexec) ]] && kexec -e &>/dev/null
    fi
    # End of file
    # vim: set ts=2 sw=2 noet:
    Last edited by ahronzombi (2011-11-12 17:10:43)

    So installing the testing initscripts seems to fix the reboot command, but still the most commonly used command shutdown -r now still wont do a full reboot.
    /etc/rc.local.shutdown
    #!/bin/bash
    # /etc/rc.local.shutdown: Local shutdown script.
    #killall dropbox
    #umount /home/ahron/Dropbox/Backup
    #killall Xvnc
    #fuser -vm /
    /etc/rc.d/functions
    NETFS="nfs,nfs4,smbfs,cifs,codafs,ncpfs,shfs,fuse,fuseblk,glusterfs,davfs,fuse.glusterfs"
    # Check local filesystems
    fsck_all() {
    fsck -A -T -C"$FSCK_FD" -a -t "no${NETFS//,/,no},noopts=_netdev" $FORCEFSCK
    # Single-user login and/or automatic reboot after fsck (if needed)
    fsck_reboot() {
    # $1 = exit code returned by fsck
    # Ignore conditions 'FS errors corrected' and 'Cancelled by the user'
    (( ($1 | 33) == 33 )) && return 0
    if (( $1 & 2 )); then
    echo
    echo "********************** REBOOT REQUIRED *********************"
    echo "* *"
    echo "* The system will be rebooted automatically in 15 seconds. *"
    echo "* *"
    echo "************************************************************"
    echo
    sleep 15
    else
    echo
    echo "***************** FILESYSTEM CHECK FAILED ****************"
    echo "* *"
    echo "* Please repair manually and reboot. Note that the root *"
    echo "* file system is currently mounted read-only. To remount *"
    echo "* it read-write type: mount -n -o remount,rw / *"
    echo "* When you exit the maintenance shell the system will *"
    echo "* reboot automatically. *"
    echo "* *"
    echo "************************************************************"
    echo
    sulogin -p
    fi
    echo "Automatic reboot in progress..."
    umount -a
    mount -n -o remount,ro /
    reboot -f
    exit 0
    mount_all() {
    mount -a -t "nosysfs,no${NETFS//,/,no}" -O no_netdev
    umount_all() {
    # $1: restrict to fstype
    local mounts
    while read -r target fstype options; do
    # match only targetted fstypes
    if [[ $1 && $1 != "$fstype" ]]; then
    continue
    fi
    # don't unmount API filesystems
    if [[ $target = /@(proc|sys|run|dev|dev/pts) ]]; then
    continue
    fi
    # avoid networked devices
    IFS=, read -ra opts <<< "$options"
    if in_array _netdev "${opts[@]}"; then
    continue
    fi
    mounts+=("$target")
    done < <(findmnt -runRo TARGET,FSTYPE,OPTIONS / | tac)
    umount -r "${mounts[@]}"
    remove_leftover() {
    stat_busy "Removing Leftover Files"
    # handle this separately until we declare the non-symlinks obsoleted
    [[ ! -L /var/lock ]] && rm -rf /var/lock/*
    if [[ ! -L /var/run && -d /var/run ]]; then
    find /var/run/ \! -type d -delete
    ln -s /run/daemons /var/run/daemons
    fi
    /usr/lib/initscripts/arch-tmpfiles --create --remove && stat_done || stat_fail
    bootlogd_stop() {
    [[ -f /run/bootlogd.pid ]] || return 0
    touch /var/log/boot
    kill $(< /run/bootlogd.pid)
    rm -f /run/bootlogd.pid
    sed -i -r -e 's/\^\[\[[0-9]?;?[0-9]?[0-9]?;?[0-9]?[0-9]?[ms]//g' \
    -e 's/\^\[(\[1?[0-9][0-9]|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot
    # Custom hooks in initscripts #
    # Hooks can be used to include custom code in various places in the rc.* scripts
    # Define a hook function in a functions.d file using:
    # function_name() {
    # add_hook hook_name function_name
    # It is allowed to register several hook functions for the same hook
    # Is is also allowed to register the same hook function for several hooks
    # Currently, the following hooks exist:
    # sysinit_start: at the beginning of rc.sysinit
    # multi_start: at the beginning of rc.multi
    # single_start: at the beginning of rc.single
    # shutdown_start: at the beginning of rc.shutdown
    # sysinit_end: at the end of rc.sysinit
    # multi_end: at the end of rc.multi
    # single_end: at the end of rc.single
    # sysinit_udevlaunched: after udev has been launched in rc.sysinit
    # single_udevlaunched: after udev has been launched in rc.single
    # sysinit_udevsettled: after uevents have settled in rc.sysinit
    # single_udevsettled: after uevents have settled in rc.single
    # sysinit_premount: before local filesystems are mounted, but after root is mounted read-write in rc.sysinit
    # sysinit_postmount: after local filesystems are mounted
    # shutdown_prekillall: before all processes are being killed in rc.shutdown
    # single_prekillall: before all processes are being killed in rc.single
    # shutdown_postkillall: after all processes have been killed in rc.shutdown
    # single_postkillall: after all processes have been killed in rc.single
    # shutdown_postumount: after filesystems are unmounted
    # shutdown_poweroff: directly before powering off in rc.shutdown
    # Declare add_hook and run_hook as read-only to prevent overwriting them.
    # Too bad we cannot do the same thing with hook_funcs
    if (( RC_FUNCTIONS_HOOK_FUNCS_DEFINED != 1 )); then
    declare -A hook_funcs
    add_hook() {
    [[ $1 && $2 ]] || return 1
    hook_funcs[$1]+=" $2"
    run_hook() {
    [[ $1 ]] || return 1
    local func
    for func in ${hook_funcs["$1"]}; do
    "${func}"
    done
    declare -fr add_hook run_hook
    declare -r RC_FUNCTIONS_HOOK_FUNCS_DEFINED=1
    fi
    # Function for setting console font if required
    set_consolefont() {
    [[ $CONSOLEFONT ]] || return 0
    stat_busy "Loading Console Font: $CONSOLEFONT"
    #CONSOLEMAP in UTF-8 shouldn't be used
    [[ $CONSOLEMAP && ${LOCALE,,} =~ utf ]] && CONSOLEMAP=""
    local i
    for i in /dev/tty[0-9]*; do
    setfont ${CONSOLEMAP:+-m "${CONSOLEMAP}"} \
    "$CONSOLEFONT" -C ${i} &>/dev/null
    done
    if (( $? )); then
    stat_fail
    elif [[ $CONSOLEMAP ]]; then
    cat <<"EOF" >>/etc/profile.d/locale.sh
    if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi
    EOF
    stat_done
    else
    stat_done
    fi
    if [[ $DAEMON_LOCALE = [yY][eE][sS] ]]; then
    LANG=${LOCALE:-C}
    if [[ -r /etc/locale.conf ]]; then
    parse_envfile /etc/locale.conf "${localevars[@]}"
    fi
    else
    export LANG=C
    fi
    # set colors
    if [[ $USECOLOR = [yY][eE][sS] ]]; then
    if tput setaf 0 &>/dev/null; then
    C_CLEAR=$(tput sgr0) # clear text
    C_MAIN=${C_CLEAR}$(tput bold) # main text
    C_OTHER=${C_MAIN}$(tput setaf 4) # prefix & brackets
    C_SEPARATOR=${C_MAIN}$(tput setaf 0) # separator
    C_BUSY=${C_CLEAR}$(tput setaf 6) # busy
    C_FAIL=${C_MAIN}$(tput setaf 1) # failed
    C_DONE=${C_MAIN} # completed
    C_BKGD=${C_MAIN}$(tput setaf 5) # backgrounded
    C_H1=${C_MAIN} # highlight text 1
    C_H2=${C_MAIN}$(tput setaf 6) # highlight text 2
    else
    C_CLEAR="\e[m" # clear text
    C_MAIN="\e[;1m" # main text
    C_OTHER="\e[1;34m" # prefix & brackets
    C_SEPARATOR="\e[1;30m" # separator
    C_BUSY="\e[;36m" # busy
    C_FAIL="\e[1;31m" # failed
    C_DONE=${C_MAIN} # completed
    C_BKGD="\e[1;35m" # backgrounded
    C_H1=${C_MAIN} # highlight text 1
    C_H2="\e[1;36m" # highlight text 2
    fi
    fi
    # prefixes:
    PREFIX_REG="::"
    PREFIX_HL=" >"
    # Source additional functions at the end to allow overrides
    for f in /etc/rc.d/functions.d/*; do
    [[ -e $f ]] && . "$f"
    done
    # Exit current shell if user is not root
    need_root() {
    (( EUID )) && printf 'You need to be root.\n' && exit 1
    # Quit script if it's not running by root
    # This can be disabled in scripts sourcing functions by setting NEED_ROOT=0
    # A local call to need_root can be done to ensure part of script need root privilege
    (( ${NEED_ROOT:-0} == 1 )) && need_root
    # End of file
    # vim: set ts=2 sw=2 noet:

  • [STATEMENT] XDO Servlet shutdown complete

    Hi,
    What is the root cause of this error??
    [STATEMENT] XDO Servlet shutdown complete
    [042511_035257283][][STATEMENT] Total time used: 7953ms for processing XSL-FO
    [042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
    [042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.D:\OraHome_1\jdk\jre\lib\fonts\ALBANWTJ.ttf closed.
    [042511_035257799][][STATEMENT] FO+Gen time used: 8469 msecs
    [042511_035257799][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [042511_035257799][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [042511_035257799][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=508MB, total=175MB, free=87MB
    [042511_035257799][][STATEMENT] PublicReportService::generateReport FINISH and Return BIPReportResponse --- Time Elapse = 11875
    [042511_040113098][][STATEMENT] XDO Servlet shutdown complete.
    Thanks,

    Hi,
    Just a quick questions.
    1. How did you determine the 1536MB heap size?
    2. Does this error coming from the xdo.log means that we should increase the memory size?
    3. If the heap size is increase and still got the same issue, can you recommend us other options to fix this issue?
    Thanks, :)

  • Shutdown script permissions?

    I think this would be the right section.
    I happen to use PekWM and it doesn't have a native shutdown dialog, so I found this posted on some site that I cannot currently recall (I edited it a bit).
    #!/bin/bash
    gxmessage "Are you sure you want to shut down your computer?" -center -title "Take action" -font "Droid Sans bold 10" -default "Cancel" -buttons "_Cancel":1,"_Log out":2,"_Reboot":3,"_Shut down":4 >/dev/null
    case $? in
    1)
    echo "Exit";;
    2)
    init 3;;
    3)
    shutdown -r now;;
    4)
    shutdown -h now;;
    esac
    However, this script only works correctly if I run it as root.  Currently, I use
    Entry = "Exit" { Actions = "Exec gksudo ~/.shutdown.sh &" }
    in my pekwm menu config to bring it up.  My question is, what would I have to do to get this to run without having to enter my password (like a typical shutdown in a DE)?  If at all possible.

    drcouzelis wrote:
    Oh my goodness this has been bugging me for so long. I FINALLY got this to work.
    I followed what skanky said to do. Again. I've tried to get this working for months.
    It turns out it wouldn't work because I had uncommented this near the bottom of the visudo file:
    %wheel ALL=(ALL) ALL
    It cancels out my commands above it. >_O I comment that line back out, and I was finally able to "sudo /sbin/reboot" without typing in a password.
    Yeesh.
    I fell for that too. It's obvious if you think of it - general first, specific later.

  • Trouble after laptop shutdown before ipod ejected properly

    My laptop has greyed out the information on my ipod.
    when I connected last it asked me if i would like to register my ipod with my library, being not very knowledgable about how itunes works i said no, all the tracks etc. on screen were then greyed out and a small lock appeared at the bottom of the screen in itunes.
    I then tried to eject the ipod from the computer, itunes froze the laptop so I had no choice, to my knowledge, other than to shutdown the laptop.
    After that I unplugged the ipod and checked that all my tracks were there, they were not. I checked the properties of the ipod and it agreed that there were no songs, photos' or video's, out of the 27.8 gigs on there I now had 27.4 available to me.
    How do I get my laptop permission to access my ipod again?

    The songs are "greyed out" because you have the iPod set to transfer songs automatically. That is also why the padlock icon appears at the bottom of iTunes next to the space used/available.
    If you want the songs to be bold and selectable/editable, then you need to change to manually managing your songs.

  • Unable to capture startup and shutdown event of Photoshop in automation Plugin.

    Hi,
    I am creating an automation plugin and I want to register some events. I have seen listener plugin sample to register event in startup and unregister event in shutdown. I have used same code in my plugin but I am unable to capture the startup nad shutdown event of Photoshop. On clicking the menu item of my plugin the calls come inside the AutoPluginMain but during the startup or shutdown of plugin, the calls does not come inside the AutoPluginMain.
    I am unable to detect the cause of the problem. Can someone please giude me??
    Thanks in advance.

    Hi Tom,
    Thanks for the suggestion.
    Yes, I am working on Windows. As you suggested, I compiled .rc file but the compile option for .r file was disabled. After compiling the .rc file, I again rebuild the complete project and tested my build. But still I was not able to achive the desired result.
    Any other thing that I need to do to make it work?
    Thanks

  • Lock ups, Difficult starts, reboot/restart = shutdown

    My computer locks up and will not "Restart", if I tell it to "restart" it shuts down. The "Restart" button also causes the computer to shutdown.
    I checked logs and found this stuff:
    kernel: ApplePMU::PMU FORCED SHUTDOWN, CAUSE = -122
    Unresolved kernel trap(cpu 1): 0x300 - Data access DAR=0x00000000000000D4 PC=0x0000000000266EA0
    Latest crash info for cpu 1:
    Exception state (sv=0x259C2500)
    PC=0x00266EA0; MSR=0x00009030; DAR=0x000000D4; DSISR=0x40000000; LR=0x00266EE8; R1=0x11F03E40; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x00266EAC 0x00266E10
    Proceeding back via exception chain:
    Exception state (sv=0x259C2500)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x24F26500)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 7.9.0:
    Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
    panic(cpu 1): 0x300 - Data access
    Latest stack backtrace for cpu 1:
    Backtrace:
    0x00083498 0x0008397C 0x0001EDA4 0x00090C38 0x0009402C
    Proceeding back via exception chain:
    Exception state (sv=0x259C2500)
    PC=0x00266EA0; MSR=0x00009030; DAR=0x000000D4; DSISR=0x40000000; LR=0x00266EE8; R1=0x11F03E40; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x00266EAC 0x00266E10
    Exception state (sv=0x24F26500)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 7.9.0:
    Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
    I also ran a Hardware Test and all the hardware seems ok.
    I've taken the battery out of the PMU and it doesn't seem to have any issues starting without that battery in place.
    I'm really confused. Why all of a sudden would my computer hate me like this?

    Hi, Daniel!
    You can use this Apple Document to test your QS power supply with a voltmeter, without having to remove it from the Mac. It references a different model, but the only difference is that the voltage at pin 22 is 25 volts on a QuickSilver PSU rather than the 28 volts shown for the Gigabit Ethernet Mac. The procedural steps are the same...
    Does the Mac restart properly with the battery removed from the logic board? Does the battery test out okay, or can you swap it with another one?
    Gary

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 15" i7 Macbook Pro from early 2011.takes the mac laptop two or three tries to boot successfully. It would turn on, show gray screen, shut down, turn on again, show gray screen, shutdown, and then turn on, show gray screen, before it can finally get

    Hello All,
    I have a 15" i7 Macbook Pro from early 2011. The past few weeks, it has been getting increasingly difficult to get on my computer. It takes the mac laptop two or three tries to boot successfully. It would turn on, show gray screen, shut down, turn on again, show gray screen, shutdown, and then turn on, show gray screen, before it can finally get to the dark gray log-in screen. Even when I finally get logged in to start working, thinking it would be okay now, it shuts down randomly.
    I've ruled out the possibility of a software problem because I've just done a clean re-install of Mac OS X Mavericks on my computer just yesterday.
    I did upgrade the RAM recently, about a month and a half ago, from 4GB to 16GB, I went to the apple store four days after that upgrade to have them do a hardware test, and clean the inside of my laptop, which helped with previous heat issues. When they did the hardware test, the hardware was all registered as fine from their system.
    I've tried resetting the SMC, PRAM, and doing the internet recovery hardware test, but to no avail. I thought I could at least find out what parts needed to be replaced from the hardware test but it seems that when the hardware test is almost finished, the computer just shuts down, So I am unable to see the results.
    My computer is also having battery issues, under battery condition, it says "replace now," parts have been ordered, waiting for arrival. But if the battery health is low, it should still boot up fine, it would just hold a significantly less charge.
    Could this be a hard drive issue?
    Has anyone had similar symptoms and how was it resolved?
    Does anyone know what I can do to alleviate this issue?
    I haven't had time to take it to Apple because I'm currently taking a 21 credit semester academically. I'm an art and design student so my computer is basically the bane of my existence. Help! Any constructive advice is welcomed!
    Thank you so much for your input!
    -Christina C.

    Problem description:
    The Hard Disk is failing.
    EtreCheck version: 2.0.11 (98)
    Report generated November 4, 2014 at 7:59:28 AM EST
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2.2 GHz Intel Core i7 CPU: 4-core
      16 GB RAM Upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1600 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 512 MB
      Color LCD 1440 x 900
      AMD Radeon HD 6750M - VRAM: 1024 MB
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 0:3:43
    Disk Information: ℹ️
      TOSHIBA MK7559GSXF disk0 : (750.16 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      HDV4 (disk0s2) /  [Startup]: 749.30 GB (712.10 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Application Support/Avast/components/fileshield/unsigned
      [loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) Support
      /Library/Application Support/Avast/components/proxy/unsigned
      [loaded] com.avast.PacketForwarder (1.4 - SDK 10.9) Support
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.avast.userinit.plist Support
    Launch Daemons: ℹ️
      [invalid?] com.adobe.SwitchBoard.plist Support
      [loaded] com.avast.init.plist Support
      [loaded] com.avast.uninstall.plist Support
      [loaded] com.avast.update.plist Support
      [invalid?] com.perion.searchprotectd.plist Support
    User Launch Agents: ℹ️
      [invalid?] com.avast.home.userinit.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [invalid?] com.jdibackup.ZipCloud.autostart.plist Support
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      AdobePDFViewer: Version: 10.1.1 Support
      QuickTime Plugin: Version: 7.7.3
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
      Default Browser: Version: 537 - SDK 10.9
    User Internet Plug-ins: ℹ️
      TroviNPAPIPlugin: Version: 1.0 - SDK 10.9 Support
      Google Earth Web Plug-in: Version: Unknown
    Safari Extensions: ℹ️
      Avast Online Security
      Trovi Search for Safari
    3rd Party Preference Panes: ℹ️
      None
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          16% mds
          7% WindowServer
          1% loginwindow
          1% fontd
          1% com.avast.daemon
    Top Processes by Memory: ℹ️
      120 MB com.avast.daemon
      86 MB Google Chrome
      52 MB Finder
      52 MB WindowServer
      41 MB Google Chrome Helper
    Virtual Memory Information: ℹ️
      13.45 GB Free RAM
      1.34 GB Active RAM
      944 MB Inactive RAM
      1.43 GB Wired RAM
      1.11 GB Page-ins
      0 B Page-outs

  • Macbook problems, hard drive crash, random shutdown, freezes

    I bought my macbook used a few months ago, and it worked flawlessly until about 3 weeks ago. The system started freezing and not booting (getting folder icon instead of apple at startup). I ran drive setup and tried to repair the drive, but this did not fix the problem. DiskWarrior also could not fix it. I pulled the drive and installed a new hard drive, as I wanted a larger capacity anyways. All my problems appeared fixed for about two weeks, then similar problems began occurring. I backed up all the files I needed to an external firewire drive and attempted to reformat the new internal drive. Drive Setup says it can not reformat the drive - can't mount it and if it does, the drive disappears while in the process of formatting. I pulled the new drive and am having it replaced under warranty. I am using the firewire drive to run my computer, and this seemed to work fine for a day or two until the computer just started shutting down with no warning. Everything goes black, including the little light on the front of the computer. I have to hold down the power button for 10 seconds before it lets me start the computer back up. I had read this may be a memory issue, so I ran memtest and it says the memory is fine (I need to do it in single user mode still, however). I also tried pulling both sticks of ram. They are both 1GB crucial memory. I put each stick in by itself and tried it in both slots and was able to reproduce the shutdown issue with any ram configuration of either stick.
    After all this, I realized the firewire drive was only running 10.5, so I updated all the software through software update, and it is now running 10.5.2. It seems to be working better as I have not experienced a random shutdown yet, but I'm anticipating it may start back up soon. Today, however I experienced a different problem - the screen froze on me and the only way to get anything to happen was to force a shutdown with them power button. It's restarted and seems to be working fine again for now.
    I've run some logs and here's some things I've found:
    When the latest freeze happened, I got this repeated over 100 times:
    Apr 29 11:04:31 jon-turners-macbook quicklookd[536]: CGContextClosePath: no current point.
    I've also seen this:
    Apr 29 11:18:19 jon-turners-macbook kernel[0]: Previous Shutdown Cause: 3
    Apr 29 11:18:19 jon-turners-macbook kernel[0]: GFX0: family specific matching fails
    Apr 25 19:19:50 localhost kernel[0]: hi mem tramps at 0xffe00000
    Should there be anything else I can check? I would run Apple Hardware Utilities, but I don't have the original disks, just the Leopard installer. I have Disk Warrior, but it seems strange this would happen with multiple systems and drives. I'd like to get Techtool Pro, but haven't had the money/time to order it yet.

    Thanks for the replies!
    Yeah, I think it's the HDD. I was just worried that the RAM was bad and corrupted the HDD or something, but given the symptoms I think you guys are right. Ordered a 7200RPM 320GB HDD off Amazon Prime...will be here tomorrow
    I'll post how it goes after I finish installing it. I'm backing up as I type.
    I wonder if I can fix the ir port and the sleep indicator light when I install the hard-drive. The sleep indicator light never turns off. It stays on as long as my computer is on, only turns off when I shut it down.

  • How to Print a text in bold format in a classic report ??

    How to Print a text in bold format in a classic report ??

    hi
    u can use
    <b>FORMAT  INTENSIFIED ON.</b>
    regards
    ravish
    reward if useful

  • T500 performanc​e loss and restart issue after low battery shutdown

    Hi,
    Some days ago I experienced a significant loss in performance of my T500. Unfortunately it seems to be a continuous loss and the games I play, e.g. empire total war that did run ok before are nearly unplayable at the moment.
    Additionally, when the computer shuts down due to low battery, it no longer manages to resume windows but always crashs during reboot (black screen and hard disk symbol is moving, no other activity for 10 minutes)
    I am working with the standard vista installation and installed all automatic updates, but also every time when I shutdown the computer, no matter how long it has been running (even after 1 minute and after a rebooting 3 minutes ago), the red shutdown symbol in start shows that an update needs to be installed.
    any ideas?
    Many thanks in advance !
    Message Edited by Walky on 06-18-2009 09:39 PM
    Message Edited by Walky on 06-18-2009 09:41 PM

    Well, the problem, seem's to have reoccured: Battery ran out (even the indicator leds on the side didn't show any life), Time reset  to 1.1.2001, again some rebooting and setting the time again...
    Is this a sign of a degrading battery health status?
    It looks like reseting the SMC didn't help after all.

  • Remote system shutdown

    Hi,
    I'll try to be as short as possible. I need a bacth or command file to shut a system down located in my network. The batch file needs to be opened by another program called PowerChute Business Edition use by APC for UPS systems.
    I have the following. I can make a batch and command file that will log me onto the remote device and then shut down the device.
    net use \\computername /user:administrator password
    shutdown.exe -s -m \\computername -t 60When I just double click on the batchfile, it runs and the remote device opens a window saying that it will be shut down in 60 seconds.
    Only when my program opens the file, the action doesn't happen.
    I tried several other things
    NET SEND
    opening a program with CALL and START
    time /t >> c:\timelog.logAll these work, only the shutdown command doesn't work. I tried several other versions like
    shutdown -s -m \\computername -t 60
    shutdown /s /m \\computername /t 60
    shutdown.exe -s -m \\computername -t 60
    shutdown.exe /s /m \\computername /t 60...
    Now I contacted APC and in their last mail they said:
    The command files must conform to a certain syntax because of java. This also causes problems sometimes.
    Now I thought I'd might be using the wrong code because of Java,so I thought of asking it in a Java forum.
    Best regards
    Peter

    The program itself is a program for my UPS. When power is cut off, the UPS will switch to batteries. Now the software can execute a command file or batch file before shutting the connected computer down.
    So I want this cmd-file or bat-file to shut a remote computer down. This can be done by NET USE (to log on) and the by SHUTDOWN (to shut it down)
    If I want to see what happens when the program opens the batch files I go to work like this:
    I write 2 files:
    CallShutdown.bat
    @START "" "C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\shutdown.bat
    shutdown.bat
    NET USE \\computername /user:username password
    SHUTDOWN.EXE -s -m \\computername -t 60
    NET SEND computername TESTNow I can see on my own computer a DOS window and that gives me the following information:
    c:\PROGRA~1\APC\POWERC~1\agent\>net use \\computername /user:Administrator password
    The task is completed
    c:\PROGRA~1\APC\POWERC~1\agent\>shutdown.exe -s -m \\computername -t 60
    Access denied
    c:\PROGRA~1\APC\POWERC~1\agent\>net send computername TEST
    The message was send to COMPUTERNAMEAnd on the remote computer I can see a Messenger-Service window with the message TEST in it coming from my computer.
    First of all the NET USE command works, but the shutdown command fails because the access was denied.
    HOWEVER, when I double click on CallShutdown.bat in Windows Explorer everything works just fine. Logon, shutdown and Net Send.
    So I don't know why that shutdown command gets an access denied when I let the program execute it, but when I just use the double click action :o) everything works.
    Because I got a message from the helpdesk saying something about syntax for JAVA, I thought I'd give it a go on this forum.
    Hope I've been clear in my explanation. Two files, one calling the other. Second one logs on and shuts down the remote computer.

  • Directive Bundle - Shutdown workstation no longer works

    Our network has been using a directive bundle to shutdown our pc's for over a year now and it had worked quite well up until a couple of weeks ago.
    At that point I added an additional requirement to keep it from shutting down a pc on our network, since then the pc's are no longer turning off as they had.
    The action is set to shutdown the pc's after 900 seconds(15 minutes) and gives the user the option to cancel. The bundle is associated to 4 different workstation groups. The schedule for each association is set to "recurring" and has both the Distribution Schedule and the Launch Schedule set for 6:45pm M,T,W,T,F.
    I originally tried to edit the bundle back to its original state by removing the requirement I had added, they still didn't shut down.
    Then I rebooted the ZEN server(10.1.1) in case a service or something had been stopped or affected.
    The bundle appears on all the clients under the "assigned bundles" in the agent and shows it is available and effective.
    Yet the pc's still do not power off... any ideas?

    szartman,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

Maybe you are looking for

  • SQL in XML file

    hallo all. i want to give value of groups.id instead of id from groups table. pls, could anybody help me with it. SELECT * FROM MEMBERS WHERE ID = (SELECT MEMBER_ID FROM MID WHERE GROUP_ID = (SELECT ID FROM GROUPS)); the group.id comes from here, fro

  • How to adjust volume within a single track?

    I have recently purchased Logic Express 9 as I moved from a PC to MAC.If i record a single track, such as vocals, is there any way I can adjust the volume level at different places on that single track? I was able to do this very easily in Acid Pro.

  • DatagramSocket not working on iOS

    It does not work for me in any of these versions: 16.0, 14.0 and 3.6. DatagramSocket.isSupported always returns false. Anyone experiencing the same? Thanks.

  • Signing applets, going crazy

    hi, I think I've posted enough thread on signed applets and still haven't got the solution and i'm the strong believer that any sought of problem will be solved in the forums, and I still believe in that. Ok! I don't wan't to bore u, here is my probl

  • Why won't iDVD burn my .avi files... it used to?

    i have files ending in .avi that i want to burn to a DVD, in order to watch them on television. i throw them into the iDVD and the preview shows nothing but a blank screen. iDVD used to burn my .avi files. i have converted them to .mp4 / .mpg / .mov.