Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Task Scheduler
Message
De
14/12/2004 11:07:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/12/2004 10:50:48
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00969109
Message ID:
00969118
Vues:
16
>Is there a way to run the task scheduler from VFP code. I already have the Task Scheduler firing every 30 minutes. I need to be able to run it on the fly if necessary.
declare long ShellExecute in "shell32.dll" ;
	long hwnd, string lpszOp, ;
	string lpszFile, string lpszParams, ;
    string lpszDir, long nShowCmd

ShellExecute(0,'Open','explorer.exe',;
  '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\'+;
  '::{21EC2020-3AEA-1069-A2DD-08002B30309D}\'+;
  '::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}','',1)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform