Hi Michel,
>It's not a virtual directory. It's a directory containing some images. As our framework will serve for various servers, we do not know exactly the FAT equivalent of the URL for the images directory. However, for now, I have created a global variable which holds its value. But, as I already had a global variable for the URL, I thought I could calculate it from it instead of holding another reference for the FAT equivalent.
I guess I'm still not sure what you need. Any URL points to a virtual directory if you are using IIS. For example, given you have:
http://www.levelextreme.com/images/whatever.gifand "
www.levelextreme.com" is the first web in your IIS configuration, you can use
oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
? AddBS(oRoot.Path)+"\images\whatever.gif"
to get the full path to the image providing the images is not another virtual directory.
Christof
--
Christof