Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Ron Norman
  Where is Ron Norman?
 San Diego
 California - United States
 Ron Norman
 Tags
Subject: RE: ASP.NET/VB connect to VFP using VFPOLEdb
Thread ID: 210259 Message ID: 210343 # Views: 42 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: ODBC, ADO and OLEDB
Date: Monday, January 05, 2009 10:45:23 AM         
   


You need this one:
Dim m_connString As String = "Provider=VFPOLEDB;Data Source=c:\database\main.dbc"

This one uses the default mode 16, "Share Deny None".

Dim m_connString As String = "Provider=VFPOLEDB;Data Source=c:\database"

would also work, provided the tables are in that folder (if you are not using fullpath).

When you get such a message about the dbc you can say that it is in exclusive use somewhere.

Cetin Basoz



COMPLETE THREAD
ASP.NET/VB connect to VFP using VFPOLEdb Posted by Ron Norman @ 1/5/2009 1:07:57 AM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Cetin Basoz @ 1/5/2009 10:45:23 AM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Ron Norman @ 1/5/2009 5:08:20 PM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Cetin Basoz @ 1/5/2009 5:45:07 PM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Ron Norman @ 1/5/2009 8:55:23 PM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Cetin Basoz @ 1/5/2009 10:36:42 PM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Ron Norman @ 1/5/2009 11:22:26 PM
RE: ASP.NET/VB connect to VFP using VFPOLEdb Posted by Samir Ibrahim @ 1/7/2009 5:11:57 PM