Click here to Skip to main content
15,909,539 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Event Handler for simple control Pin
peterchen25-Feb-05 3:24
peterchen25-Feb-05 3:24 
GeneralGetting totals of access DB Pin
stevemwangi25-Feb-05 0:59
stevemwangi25-Feb-05 0:59 
GeneralRe: Getting totals of access DB Pin
Dave Kreskowiak25-Feb-05 2:51
mveDave Kreskowiak25-Feb-05 2:51 
GeneralCreate Excel in VB.NET Pin
thanh_bkhn24-Feb-05 21:59
professionalthanh_bkhn24-Feb-05 21:59 
GeneralRe: Create Excel in VB.NET Pin
Dave Kreskowiak25-Feb-05 4:56
mveDave Kreskowiak25-Feb-05 4:56 
GeneralRe: Create Excel in VB.NET Pin
thanh_bkhn25-Feb-05 15:39
professionalthanh_bkhn25-Feb-05 15:39 
GeneralStart Your Application Automaticly Pin
NathanJonker24-Feb-05 20:18
NathanJonker24-Feb-05 20:18 
GeneralRe: Start Your Application Automaticly Pin
Colin Angus Mackay24-Feb-05 23:01
Colin Angus Mackay24-Feb-05 23:01 
NathanJonker wrote:
I have a Application that has to start say every night at 9.
But I do not want to use windows scheduled tasks


Then your application is going to have to run continuously and perform its task at the time you set. A timer would allow it to wake up periodically to check the time.


NathanJonker wrote:
is there another way

You could also set the application into a loop that checks the time, if it is >= the time you specify it starts the job - when finished it flags it as done for the day. If the job is not running then it Thread.Sleep(x); and loops around again. However, if the application is sleeping it does not respond to the system so if you set x to be too long and shutdown your PC you may get an "application is not responding" error message.

Does this help?


Do you want to know more?
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralRe: Start Your Application Automaticly Pin
NathanJonker25-Feb-05 2:55
NathanJonker25-Feb-05 2:55 
GeneralRe: Start Your Application Automaticly Pin
Dave Kreskowiak25-Feb-05 0:49
mveDave Kreskowiak25-Feb-05 0:49 
GeneralRe: Start Your Application Automaticly Pin
NathanJonker25-Feb-05 3:02
NathanJonker25-Feb-05 3:02 
GeneralRe: Start Your Application Automaticly Pin
Dave Kreskowiak25-Feb-05 4:21
mveDave Kreskowiak25-Feb-05 4:21 
GeneralDataGrid Display Question Pin
satcomengineer24-Feb-05 16:15
satcomengineer24-Feb-05 16:15 
GeneralRe: DataGrid Display Question Pin
Dave Kreskowiak25-Feb-05 1:04
mveDave Kreskowiak25-Feb-05 1:04 
GeneralRe: DataGrid Display Question Pin
satcomengineer25-Feb-05 2:14
satcomengineer25-Feb-05 2:14 
GeneralRe: DataGrid Display Question Pin
Avarona25-Feb-05 1:05
Avarona25-Feb-05 1:05 
GeneralFrom text to time Pin
numbrel24-Feb-05 15:24
numbrel24-Feb-05 15:24 
GeneralRe: From text to time Pin
Dave Kreskowiak25-Feb-05 1:00
mveDave Kreskowiak25-Feb-05 1:00 
GeneralRe: From text to time Pin
numbrel25-Feb-05 5:30
numbrel25-Feb-05 5:30 
GeneralRe: From text to time Pin
Dave Kreskowiak25-Feb-05 7:14
mveDave Kreskowiak25-Feb-05 7:14 
GeneralMicrosoft compact Framework Pin
Member 37044324-Feb-05 9:05
Member 37044324-Feb-05 9:05 
GeneralDeacreasing Memory Usage Pin
Mitch F.24-Feb-05 7:20
Mitch F.24-Feb-05 7:20 
GeneralRe: Deacreasing Memory Usage Pin
Dave Kreskowiak24-Feb-05 7:33
mveDave Kreskowiak24-Feb-05 7:33 
GeneralRe: Deacreasing Memory Usage Pin
Mitch F.24-Feb-05 8:00
Mitch F.24-Feb-05 8:00 
GeneralOffice Automation Pin
mav070724-Feb-05 3:57
mav070724-Feb-05 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.