c# - How to hide a window from the taskbar when started using System.Diagnostics.Process -


this question has answer here:

i writing code open program :

system.diagnostics.process aprocess = new system.diagnostics.process(); aprocess.startinfo = new system.diagnostics.processstartinfo(     system.io.path.combine(environment.getfolderpath(         environment.specialfolder.applicationdata), @"myapp.exe")); aprocess.start();  

myapp.exe not dot net program. want hide icon of program taskbar.

try

aprocess.startinfo.windowstyle = system.diagnostics.processwindowstyle.hidden; 

Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -