Set a timer in order for vb.net application to run particular feature at a scheduled time

  • Thread starter Thread starter A_PK
  • Start date Start date
A

A_PK

How can I set a timer, and allow my vb.net application to run particular
feature at a particular time ?

let's say...every friday 5pm, i want my vb.net applicaiton to back up the
sdf database.
 
besides that site ? where can i get more info ?

i go to the site, i click the shared source project or source, i can not
find any information about Notification.

there is one openNetCF.notification. i click on that.
then direcit me to one folder but i can not download the sample project ?

i just wonder if that is the information that u mentioned following?

so we have to open one form one by one and read the code ?
there is no any sample available project for download ?
 
You'll need to use the RunAppAtTime or SetUserNotification methods in the
Notify class:-
http://www.opennetcf.org/library/OpenNETCF.Win32.Notify.Notify.html

Sorry but there isn't a sample to demonstrate this specific functionality at
the moment. The method expects an executable and since if you are running on
Pocket PC a single instance is forced you won't get called if you are
already running - it will just bring your window to the front. Therefore you
can use a separate small exe which when launched runs your backup code and
then quits.

Peter
 
Yes it should work on all older Pocket PCs also. You can also use exactly
the same approach with system events using the Notify.RunAppAtEvent method

Peter
 
i have download ur sample project, but when i open up, i got a lot of OpenCF
object/dll missing.
Pls guide me where to download, I have go the the opennetcf.org site, but i
do not know where to download those dll, pls guide me

regards
 
Back
Top