>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.