lothos12345 Posted March 16, 2004 Posted March 16, 2004 I have written a program in VB.NET that I want to run automatically everyday at noon. Not quite sure how to accomplish this task. Any help would be greatly appreciated. Quote
Denaes Posted March 16, 2004 Posted March 16, 2004 I have written a program in VB.NET that I want to run automatically everyday at noon. Not quite sure how to accomplish this task. Any help would be greatly appreciated. I'd just open up the Task Manager and set to run every day at noon. :D If you want to do it via .Net, you'd have to have the actual program running 24/7 and constantly checking the PC Time like once every second or so... maybe every 10 seconds and wait until it's past noon, then run the procedure. You could also create a launcher program, which would act like Task Manager, watching the time, then running X att at X time Quote
lothos12345 Posted March 16, 2004 Author Posted March 16, 2004 Task Manager Using the task manager how do I set the program to run at noon everyday? Quote
Denaes Posted March 16, 2004 Posted March 16, 2004 (edited) Argh. I'm on crack. I got half the name right. It's called Scheduled Tasks, its in your Control Panel (unless you have 98/2000/XP lite, which allows you to remove it) You just open it up, double click on Add Scheduled Task. Then you get a standardized list of installed programs (like when you choose file extension associations). You click "Browse..." and tell it were to find your .exe file. You then get a choice of what you want to call the Scheduled Task and a choice to perform the task "Daily, Weekly, Monthly, One time only, When my computer starts, When I log on" From there you should be able to configure it to your likings. I say to practice with it by setting it a minute ahead of what time it is to test it. Mine at home had no problems. At work, there was some issue with it needing the computers admin name/password and it took like 9 tries to get it working. Edited March 16, 2004 by Denaes Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.