Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data base path
Message
 
To
04/02/2008 10:02:07
Ian Hammond
Greenfield Software Ltd
St. Neots, United Kingdom
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01289054
Message ID:
01291014
Views:
10
Ian,

>Could anyone tell me if there is a method that allows me to obtain the file path of the currently opened FoxPro database from MM?

If you have specified the full path to the database in the connection string, you can make the following call to get the database connection string and parse out the path (obviously you need to replace "Northwind" with the name of your database):
mmAppBase.DatabaseMgr.GetConnectionString("Northwind");
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform