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.

See also  5 Tips for Working With an Onsite Interpreter

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist