Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide DOS command window
Message
 
 
To
31/01/2009 20:37:25
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01378612
Message ID:
01378808
Views:
27
Alan,

Using code like this you won't even see the window show up on the taskbar
loShell = createobject( "wscript.shell" )
loShell.Run( "TheOtherProcess.exe", 0, .t. )
>>Don't hold me to this because I don't have any references handy but seem to remember RUN having an optional /7 parameter that will prevent the DOS window from even flickering.
>
>Works a treat! I can see the command window briefly in the taskbar, but I can live with that.
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