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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

where is vbscript

Status
Not open for further replies.

GLBSP4

Programmer
Sep 8, 2011
4
i am using vb5 and windows xp home. where is vbscript and how do i make it so i can use it in html?

thanks in advance
 
There are two engines to process the VBScript language. CSCRIPT and WSCRIPT.

In order to use VBScript you would need to be using script blocks typically in either ASP or ASP.Net as the format of your web pages.

VB5 is Visual Basic version 5 and it has nothing to do with VBScript that is included in Windows XP.

You don't have to do anything to the system to utilize VBScript in web pages, you need to format the pages to use VBScript. I recommend you check out W3Schools for learning how to program for the web.

I hope that helps.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
To use vbscript alone, simply create a text file and save it as .vbs. Double click it.

hello.vbs
Code:
msgbox "Hello"

In an HTML file, use script blocks.

Code:
<script language="vbscript">
   'VBS code here.
</script>

-Geates

"I hope I can chill and see the change - stop the bleed inside and feel again. Cut the chain of lies you've been feeding my veins; I've got nothing to say to you!"
-Infected Mushroom

"I do not offer answers, only considerations."
- Geates's Disclaimer
 
how do i make it so i can use it in html?

If you use vbsript in HTML documents you pages will ONLY "work" in Internet Explorer and no other browsers support vbscript.



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Yes, MSHTA.exe is a 3rd script host, and until a version of IE blocks it IE is a script host for VBScript as well.

Even Office programs are VBScript hosts. There are also many 3rd party script hosts that accept VBScript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top