ASP 2 VBS, include file problme
Use the .wsf file format instead of .vbs...
<job>
<script language="VBScript" src="commonstuff.vbs"/>
<script language="vbscript" src="morecommonstuff.vbs"/>
<script language="vbscript">
...
...mainline vbscript code here
...
</script>
<job>
=======================================
Using Windows Script Files
http://msdn.microsoft.com/scripting/windowshost/doc/wsadvantagesofws.htm
=======================================
The EXE links below are downloads of the complete documentation sets in HTMLHelp format - highly
recommended for offline use. The Tutorial and "...User's Guide" content is also included in the
downloaded documentation...
WSH 2.0 Tutorial
http://msdn.microsoft.com/scripting/windowshost/doc/wsTutorialTOC.htm
WSH Documentation
http://msdn.microsoft.com/scripting/windowshost/docs/reference/defaul...
http://msdn.microsoft.com/scripting/windowshost/wshdoc.exe
VBScript User's Guide
http://msdn.microsoft.com/scripting/vbscript/doc/vbstutor.htm
VBScript Documentation
http://msdn.microsoft.com/scripting/vbscript/techinfo/vbsdocs.htm
http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe
FileSystemObject User's Guide
http://msdn.microsoft.com/scripting/vbscript/doc/jsFSOTutor.htm
VBScript Run-Time Library Reference [FileSystemObject/Dictionary]
http://msdn.microsoft.com/scripting/vbscript/doc/VBSFSOTOC.htm
JScript User's Guide
http://msdn.microsoft.com/scripting/jscript/doc/jsconJScriptUsersGuid...
JScript Documentation
http://msdn.microsoft.com/scripting/jscript/techinfo/jsdocs.htm
http://msdn.microsoft.com/scripting/jscript/download/jsdoc.exe
WSC Tutorial
http://msdn.microsoft.com/scripting/scriptlets/doc/lettitle.htm
WSC Documentation
http://msdn.microsoft.com/scripting/scriptlets/serverdocs.htm
http://msdn.microsoft.com/scripting/scriptlets/wscdoc.exe
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not email questions - post them to the newsgroup instead.
--
Quote:
> Hello
> i'm in the process to convert some ASP page into VBS
> so i change all the server.creatobject into createobject, etc...
> BUT in the ASP files, i have a #include with some useful function
> is it possible to include a functon library in VBS file?
> if not, what is the usual workaround ?
> i don't want to cut and paste the include file in each of the VBS file.
> btw, is there a good developpement environnement for VBS?
> i usually code an ASP page and the i convert it into VBS, am i wrong ?
> regards,
> --
> Julien Balas