DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Firing onclick event in asp page in webbrowser control

  1. #1
    Join Date
    Nov 2005

    Firing onclick event in asp page in webbrowser control

    Hi all:
    I am not a hardcore VB programmer so hopefully there are some experts out there who can help.

    I have a VB6 form with a webbrowser control on it. When the form opens, the control is loaded with an ASP login web page. The user then logs in to the website and a second page loads. The second page has 3 frames. One of the frames has a disconnect button in it. If the machine is idle for a period of time I want to fire the onClick event of the disconnect button on the web page.

    Tracking the idle time is easy enough but is there a way to fire the onclick event of a button in a frame on a web page in a webbrowser control?

    Thanks for your help

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    I don't know of any way to fire the click event of a button on a Web page, but you can submit a request to the server that simulates the request generated when a user clicks the button:
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 0
    Last Post: 02-19-2003, 07:37 AM
  2. Replies: 1
    Last Post: 10-01-2002, 08:21 AM
  3. Replies: 0
    Last Post: 07-25-2002, 10:25 AM
  4. Replies: 0
    Last Post: 04-04-2002, 09:29 AM
  5. Replies: 0
    Last Post: 03-23-2000, 05:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center