Hi,
I am opening an exe from my C# windows application, through
system.diagnostics.process.start() -
process.StartInfo.FileName = "c:\\windows\\system32\\vkey.exe"; ]
process.StartInfo.WorkingDirectory = "c:\\";
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.Start();
I am starting the process in the hidden mode (processwindowstyle
hidden) and then I am doing some customization like setting window
style, windows position etc... using win32 API. After this I need to
restore the process again i.e show the hidden process window.
I tried using the win32 API function - ShowWindow(processHandle,
SW_SHOW). But it did not work.
Anyone has any idea, how to do it?