Visual Basic / Dos / Hiding Dos Window
Snippet details
ID: 196
Viewed: 1357
Added: 2002-04-29
Version:
Hiding A DOS Window And Icon
To hide a DOS Window or Icon, try using an API called WinExec with nCmdShow set to SW_HIDE to hide the DOS
window.
To use this technique, you must have the DOSPRMPT.PIF set to run in windowed mode (use the PIF editor). The
while loop will wait until the WinExec SHELL is done before exiting. Leave it out if you don't have to wait for the
SHELL to complete before going on with the program.
General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: unknown
| Snippet By: | unknown |
| Declarations | |
| Code | |
| Highlight All | |
No Reviews to show
