I have been trying to use objStream to write to a file but have been getting all kinds of errors.
The file is stream.txt and is located in the folder
http://localhost/7/
I am trying to open it from a page (shipStream.asp) in the same directory.....
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open "URL=http://localhost/7/stream.txt", adModeRead, adOpenStreamFromURL
This gives me:
Error Type:
(0x80040E96)
/7/shipStream.asp, line 20
I have tried the same omitting 'URL=' (ala example pg 623 Beg.ASP 3) and this returns the error:
ADODB.Stream (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/7/shipStream.asp, line 20
What am I doing wrong!? It's probably something stupid..I don't care, I just want to get on developing!
Regards Guy