|
-
Feb 27th, 2007, 06:55 AM
#1
Thread Starter
New Member
Schedule job in VB
hi ,
how can i create a schedule job in VB , which can check a particular file whether it is running or not and if not then execute that file. please help me in this regard.
thanks in advance
Deepak
-
Feb 27th, 2007, 10:05 AM
#2
Re: Schedule job in VB
Did you write the program you want running?
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Feb 27th, 2007, 11:36 AM
#3
Lively Member
Re: Schedule job in VB
The easiest way is to use Windows Task Scheduler. It's in Win2k3 Server, tho...
-
Feb 27th, 2007, 12:40 PM
#4
Re: Schedule job in VB
Task Scheduler won't check to see if the program is already running, though. If he has access to the source for the program he can just have it exit if a previous instance is running. Then TS, or a similar program writtenin VB, would be a usable solution.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Feb 27th, 2007, 12:42 PM
#5
Lively Member
Re: Schedule job in VB
yea, I just noticed that.
There is the App.PrevInstance function, but I am not sure how one would capture an exe of another name.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|