Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Oct 1, 1996

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date