Solved

Press webpage button using VB6

Posted on 2013-11-22
2
411 Views
Last Modified: 2013-11-23
So on the following page:

http://ua.foto.com/index.php?module=fotoprint&page=flashmode&zid=22

How would I programatically press "Add more files"?

Normally I would do:

WebBrowser.Document.All.Item("Submit1").Click

But that doesn't work in this case.
0
Comment
Question by:hrolsons
2 Comments
 
LVL 15

Accepted Solution

by:
unknown_routine earned 500 total points
ID: 39669410
You cannot do this in this case because that Button in not located on a regular HMTL or even ASP or ASP.NET page.

This button in not located on a regular webform but it is part of Adobe Flash Player 11 which is not accessible using the VB code. If you right click on the page you will see the Adobe component.
0
 

Author Comment

by:hrolsons
ID: 39669563
OK, maybe I'll check out a vendor that doesn't use Adobe.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 69
Set email body to html using vbscript 6 71
Need Nag Screen for Reboot if system up time is over 14 days 12 81
VBA: Insert New column with specific format type 12 55
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question