Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some piece of advise ...
Message
From
26/04/2000 23:14:48
 
 
To
25/04/2000 16:03:46
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00363321
Message ID:
00363968
Views:
12
>Hello,
>
>I need to build a basic queue manager, in order to control our company's diary closing process, which consists on some EXE files that need to be executed in a fixed order. Actually we schedule them via the operating system (Windows NT) so they are triggered at certain hours during night, but sometimes this causes some processes to crash (ie when an EXE is triggered during another program's execution).
>To avoid and solve this I think I could write a program to simulate a process queue manager, which could consist on two main components:
>1. a table defining the processes to be launched and their order sequence, and;
>2. a program to launch and monitor the processes in the correct order (once an EXE is launched, it should wait until it ends before launching the next one).
>
>Can you give me ideas on how to do this and which programming tools are the most convenient? I'm planning to write this "queue manager" in Visual Basic and/or Visual C++.
>

Why not just write a simple VBScript that uses the Wscript.Shell's Run method to launch things and wait on their termination before proceeding?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform