plz do not send posts to lists in html format. to answer your question on how to find battery status do # cat /proc/apm
reagards, Joakim Nordberg > Hi, > > I am working on a Installation program. > I need to run that program on Laptop only if it is on power mode and > terminate it if it is on Battery mode. > How can I detect the mode of Laptop in VC++. > > Pls, help me if u can. > I am stuck in this problem since a week and need to fix it urgently. > > Thanks in advance. > > Dharmen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]