|
-
Dec 13th, 2004, 07:36 PM
#1
Thread Starter
Fanatic Member
timer control
hi,
i would like to create a program which calls another specific program every 5 mins.the calling program has to wait till the called program finsihes its operation.how can it poll to check if other program has completed its exceution?and after completetion of other program.......the calling program shud wait for 5 mins by means of a timer control and then call the program again........how can this be done?
thnaks and regards
vivek.s
-
Dec 13th, 2004, 07:38 PM
#2
Re: timer control
the exact code was posted just a week ago. search for it. I'm sure that it is easy to find.
-
Dec 13th, 2004, 07:43 PM
#3
Thread Starter
Fanatic Member
Re: timer control
hi,
cud u gimme some tips for searching the frums?
thanks and regards
vivek.s
-
Dec 13th, 2004, 07:49 PM
#4
Thread Starter
Fanatic Member
Re: timer control
hi
i found this
Code:
SHELL "path\program.exe parm1 parm2"
but i guess.........i need a different solution...a timer control as well.........how can i do it?
Thanks and Regards
vivek.s
-
Dec 13th, 2004, 07:49 PM
#5
Frenzied Member
Re: timer control
Justenter related text - say
exe check
in the search box. Browse the topic names that are returned. If you don't have a response that you can use within two pages - change the text and do another serach.
Anyway. The article you may need is this one..
Trying to make it 14 hours without sleep ????
http://support.microsoft.com/default...b;en-us;187913
-
Dec 13th, 2004, 08:05 PM
#6
-
Dec 13th, 2004, 08:08 PM
#7
Re: timer control
you can try to open the called program as binary with lock. if you can't open it, then it is in use.
-
Dec 13th, 2004, 09:42 PM
#8
Re: timer control
Why do you need to run a program every 5 minutes?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 13th, 2004, 11:02 PM
#9
Re: timer control
Reminds me of McAfee poping up updates like almost every 5 minutes
-
Dec 14th, 2004, 08:55 AM
#10
Thread Starter
Fanatic Member
Re: timer control
Hi,
i am calling a vb exe from another vb program........once the called program has completed its execution , i have to call it again.....and when user presses stop button.......the execution should be stopped..........how can this be done without eating up memory?
Thanks and Regards
vivek.s
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
|