Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Creating Virtual Directories with VBPro (https://www.kinook.com/Forum/showthread.php?t=361)

thomasst 03-17-2004 11:57 AM

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

kinook 03-17-2004 11:36 PM

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).


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


Copyright © 1999-2023 Kinook Software, Inc.