Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the Path of COM EXE from Registry?
Message
From
26/11/2000 02:06:03
 
 
To
10/11/2000 10:46:16
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00440035
Message ID:
00445465
Views:
12
>Hi,
> Actually, I have a module which need to upload some data from server. It will be shared by 2 application - Management system (through User Interface) and my own task schdule system (which will be run on certain period).
> However, there is 3rd options, which user may ask to upload data from server once PC Startup!!!!

Rather than writing your own task scheduler, why not use the one that comes with Win9x or WinNT as appropriate? The scheduler which handles things like running defrags and scandisks comes as a part of Win9x and can fire a VFP app; the WinNT/Win2K AT scheduler can also start an application. There's really no reason to write your own just to launch a specific task to run at a specified time, or automatically on system restart. You could handle the third option trivially by creating a RunOnce key in the registry, which could easily launch a specific application at the next system reset immediately following the user logging into Windows.
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