Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible DOS.
Message
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00676212
Message ID:
00676429
Views:
13
Jonathan,

There's an article on my website showing how you can use ShellExecute() with DOS commands. It's under Q&A, General, qgen010. You can control the visibility of the window with the last parameter which can be one of the following values:
* ShowWindow() Commands

#define SW_HIDE             0
#define SW_SHOWNORMAL       1
#define SW_NORMAL           1
#define SW_SHOWMINIMIZED    2
#define SW_SHOWMAXIMIZED    3
#define SW_MAXIMIZE         3
#define SW_SHOWNOACTIVATE   4
#define SW_SHOW             5
#define SW_MINIMIZE         6
#define SW_SHOWMINNOACTIVE  7
#define SW_SHOWNA           8
#define SW_RESTORE          9
#define SW_SHOWDEFAULT     10
#define SW_MAX             10
>I need to run a DOS application and that the user doesn´t see it. Is this possible?? How??
df (was a 10 time MVP)

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

Click here to load this message in the networking platform