Ok, I'm new to VBScript, so don't laugh.
How do I take the VBScript source I made in MSE and create a vbscript file?
Do I just copy/paste it and change the extension like I would an HTML file?
Printable View
Ok, I'm new to VBScript, so don't laugh.
How do I take the VBScript source I made in MSE and create a vbscript file?
Do I just copy/paste it and change the extension like I would an HTML file?
Well, the way I do it is with Interdev (part of the Microsoft Visual Studo). The most common usage for VBScript is in ASP files (Active Server Pages)... so any program that compiles to asp files should work. As to pasting it into a program like notepad and trying to save it with a .asp extension... I really don't know, havn't tried but I doubt it will work. Hope this helps, and good luck with VBScript :)
Actually, I know how to USE it and all that, it's just that I'm creating a page based around MsAgents, and I need to put all the loading code into a vbscript file to save time and space and make it more convenient to use.
Ie, all I have to do is have
<script language="VBScript" src="header.vbs"></script>
instead of
<script language="VBScript">
A WHOLE LOTTA CRAP HERE
</script>
on every page. Catch my drift?
Ah, ok, I see... that I don't know, sorry. I've just always used something else besides VBScript for that kinda' thing.
'sokay
Does ANYONE know?
I'd REALLY like to know.