Hi all,
I have a VB 6.0 application which i am calling from my C# application,
using
this will run the application, next after minimizing the VB 6.0 application I need to display it again, so I usedCode:Process startProcess = null; startProcess = Process.Start("ApplicationPath to start");
Here the problem begins that VB6 application do not get displayed back from minimized state.Code:ShowWindow(startProcess.MainWindowHandle, SW_SHOWNORMAL);
This code works well if we try it for any other windows application like Notepad.exe, but not with a VB6 exe created with single form without any code.
Need to know about this that why this is not happening in C# to display VB6 application.
Thanks,




Reply With Quote