Solved

Click javascript button in VB6

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

http://www.photopanda.co.uk/apps/ipc/default.aspx?productID=M12&productType=REORD

Is there a way to programatically push the button that says "Use photos from my computer"?

In the past, I've used:

WebBrowser2.Application.Document.parentWindow.execScript "submitForm();"

But I don't know how to apply it to this situation.
0
Comment
Question by:hrolsons
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39670662
All these pages that you have asked about are actively trying to prevent you from doing what you want.  Every one so far has been programmed through javascript so that you can't 'automatically' submit anything.  That is getting more and more common as web sites try to defend themselves against automated submissions, most of which are spam or attempts to break in.
0
 

Author Comment

by:hrolsons
ID: 39671607
I guess they will lose out on my business then.  Bummer!!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

837 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