NA> I want to make a shell that will run a DOS program but I want the DOS
progr
NA> hidden as if its not there. Please help!
Under "shell" in help this follows:
Shell(pathname[, windowstyle])
The Shell function syntax has these named arguments:
Part Description
pathname Name of the program to execute and any required arguments or command
line switches; may include directory and drive. May also be the name of a
document that has been associated with an executable program.
windowstyle Number corresponding to the style of the window in which the
program is to be run. If windowstyle is omitted, the program is started
minimized with focus.
The windowstyle named argument has these values:
Constant Value Description
vbHide 0 Window is hidden and focus is passed to the hidden window.
so
retVal = shell("c:\path\program.exe switches", vbHide)
_should_ do it, but I've not tested it at _all_.
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)
|