Results 1 to 2 of 2

Thread: How do I perform (CTRL+A, then CTRL+C) on Broswer Control in VB.NET?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Posts
    5

    How do I perform (CTRL+A, then CTRL+C) on Broswer Control in VB.NET?

    Can anyone tell me how to perferm the equivalent of a CTRL+A and CTRL+C in a browser control?

    Basically, I have a windows application and I need to programmatically copy the contents of the browser control.

    Any help would be greatly appreciated!

    Thanks

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    one quick way may be trying to send key combinations to application.
    VB Code:
    1. SendKeys.Send("^a") ' Sends CTRL+a
    2. SendKeys.Send("^c") ' Sends CTRL+c
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width