Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Home( ) and path problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00634734
Message ID:
00634735
Vues:
24
This message has been marked as the solution to the initial question of the thread.
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

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform