Scheduling Procedure execution

  • Thread starter Thread starter Sonali
  • Start date Start date
S

Sonali

Hi,

Can anyone write me about how to schedule particular procedure in VB.net so
that it should run everyday at specified time?
The problem is I have GenReportProcedure written in frmReport form. I would
like VB.net application to execute GenReportProcedure every night at 9.00pm
automatically.

Any help is appreciated.

Thank you,
Sonali
 
1 way of doing this
you could put it in a timer
if it dousnt hav to be 9pm exact you could have the timer event firing every
10 mins or so (to reduce overhead)
in the timer check if its past 9, if it is set a boolean flag and execute
your proc, if its past 10 reset the flag so you can start checking again

hope it helps

eric
 

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

Back
Top