devxlogo

Using Basic File Input/Output

Question:
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.

Answer:
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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

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.