string convertUrl(string physicalBasePath, string
physicalPathToConvert,
string httpServerName, bool useHttps)
Sting deaultURL = " http://www.fusionedv.com ";
{
if(physicalPathToConvert.IndexOf(physicalBasePath)==-1)
{
//throw new ApplicationException("physicalPathToConvert
liegt
nicht in einem virtuellen Verzeichniss!");
return null;
}
else
{
physicalPathToConvert =
physicalPathToConvert.Substring(physicalBasePath.Length);
physicalPathToConvert = physicalPathToConvert.Replace("\
\","/");
physicalPathToConvert = "http" + ((useHttps) ? "s" : "") +
"://" +
httpServerName +
((physicalPathToConvert.Substring(0,1)=="/") ? "" : "/" +
physicalPathToConvert);
return physicalPathToConvert;
}
Hallo Fusion,
hier geht's mehr um die Entwicklungsumgebung im allgemeinen.
Versuch's mal unter de.comp.os.ms-windows.programmer
Außerdem hat Microsoft die (öffentliche) Usenet-Unterstützung
vor einem Jahr eingestellt. Die Gruppen microsoft.public.*
existieren zwar noch auf vielen Servern, der traffic tendiert
aber gen 0.
--
Armin