+ 2
how make hidden window on C#....
i dont know how make external .exe file hiddens. I wanna start browser on background mode in C#(CreateNoWindow dont work)...... know, i'm stupid.
4 Respuestas
0
have a look at this link.
https://stackoverflow.com/questions/5094003/net-windowstyle-hidden-vs-createnowindow-true
ProcessStartInfo info = new ProcessStartInfo(fileName, arg);
info.CreateNoWindow = true;
info.UseShellExecute = false;
Process processChild = Process.Start(info);
CreateNoWindow does seem to work, it needs a little bit more
0
dont work....
0
Please elaborate more. What is your code ? What do you see? Do you get any error? Does it do the same if you try to start notepad?
0
So... I'm test ProcessWindowStyle.Hidden and it work...but, thanks what u kill time on me. Sorry