Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Home( ) and path problem
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00634734
Message ID:
00634735
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform