Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run window showing up

Status
Not open for further replies.

lorel

MIS
Joined
Jun 15, 2004
Messages
158
We need to execute the "run /N" command but we need for the window it opens not to open, or at least, hide it from the user. We have tried running it using /N2 but you still see it open and close on the status bar. Is there any way to prevent the run command from opening a window?

Thanks.
Joe
 
Joe,

The RUN command has always been a can of worms for me. Nowadays, I avoid it by using ShellExecute() instead. It's more reliable, more flexible and doesn't show the DOS window, not even for a millisecond.

If you haven't used ShellExecute() before, see:

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top