Passing values between an ASP page and an HTA - VBS script 
Author Message
 Passing values between an ASP page and an HTA - VBS script

We have an HTA page loading a remote webserver ASP page, An event is triggered
from the ASP page (witin the HTA container) to kick off a local VBS script to run
on the local machine.  We want to pass values from the calling ASP page to the
VBS Script.

is Sessions a good way to do this? if so how could we receive ASP Session values  
within the script?
if not what is another method?

As always thanks to you all!

Elmehdi



Fri, 23 May 2003 03:00:00 GMT  
 Passing values between an ASP page and an HTA - VBS script

Since you "kick off a local VBS script to run on the local machine", you certainly can't use an ASP
server side objects...

Exactly how do you do the "kick off" part?

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--

We have an HTA page loading a remote webserver ASP page, An event is triggered
from the ASP page (witin the HTA container) to kick off a local VBS script to run
on the local machine.  We want to pass values from the calling ASP page to the
VBS Script.

is Sessions a good way to do this? if so how could we receive ASP Session values
within the script?
if not what is another method?

As always thanks to you all!

Elmehdi



Sat, 24 May 2003 03:00:00 GMT  
 Passing values between an ASP page and an HTA - VBS script
We are using a thin HTA container which enable us to kick off local scripts.  We
are using ASP specific events to kick off a script via WS Shell property.  IN
addition we are passing arguments from the ASP to Script at the same time.

Thanks anyway!

Quote:
-----Original Message-----

Since you "kick off a local VBS script to run on the local machine", you
certainly can't use an ASP
server side objects...

Exactly how do you do the "kick off" part?

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--



We have an HTA page loading a remote webserver ASP page, An event is triggered
from the ASP page (witin the HTA container) to kick off a local VBS script to run
on the local machine.  We want to pass values from the calling ASP page to the
VBS Script.

is Sessions a good way to do this? if so how could we receive ASP Session values
within the script?
if not what is another method?

As always thanks to you all!

Elmehdi

.



Sat, 24 May 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Problem of Passing value from .asp to .vbs

2. Passing Values to asp page

3. Passing a value from ASP to the script

4. HTA passing form values

5. Passing values in HTA

6. Passing argument to .VBS script from HTML page

7. ASP : Passing values from One ASP to the Next

8. Passing vairable values from page to page with VBScript

9. passing a form field value from a page to a frame's page

10. Executing a .vbs script from an asp page

11. VBS scripting in an ASP page

12. Executing a *.vbs script using wscript.shell on a *.asp page

 

 
Powered by phpBB® Forum Software