For Programmers: Free Programming Magazines  


Home > Archive > ASP > July 2004 > including one vbs file into other









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author including one vbs file into other
dave

2004-07-14, 3:55 am

how can we include one vbs file into other vbs file?

Thanx
dave
Jeff Cochran

2004-07-14, 3:55 pm

On Tue, 13 Jul 2004 23:56:24 -0700, "dave"
<anonymous@discussions.microsoft.com> wrote:

>how can we include one vbs file into other vbs file?


By using an include. :)

<!--#include virtual="/folder/otherfile.vbs"-->
<!--#include file="c:\inetpub\wwwroot\folder\otherfile.vbs"-->

Jeff
Ray at

2004-07-14, 3:55 pm

By vbs file, you mean a script running on your machine with a .vbs
extension? If so, see microsoft.public.scripting.vbscript. If you're
talking about ASP, then there are a number of ways:

http://www.15seconds.com/faq/Scripting/769.htm

Note that the Server.Execute method exists in IIS5 (Windows 2000) and
higher.

Ray at work


"dave" <anonymous@discussions.microsoft.com> wrote in message
news:2c75401c4696f$ad944c00$a401280a@phx
.gbl...
> how can we include one vbs file into other vbs file?
>
> Thanx
> dave



dave

2004-07-14, 8:55 pm

yes..
I'm executing file with extension .vbs and wanna
include .vbs file in that file...
how to achieve this?
thanx
dav
>-----Original Message-----
>By vbs file, you mean a script running on your machine

with a .vbs
>extension? If so, see

microsoft.public.scripting.vbscript. If you're
>talking about ASP, then there are a number of ways:
>
>http://www.15seconds.com/faq/Scripting/769.htm
>
>Note that the Server.Execute method exists in IIS5

(Windows 2000) and
>higher.
>
>Ray at work
>
>
>"dave" <anonymous@discussions.microsoft.com> wrote in

message
> news:2c75401c4696f$ad944c00$a401280a@phx
.gbl...
>
>
>.
>

dave

2004-07-14, 8:55 pm

no..I tried..
It doesnt work for vbs file. have u ever tried?
thanx
dave
>-----Original Message-----
>On Tue, 13 Jul 2004 23:56:24 -0700, "dave"
><anonymous@discussions.microsoft.com> wrote:
>
>
>By using an include. :)
>
><!--#include virtual="/folder/otherfile.vbs"-->
><!--#include

file="c:\inetpub\wwwroot\folder\otherfile.vbs"-->
>
>Jeff
>.
>

Jeff Cochran

2004-07-15, 3:56 am

On Wed, 14 Jul 2004 17:35:38 -0700, "dave"
<anonymous@discussions.microsoft.com> wrote:

>no..I tried..
>It doesnt work for vbs file. have u ever tried?


Um, because it's not VBS maybe? I wasn't clear that you didn't have
an ASP file, since you posted in an ASP group. If it's straight VBS
and not ASP, ask in a VBScript group.

Jeff
[color=darkred]
>dave
>file="c:\inetpub\wwwroot\folder\otherfile.vbs"-->

Ray at

2004-07-15, 3:56 am

You'll find an answer to this in
news://msnews.microsoft.com/microso...ipting.vbscript

Ray at home

"dave" <anonymous@discussions.microsoft.com> wrote in message
news:2c75201c469ff$0adb55e0$a601280a@phx
.gbl...[color=darkred]
> yes..
> I'm executing file with extension .vbs and wanna
> include .vbs file in that file...
> how to achieve this?
> thanx
> dav
> with a .vbs
> microsoft.public.scripting.vbscript. If you're
> (Windows 2000) and
> message


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com