set focus

  • Thread starter Thread starter bill
  • Start date Start date
B

bill

vb.net
windows form

I have a vb.net using a command button to open an external program using the
system.Diagnostics.Process.Start
What I want to do is when the external program starts have the focus set
back to the vb.net form without having to move the mouse over it. How can I
do this





Thanks
 
Hello,

bill said:
I have a vb.net using a command button to open an external
program using the system.Diagnostics.Process.Start
What I want to do is when the external program starts have
the focus set back to the vb.net form without having to
move the mouse over it. How can I do this

Have a look at the 'AppActivate' function if you are using VB.NET.
 
Back
Top