Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-17-2004, 12:57 PM
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
  #2  
Old 03-18-2004, 12:36 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply


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 06:05 PM.


Copyright © 1999-2023 Kinook Software, Inc.