Hello!

Does anybody know how I can get notification if there is no power supply any
more?

My program which is written in VB .NET CF needs to know if the electricity
connector of the PocketPC is plugged off.

In the internet I found something about "Power Management:
RequestPowerNotifications()", but I really don't know how to use that...

I'm knew in programming applications for PocketPC, so I would be very happy
for any help!

Thanks in advance
Andreas
http://www.ab-archive.com

Re: Notification of power supply by Darren

Darren
Wed Nov 10 13:47:24 CST 2004

Andreas,

Take a look at www.OpenNetCF.org - part of the Smart Device Framework
includes
power management classes.

-Darren Shaffer

"Andreas Breitschopp" <a-breitschopp@ab-tools.de> wrote in message
news:e178Vc0xEHA.3908@TK2MSFTNGP12.phx.gbl...
> Hello!
>
> Does anybody know how I can get notification if there is no power supply
> any
> more?
>
> My program which is written in VB .NET CF needs to know if the electricity
> connector of the PocketPC is plugged off.
>
> In the internet I found something about "Power Management:
> RequestPowerNotifications()", but I really don't know how to use that...
>
> I'm knew in programming applications for PocketPC, so I would be very
> happy
> for any help!
>
> Thanks in advance
> Andreas
> http://www.ab-archive.com
>
>



Re: Notification of power supply by Andreas

Andreas
Wed Nov 10 16:04:58 CST 2004

Hello Darren!

First thanks for your fast replay!

> Take a look at www.OpenNetCF.org - part of the Smart Device Framework
> includes power management classes.

I searched on this page and I did also know this framework before, because I
have used it for another problem, but I couldn't find how to get a
notification from it when the power connector is plugged of. Could you help
me perhaps with the correct namespace?

Thanks again
Andreas
http://www.ab-archive.com


> "Andreas Breitschopp" <a-breitschopp@ab-tools.de> wrote in message
> news:e178Vc0xEHA.3908@TK2MSFTNGP12.phx.gbl...
> > Hello!
> >
> > Does anybody know how I can get notification if there is no power supply
> > any
> > more?
> >
> > My program which is written in VB .NET CF needs to know if the
electricity
> > connector of the PocketPC is plugged off.
> >
> > In the internet I found something about "Power Management:
> > RequestPowerNotifications()", but I really don't know how to use that...
> >
> > I'm knew in programming applications for PocketPC, so I would be very
> > happy
> > for any help!
> >
> > Thanks in advance
> > Andreas
> > http://www.ab-archive.com
> >
> >
>
>