Using the Icetips Utilities Shell class this is actually very easy. All you need to do is set the ShowSetting property to IT_SW_HIDE before you call ITRun, ITRunWait or ITRunFile.
ITS ITShellClass
Code
ITS.ShowSetting = IT_SW_HIDE
If ITS.ITRun('consoleprog.exe',True,CmdLine) = 0
Message('OK')
End
That's really all there is to it:) By default the ShowSetting is set to IT_SW_SHOWNORMAL. For more information about the available IT_SW_ constants see http://www.icetips.com/manuals/utilities/showsetting_shellclass.htm and for information about what each constant means see http://msdn.microsoft.com/en-us/library/windows/desktop/ms633548(v=vs.85).aspx
0 Comments