Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing another VBScript within a script???

Status
Not open for further replies.

Opium

MIS
Oct 18, 2002
5
US
Hi, I was wondering if someone can help me out with a problem I am having.

I have a complicated login script which consists of multiple departments each with their own login script. I wanted each deparment to run their own vb login script but still being able to use the objects and functions I defined in the main vb script (ex. FileSystemObjects and NetworkObjects) rather than having a 50 page script with each department having their own sub procedure.

I know there is the oShell.Run but that runs in its own process. Is there any way to just call other vbscripts within the same process?

Please help!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top