Hi MrPolite
I'm with you on this one (sorry Cor). I posted a while ago with the same
question, but did not get a response at all, so I have been watching this
thread with interest.
In my registry I have
HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\Virtual Roots
and not
HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\Virtual Root Name
Perhaps a typo in Mike's post, but perhaps not, in which case, does it
change from one o/s to another?
Also, the entry in my registry reads
d:\inetpub\wwwroot,,201
Is this standard syntax, i.e. do I remove the trailing ,,201 (and what does
it signify), or not?
Furthermore, do we suppose that this is the way VS.NET and IIS do it? Like
you, I had imagined there would be a nifty .NET class that would just give
it to me.
Charles
MrPolite said:
well I had another post where I was trying to figure out how to open a
VS.NET solution file, get the project file's path and then open the project
file with a streamReader. It turns out that when the project is an asp.net
project, its path always starts with
http://localhost/ and that streamReader
cannot open a path like that. So I'm trying to figure out a way to convert
that path from localhost/whatever to the physical directory's path. I guess
thats the only way I can open the project file...
I've
added
it,