hide .exe

04/10/2015 22:23 richierich88#1
Hey im new here sorry if this is in the wrong place or has already been spoken about.

im trying to run a .exe but would like it hidden in the background.

i have done this but no luck;

$var = MsgBox(4, "TRICKY", "Welcome to TRICKY, Would you like to INSTALL now?")

If $var = 6 Then
run ("c:\Users\Tricky\Desktop\GUI\Installation\Setu p Factory Runtime-FILES\ProgramFilesFolder\x.exe", @SW_HIDE)
EndIf
If $var = 7 Then
MsgBox(0, "NO", "NO")
EndIf

any help would be good thanks

RichieRich88
04/10/2015 23:02 alpines#2
How about moving the window out of the screen?
04/10/2015 23:04 richierich88#3
thanks,

this might work but then there will be a tab on task bar and i dont want the users to see this is running lol
04/10/2015 23:22 alpines#4
You can try to set the window @SW_HIDE (WinSetState). This hides the icon in the taskbar.
04/11/2015 05:47 richierich88#5
thank you