Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about .vbs file

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
US
Can somebody tell me what .vbs files are and how I can launch it from an ASP page.
 
A .vbs file is a Visual Basic Scripting Edition file. The syntax within these files is very similar to ASP, with a few modifications.

How are you wanting to 'call' the VBS file? Are you wanting to run it on the server or the client? Generally, VBS files are thought of a 'virusy' when run on clients, and are considered too slow to work for the server.

Anyway, let us know a little more about your application, we'll see what we can do.

-iNSTA

PS, if you have Windows NT/2000/XP, you may enjoy this:

Create a new file on your desktop called ram.vbs. Inside of this file, place this code:

Code:
Dim a
a = Space(1024 * 1024 * 96)
MsgBox "Done!", vbInformation, "RAM Clear"

Whenever you're in need of a few megs of RAM, just double click that icon [thumbsup]
 
Sorry I wasnt't able to answer you back, had some difficulty connecting to tek-tips.com. Anyway, I'm trying to run the .vbs file on the server. How can I call this from my asp page. Should I create a function to call this script? If I do how can I do that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top