468,309 Members | 1,081 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,309 developers. It's quick & easy.

AppActivate c# vb.net equivalent

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
Aug 2 '06 #1
1 4827
"André" <An**@discussions.microsoft.comschrieb:
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'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Aug 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by John | last post: by
1 post views Thread by Alex | last post: by
reply views Thread by Austin | last post: by
14 posts views Thread by grid | last post: by
1 post views Thread by scottt | last post: by
1 post views Thread by André | last post: by
2 posts views Thread by =?Utf-8?B?bXIgcGVhbnV0?= | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.