Solved

Click javascript button in VB6

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

735 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