I found that I can use the Server.MapPath command, but I thought my control could do 
the translating, It does not matter that much, good to find a method that works.

<%
  FileName = "PageLinks.Txt"
  FileName = Server.MapPath (FileName) 
  Set ObjDelphi = Server.CreateObject("AdrockPageLinks.PageLinks")  
  ObjDelphi.FileName = FileName
  ObjDelphi.Name    = "Chris Crowe"
  ObjDelphi.WriteInfo

  Set ObjDelphi = Nothing

%>

Thanks..

Christopher Crowe (Software Developer)
Microsoft MVP, MCP

Byte Computer & Software LTD
P.O Box 13-155 
Christchurch
New Zealand
Phone/Fax (NZ) 03-3651-112


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Laurence Bevan
> Sent: Saturday, 27 March 1999 23:03
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Translating Virtual paths to physical paths
> 
> 
> Why not use FileSystemObject directly from ASP? What type of file is it?
> 
> Laurence Bevan
> 
> 
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 5yZޖbRǫ
躐ޖb.+-ui'^b'g+^i0ץ       

Reply via email to