Capturing Battery Status

Z

Zahid

Hi,

Im new to PocketPC programming and have been using VB.Net
to develop a pocketPC application. I would appreciate it
if someone could assist me in capturing the battery
status (how much battery life is left) of the PocketPC so
that I can display it on my application. I have no idea
as to how to do this.

Any ideas?

Thanks in advance.
 
Z

Zahid

Hi,

Thanks for your help Neil. How do you use the control
from Opennetcf? Im quite new to this new Visual Studio
and especially VB.Net.

Thank in advance.
 
M

Maarten Struys

Did you download the control. There is a sample client app included in the
download. Even though it is in C# you probably can find out how to use the
control. If you have specific questions on the usage we'll try to help you.
 
Z

Zahid

Hi,

Thanks for your help. I went through the sample
Application and now understand how to use the control.
What i didnt understand was the
"P/Invoke the GetSystemPowerStatusEx API" ...

Sorry but i am new to this kind of programming.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top