Click to See Complete Forum and Search --> : Using "include" statement in VB script


sunsilk10
February 9th, 2006, 09:12 AM
From my main VB script, I would like to call a function defined in a second VB script.
I was thinking of including something like :
include "secondScript.vbs" in my main program.
But it does not work.


How can this be achieved with VBscript ?



Thanks a lot

PeejAvery
February 9th, 2006, 10:32 AM
Take a look at this (http://www.source-code.biz/snippets/vbscript/5.htm).