AppActivate c# vb.net equivalent

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

c# .net 2005

I have a windows Sendkeys program using webBrowser1 VS.net 2005. I have to
click a client side message box to say {enter}.

How do I set focus back to the windows form for my sendkeys to send it to
the correct screen?

or, is there a better way then using send keys on a client side pop up
within webbrowser.

Thanks,

Andre
 
André said:
c# .net 2005

I have a windows Sendkeys program using webBrowser1 VS.net 2005. I have
to
click a client side message box to say {enter}.

How do I set focus back to the windows form for my sendkeys to send it to
the correct screen?

You can actually use 'Interaction.AppActivate' by adding a reference to
"Microsoft.VisualBasic.dll" to your project and importing the namespace
'Microsoft.VisualBasic'.
 
Back
Top