c# - How to hide a window from the taskbar when started using System.Diagnostics.Process -
this question has answer here:
- hide app's taskbar button 2 answers
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
Post a Comment