By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,057 Members | 1,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,057 IT Pros & Developers. It's quick & easy.

Run as background process

P: 2
I want to write a program that automatically collects data from Hand Punch Reader
Dec 30 '07 #1
Share this Question
Share on Google+
3 Replies


P: 2
How can I run a program in VB without calling the program? If system time is so and so, I want to execute the program internally.
Dec 30 '07 #2

Expert 5K+
P: 8,434
That would depend on what version of Windows you're running, I suppose. Windows XP has a task scheduler which you can tell to run a program at a set time(s).

Otherwise, perhaps you could simply put the program (or rather a shortcut to it) in the Startup group so it runs automatically each time a user logs on. The program can then sit there keeping an eye on the time until it's time to do something.

I believe you can also set up your program to run as a Windows Service, started automatically when Windows boots. Don't know much about it, though.
Dec 31 '07 #3

Ali Rizwan
100+
P: 927
I want to write a program that automatically collects data from Hand Punch Reader
as your question i understand you want to use your app as a service. Start your app at startup of your windows. Set its visibility false or can make a tray icon for it.

I think it helps you.

Regards
>> ALI <<
Dec 31 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.