Log in

View Full Version : Power-on


Deus
12-23-2002, 08:57 PM
I am writing an eVB Program and have run into a wall. I am tryin gto capture the power on function and use it to launch my app every time the power goes on. Any ideas?

/dev/niall
12-25-2002, 10:03 AM
You might find this article (http://www.pocketpcdn.com/qa/run_at_startup.html) on Pocket PC Developer Network helpful.

I'm not a VB programmer, but I imagine you would have to write a custom declaration to use it directly from VB.

See your eVB documentation under Appendix One: Accessing the Windows CE API (http://msdn.microsoft.com/library/en-us/vbceide/htm/appendix.asp?frame=true) for more details and an example.

/dev/niall
12-25-2002, 10:09 AM
BTW... Coredll.dll contains CeRunAppAtEvent.