|
|
|
|
|
| | |
|
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Stream object problem |
From: |
yaverona |
Date: |
10/19/2000 4:27:43 AM |
IP: |
193.188.124.130 |
Dear Sirs,
I have following asp file to read a text file from other url.. (as it is)
<%
Dim objStream, objRecord, strText
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open "URL=http://www.sar.com/deneme.txt", adModeRead,
adOpenStreamFromURL
strText = objStream.ReadText
Response.Write strText
objStream.Close
%>
but when I run this script,
I will have following error
Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: adModeRead
Thank you for your help
best regards
|
Follow Up - Re: Stream object problem - Giovanni Zomer 10/27/2000 6:38:49 PM
|
|
|
|
|
|
|
|
|
|
|
|