Open IE using VBScript

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi All.
I have a fairly basic question.

I have pasted below some HTML that I have sort of cobbled together -
If I save this as a file with a .html extension I can double-click it and
see the browser open.
I can click the submit button and get the results page from UPS.

Now, I can generate this html using vbscript - ofcourse everything is hard
coded except the tracking number
which would come from the database.

What do I need to add to this code so that the submit operation happens
automatically, and I see the results page?

Thanks in advance for your assistance
Regards
Habib
--------------------------

<HTML>
<HR>
<FORM method="post" action =
"http://wwwapps.ups.com/WebTracking/OnlineTool";>
<INPUT type="text" size=35 name="InquiryNumber1" value =
"1Z0E25E4D310362067"><BR>
<INPUT type="submit" name="submit" value="Track this package">
<INPUT type="hidden" name="IATA" value="us">
<INPUT type="hidden" name="Lang" value="eng">
<INPUT type="hidden" name="UPS_HTML_Version" value="3.0">
<INPUT type="hidden" name="TypeOfInquiryNumber" value="T">
</FORM>
</HTML>



.


Quantcast