Hello,
I'm trying to write a script that generates html streams and send them to an instance of IE ( no real html file exists ). The problem I'm running in to is getting the html form input back from IE to the hosting vbs script to proccess the users input. I've seen the alert method [ alert Document.myForm.myText.Value ] not seem to reference that name space through the parent vbs script.
Set objDoc = MSIE.Document.myForm.myText.Value
Wscript.Echo ojbDoc
It seems that there would be an easy way to pull the user inputs back out of IE to return the variant value back to the host vbs session with out using java or having an external file ( beyond the vbs script that is creating the IE and the html stream being sent to IE for the users input ), but I can't seem to locate one. Even the msgbox method will not work if it is not being supplied via an actual html file ( doesn't work via an html stream via the host script ).
If anybody has a good exaple of how to achieve this it would be much appreciated. I would like to user the power of IE for a user interface in self contained scripts which are more geared towards admin work than webpages.
Thanks in advance.
I'm trying to write a script that generates html streams and send them to an instance of IE ( no real html file exists ). The problem I'm running in to is getting the html form input back from IE to the hosting vbs script to proccess the users input. I've seen the alert method [ alert Document.myForm.myText.Value ] not seem to reference that name space through the parent vbs script.
Set objDoc = MSIE.Document.myForm.myText.Value
Wscript.Echo ojbDoc
It seems that there would be an easy way to pull the user inputs back out of IE to return the variant value back to the host vbs session with out using java or having an external file ( beyond the vbs script that is creating the IE and the html stream being sent to IE for the users input ), but I can't seem to locate one. Even the msgbox method will not work if it is not being supplied via an actual html file ( doesn't work via an html stream via the host script ).
If anybody has a good exaple of how to achieve this it would be much appreciated. I would like to user the power of IE for a user interface in self contained scripts which are more geared towards admin work than webpages.
Thanks in advance.