Solved

Click javascript button in VB6

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

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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
Comment Utility
I guess they will lose out on my business then.  Bummer!!!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

763 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

9 Experts available now in Live!

Get 1:1 Help Now