Problem of Passing value from .asp to .vbs 
Author Message
 Problem of Passing value from .asp to .vbs

Hello,

Could anyone "Please Help" me with these :
1) I need to pass a value from asp like this <% rstSearch("ImgFileName")%>
to a .vbs program.
Actually i am calling the vbs like this <a href = "Imaging.vbs"</a> but
before it call the imaging.vbs can i pass the value of <%
rstSearch("ImgFileName")%> (path to my image) to the imaging.vbs so that the
vbs know where to open the image file.
2) I need to write something from asp into a text file. In MSDN i get this
code like below:
<HTML>
<BODY>
<H3>Textstream test</H3>
<%
  Set OutStream = Server.CreateObject("MS.ITextStream")
  OutStream.CreateTextFile "tsworks.txt", , True
  OutStream.WriteLine "This line is written to the file."
%>
</BODY>
</HTML>

I get this error. Do you know how to solve this problem?

Textstream test
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/Project2/new.asp, line 5

Invalid class string

Thanks in advanced

Regards,
kim



Sun, 09 Nov 2003 16:54:01 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. error 200 on blockread (w/ patched tpl files)

2. Passing values between an ASP page and an HTA - VBS script

3. Problem passing values from object back to ASP

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

5. Timage vs DBgrid: how can I show ?

6. Sybase Temporary Tables

7. Passing values to a .VBS file...

8. Pass a value to a vbs file

9. passing values from .vbs file to command line under WSH

10. Passing values to variables in a .vbs file

11. Passing SELECT values to ASP

12. Passing SELECT Values to ASP

 

 
Powered by phpBB® Forum Software