Javascript has the ability to reference HTML code using the external source
file prefix .JS. I'd like to create a set of VBScript functions and
subroutines and bundle them in an external file and include the external
source file. Does VBScript have the capability to perform the task. If not,
can I create VBScript routines in Javascript include .JS file.

Any help would be greatly appreciated. Thanks and regards, Ian Renfrew

Re: Client-Side Include Code in WEB Page by Viatcheslav

Viatcheslav
Sun Feb 29 03:08:20 CST 2004

Include

<SCRIPT language="VBScript" src="C:\MySource.vbs"></SCRIPT>

in your page.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Ian Renfrew" <ian_renfrew@sympatico.ca> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:owc0c.24349$253.1653033@news20.bellglobal.com...
> Javascript has the ability to reference HTML code using the external
source
> file prefix .JS. I'd like to create a set of VBScript functions and
> subroutines and bundle them in an external file and include the external
> source file. Does VBScript have the capability to perform the task. If
not,
> can I create VBScript routines in Javascript include .JS file.
>
> Any help would be greatly appreciated. Thanks and regards, Ian Renfrew
>
>



Re: Client-Side Include Code in WEB Page by Roland

Roland
Sun Feb 29 04:13:55 CST 2004

"Viatcheslav V. Vassiliev" wrote:
: Include
:
: <SCRIPT language="VBScript" src="C:\MySource.vbs"></SCRIPT>
:
: in your page.

If it's in a web page, you might want to set your source as virtual.
src="MySource.vbs" or src="/MySource.vbs" or "/vbs/MySource.vbs", etc.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: Client-Side Include Code in WEB Page by Ian

Ian
Sun Feb 29 08:53:02 CST 2004

Thanks for the suggestion, it worked great. I needed to remove the <script
language="VBScript"> reference in my include code to get it to work
correctly.

Thanks, Ian Renfrew


"Viatcheslav V. Vassiliev" <msnewsgroup@www-sharp.com> wrote in message
news:unLKUOq$DHA.1036@TK2MSFTNGP10.phx.gbl...
> Include
>
> <SCRIPT language="VBScript" src="C:\MySource.vbs"></SCRIPT>
>
> in your page.
>
> //------------------------------------------
> Regards,
> Vassiliev V. V.
> http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
> ADO.Net
> http://www.oledbdirect.com - The fastest way to access MS SQL Server,
> MS Jet (Access) and Interbase (through OLEDB)
>
> "Ian Renfrew" <ian_renfrew@sympatico.ca> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
> ÓÌÅÄÕÀÝÅÅ: news:owc0c.24349$253.1653033@news20.bellglobal.com...
> > Javascript has the ability to reference HTML code using the external
> source
> > file prefix .JS. I'd like to create a set of VBScript functions and
> > subroutines and bundle them in an external file and include the external
> > source file. Does VBScript have the capability to perform the task. If
> not,
> > can I create VBScript routines in Javascript include .JS file.
> >
> > Any help would be greatly appreciated. Thanks and regards, Ian Renfrew
> >
> >
>
>