Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Thread Tools Rate Thread Display Modes
Old 03-17-2004, 11:57 AM
thomasst thomasst is online now
Registered User
Join Date: 03-09-2004
Posts: 6
Creating Virtual Directories with VBPro

Hi all,
I am using the VBPro expression:
vbld_CreateVirtualDir(strPath, strName)
to create virtual directories on a build server. The problem that I am running into is that this command ALWAYS creates this Virtual Directory under the default website.
I would like to be able to create virtual directories in websites other than the default website. Does anyone know if this is possible with the VBPro tool? I have already created the alternate websites through IIS and now just need to be able to specify which website I would like the virtual directory to be created in.

Thanks in advance for the help,

Thomas Stachiw
Reply With Quote
Old 03-17-2004, 11:36 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,749
The vbld_CreateVirtualDir system script function is hard-coded to use the default web site (the "1" in the string "IIS://LocalHost/w3svc/1/Root"). You could copy and paste this function, rename it, and specify the name of the desired web site instead of 1 (optionally passing it in as a parameter as well).
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 07:11 AM.

Copyright 1999-2019 Kinook Software, Inc.