c# - Process.Start("explorer.exe"); won't bring back taskbar -


as of right now, working on mock os via winforms use prop movies. upon running application, kills explorer.exe can't accidentally have windows task bar show during shoot. issue is, upon closing mock os explorer.exe started again. however, process.start("explorer.exe"); brings explorer window, , not re-instate window taskbar.

i know fact, task manager more capable of bringing window taskbar via typing "explorer.exe" under new task, though i've had no luck finding command line arguments pass task manager.

edit: i'm running under windows 7. well, i'm going pretty in depth mock os. i'm taking control of quite few key presses windows uses. reason, kill explorer.exe can use key presses such "alt-tab" , display mock app switcher, etc. app runs in full screen, still possible have underlying windows gui pop up. replacing explorer.exe own mock explorer. upon closing custom explorer, can't seem regular windows gui come launching explorer.exe via process.start();.

from here:

try

process.start(path.combine(environment.getenvironmentvariable("windir"), "explorer.exe")); 

it appears must specify full path explorer taskbar back.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -