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!

how to retrieve data in hta called page?

Status
Not open for further replies.

jfdabiri

MIS
Feb 27, 2007
282
US
hi,
i have an hta app that uses vbscript. when a link is clicked, it sends data. here's the code:
Code:
"<a href=" & chr(34) & "test.hta?unit_id=" & _                                     
                                      
"&row=1" & chr(34) & ">" &  full_name
this link calls test.htm with the data: full_name
how do i retrieve full_name in test.hta? i know how this is done in asp (using request.querystring). but when i code this in hta, it throws an error (request - object required)
any ideas how i can retrieve data being passed two hta's?
thanks.
 
not sure about hta pages if using the above code then you are not actually passing full_name with your query string!!

if thats not the issue i apologise for wasting your time!!!

daveJam

even my shrink says its all your f#@/ing fault
 
thanks,
ok, i changed the hta's into html's. i can see the url's on the top of the new window when the page is displayed like this:
file:///H:/public/updateDB.html?email=jerry@isp.net&model=T40&row=1
on this page, i have vbscript. all i want to do is retrieve email and model. how would i code in vb script to retrieve these two items. i know how to do it in asp by using request.querystring, but html and vbscript does not like that object.
thanks.
 
the bottom line is reading data from url in html, not asp. any ideas?
thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top