Solved

Click javascript button in VB6

Posted on 2013-11-22
2
380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

738 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