Playing sound while device turned of

G

Guest

Dear All,
I have a program which plays a sound at a specified time, maybe device is
turned off at this moment, so how could i play the sound while device is
closed and without opening the device.
Thanks in advance
Regards

Tamer Hesham
 
P

Peter Foot [MVP]

You could use CeRunAppAtTime or CeSetUserNotificationEx to schedule the
device to wakeup and run your code at a specific time (See
OpenNETCF.Win32.Notify for using these from managed code). With
CeSetUserNotificationEx you can create a notification which plays a single
..wav file without writing your own app to run at that time.

Peter
 

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