Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot locate database from COM server
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00438230
Message ID:
00438231
Views:
12
Hi Michael,

Try one or all of the following:

1. Check that there's a trailing BackSlash in the text file's data path (if what you're doing requires one)

2. Open the database explicitly with the full path (OPEN DATABASE (addbs(lcDBCPath) + lcDBCName))

3. Make sure you're doing a SET PATH not a CD|SET DEFAULT

HTH

Cheers,

Andrew

>Hi all,
>
>Im having a problem opening a database from a com server loading within vfp.
>I have the database location stored in a text file so I can change location and am checking the file upon initialisation of the server.
>
>But, when I actually attempt to open the database, it seems to go to the root directory of where the database is actually stored. i.e. having the database stored on the F:\Data\ directory the server would look for the database in the F:\ drive.
>
>Im running NT 4 server, service pack 6a, and VFP 6 service pack 4. I was thinking it might be something to do with the NT permissions but i cant find anything wrong with the settings so far.
>
>TIA
>
>Michael Henstock
>AWS


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Reply
Map
View

Click here to load this message in the networking platform