[help code]Minimize a external program
Hello everybody, I need your help so i would like to minimize a program as soon as it opens . I am beginner and i don't find hins.
example; the PROGRAM CALLs Mugen.exe here no problem i have the code to open it but i must add a code to minimize it as soon!
I would like a discret mode.
thank you in advance for your Help
Re: [help code]Minimize a external program
If you launch the executable as a process then you could set the WindowStyle to Minimized before starting the process:
Code:
Dim p As ProcessStartInfo = New ProcessStartInfo("Mugen.exe") With {.WindowStyle = ProcessWindowStyle.Minimized}
Process.Start(p)
Re: [help code]Minimize a external program
THANK YOU for your answer!
I will try, i will post the result tomorrow!