Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing a dos command from VFP6
Message
 
 
To
25/01/2002 23:41:47
Christopher Pinnock
United General Insurance Company
Kingston, Jamaica
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00610938
Message ID:
00610975
Views:
19
Ed's stuff does that. There's also an easy way with the scripting host:
lparameter pcProgram, pcArguments, pnShowWindow, plModal

local loShell, lnRetVal

loShell = createobject( "wscript.shell" )
lnRetVal = loShell.Run( pcProgram + " " + pcArguments, pnShowWindow, plModal )
return lnRetVal
>Found it tried it and it worked pretty fine. Thanks for that. Is it possible to have the program wait until the other app is completed before it continues.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform