Hi Rodrigo,
>I'm trying to use a com dll within an asp page.
>The table with data is in the directory where is the dll.
>The first time that I access the asp page, the home function return the correct path, but if I refresh the page return a path in the windows directory.
You shouldn't use HOME() in COM-Servers. Have a look at _VFP.ServerName. There you can strip out the real home directory with JUSTPATH() and make a CD to that directory in your COM-Server.
Regards,
Armin