Using Basic File Input/Output

Using Basic File Input/Output

Do you know of any plans to include basic I/O in VBSCript ? I could make my site a lot more efficient if I could send a text file to the client and read it using VBScript.

There are no plans (for security reasons) to allow VBScript to do any file I/O. This is going to be an ongoing problem of trying to convert working VB code into VBScript — certain concepts just don’t exist.

However, a solution would be to write a program that generates an HTML page with all of the appropriate VBScript code in it. I’m planning to do something like this for a project I’m working on. Alternatively, if you tie into a database, you can have scripts retrieve data from the DB and format it for HTML output. These take much more elaborate programming, however.


Share the Post: