Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE Automation

Status
Not open for further replies.

EzLogic

Programmer
Aug 21, 2001
1,230
US
I've been playing with automations in IE and i got it to load a page, navigate, played with innerhtml, etc.

What i am trying to do is the following:

frm my vfp app, the user types in the information (name, address, city, state, etc..) and then instead of the user have to retype this info on the web form to submit to the insurance company, i want this information to be populated on the IE from my vfp app without 'posting'. Just simply filling the values in.

Anyone done that before?

I tried playing with the innerhtml, generating a str and doing a replacement of the input type value=bla bla

but, the submit button doesn't work as the page is not html anymore, it has other scripts.

any ideas?

Ali Koumaiha
Wireless Toyz
Farmington Hills, Michigan
 
Is this an example of what you're looking to do?

thread184-266072
 
Hi Ali,

This isn't exactly what you want, but it might be worth considering.

First, open the insurance form in your browser, and fill in some sample values. Press the Submit button. Make a note of exactly what appears in the address bar.

Chances are it will be something in the form:
etc.

where XXX and YYY are the values you entered.

Now, after collecting that same information from your user, construct a string in the same format as that URL. Next, call IE's Navigate (or Navigate2) method, passing that string as a parameter. This should sumbit the page to the insurance company, and you should receive back the acknowledgement page, or whatever.

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Thanks Gusy, i will give it a try.

Ali Koumaiha
Wireless Toyz
Farmington Hills, Michigan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top