PDA

Click to See Complete Forum and Search --> : VBScript Newbie Question (VERY EASY)


Zaphod64831
Aug 9th, 2000, 12:00 PM
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?

Mage33
Aug 9th, 2000, 07:06 PM
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 :)

Zaphod64831
Aug 9th, 2000, 08:49 PM
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?

Mage33
Aug 9th, 2000, 08:58 PM
Ah, ok, I see... that I don't know, sorry. I've just always used something else besides VBScript for that kinda' thing.

Zaphod64831
Aug 9th, 2000, 09:00 PM
'sokay

Zaphod64831
Aug 10th, 2000, 12:52 AM
Does ANYONE know?

I'd REALLY like to know.