Solved

Click javascript button in VB6

Posted on 2013-11-22
2
367 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DO Loop not working 4 72
message box in access 4 41
VBA: Personal Macro Retain/Highlight/Remove values in a selected column 4 24
How to make an ADE file by code? 11 80
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now