Hi,
You do not focus on a process, in any case you focus on a form, you can use
Process.MainWindowHandle to get the ID of the main window, then you can
focus it by using SetForegroundWindow
Note that even doing this you cannot assure that the expected window to be
focused , just the main window of the process.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Saurabh Sharma" <sa*****@hireproindia.com> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl...
Hi
I found a particular process that is running on my machine. I have th
eprocess ID for that how to set Focus to that Process
Regards
Saurabh