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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking to a url 2

Status
Not open for further replies.

priapus

Technical User
May 17, 2001
26
US
I've posted on this before but am still having some problems. I have this form where a user enters a company name into a certain text box, resulting in data on that company to appear in certain other text boxes (e.g. creditcardnumber, creditcardexpmonth, creditcardexpyear, et.). the user then clicks on a button, which links to a url. this site contains some empty fields where credit card information is entered. At present the user has to manually read the data from the form and reenter it to the fields on the website before hitting hit the site's submit button to bill the company. is there a way to have the data from the text boxes in the form to be automatically copied/exported to the corresponding fields on the site when the hyperlink button is clicked? thanks much in advance
 
The following codes open the notepad and type in some words on the notepad. This might be useful to you.

Dim ReturnValue, i
ReturnValue = Shell("Notepad.EXE", 1)
AppActivate ReturnValue
AppActivate ReturnValue

SendKeys "You are smart!", True
SendKeys "%{F4}", True

seasport
 
Here is what I did to do bypass the entry page for a site.
Fill in the page manualyl. Submit it. Highlight the entire URL string in the address bar and copy it into your program as a comment for safekeeping. This URL should contain all your data with keywords e.g. ?&LN=Yingling&FN=John&MI=. Once I now knew how the URL would look I could use Shell to sumit the URL already filled in. Many of these pages have no check to prevent you from skipping the entry page.
Hint. If the address bar is "destroyed" when data comes back, hit stop on yout IE right after you submit to "freeze" the address bar.
 
Thanks John. Good idea, didn't think of it.
 
Well, I have to do this with another link where the site doesn't show you the filled-in-url, even after hitting stop. it automatically jumps to the new url. so i went to the html source code and tried the site followed by

?firstvariableisee=yaddayadda&secondvariable=yaddayadda...

and i got the message IOC_missing_fields=IOC_merchant_id (progress from my many 'web page not found' attempts)
even though my first variable passed was clearly IOC_merchant_id=[ourmerchantid]. so that doesn't work either. am i just up a creek? thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top