I'm opening an HTML file and printing code to it, but I would rather it print new entries to the top rather than to the bottom. I know hot to do it in Perl, but can't figure out how in VBscript.
Here is the object I'm opening:
[tt]Set FileStreamObject = CreateObject("Scripting.FileSystemObject"
Set WriteStream=FileStreamObject.OpenTextFile(C:/changed.html",8,True)[/tt]
Then writing to the file with a series of [tt]WriteStream.WriteLine("<P>Some text here"[/tt] statements.
By putting into the HTML file a hidden tag something like [tt]<!--BEGIN-->[/tt] and then referencing it as the place to start, it should be able to write from the top down, but I have no idea how to do it. Can anyone help?
Don
don@ctagroup.org
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)
Here is the object I'm opening:
[tt]Set FileStreamObject = CreateObject("Scripting.FileSystemObject"
Set WriteStream=FileStreamObject.OpenTextFile(C:/changed.html",8,True)[/tt]
Then writing to the file with a series of [tt]WriteStream.WriteLine("<P>Some text here"[/tt] statements.
By putting into the HTML file a hidden tag something like [tt]<!--BEGIN-->[/tt] and then referencing it as the place to start, it should be able to write from the top down, but I have no idea how to do it. Can anyone help?
Don
don@ctagroup.org
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)