AppActivate c# vb.net equivalent

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • André

    #1

    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
  • Herfried K. Wagner [MVP]

    #2
    Re: AppActivate c# vb.net equivalent

    "André" <Andr@discussio ns.microsoft.co mschrieb:
    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.Ap pActivate' by adding a reference to
    "Microsoft.Visu alBasic.dll" to your project and importing the namespace
    'Microsoft.Visu alBasic'.

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

    Comment

    Working...