+ Reply to Thread
Results 1 to 3 of 3

VB to Press Web page button.

  1. #1
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    VB to Press Web page button.

    Is there a way to press 1 button on a webpage using VB.

    I know how to use follow hyperlink, but unsure about how to create the same actions as pressing a button on the page.

    I'm attempting to automate actions for a user. I can do this all the way to the hyperlink. If I could figure out a way to press this button... the user wouldn't need to do anything!!

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: VB to Press Web page button.

    Good afternoon Tortus

    It can be done, but it's not easy. There is a tutorial here, but before you go rushing off, just be aware that :
    The ease of use rating is "Hard"
    The additional note on the website reads:
    This code requires you to know the control names of the username and password fields, and the submit button. This information is available in the source code of the login page of any website, but you must find it. A good starting place is to look for the keyword "name".
    If any of this scares you then you might be better off thinking of workarounds.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Re: VB to Press Web page button.

    What about mimic 4 Tabs and then 1 Enter? That would press the button... but is it possible to mimic key strokes after the web page is open?.. hmmm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1