<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=DB_Connection_Strings</id>
	<title>DB Connection Strings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=DB_Connection_Strings"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=DB_Connection_Strings&amp;action=history"/>
	<updated>2026-05-18T16:20:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=DB_Connection_Strings&amp;diff=3355&amp;oldid=prev</id>
		<title>PeterHarding: Created page with &#039;* http://www.codeproject.com/KB/database/connectionstrings.aspx#OLE%20DB%20Visual%20FoxPro  =Examples=  ==Visual FoxPro==  If you are using a database container, the connection s...&#039;</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=DB_Connection_Strings&amp;diff=3355&amp;oldid=prev"/>
		<updated>2011-01-30T08:00:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;* http://www.codeproject.com/KB/database/connectionstrings.aspx#OLE%20DB%20Visual%20FoxPro  =Examples=  ==Visual FoxPro==  If you are using a database container, the connection s...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* http://www.codeproject.com/KB/database/connectionstrings.aspx#OLE%20DB%20Visual%20FoxPro&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
==Visual FoxPro==&lt;br /&gt;
&lt;br /&gt;
If you are using a database container, the connection string is the following:&lt;br /&gt;
&lt;br /&gt;
 strConnection = _T(&amp;quot;Driver={Microsoft Visual Foxpro Driver};UID=;&amp;quot;&lt;br /&gt;
   &amp;quot;SourceType=DBC;SourceDB=C:\\DatabasePath\\MyDatabase.dbc;Exclusive=No&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
If you are working without a database container, you must change the SourceType parameter by DBF as in the following connection string:&lt;br /&gt;
&lt;br /&gt;
 strConnection = _T(&amp;quot;Driver={Microsoft Visual Foxpro Driver};UID=;&amp;quot;&lt;br /&gt;
    &amp;quot;SourceType=DBF;SourceDB=C:\\DatabasePath\\MyDatabase.dbc;Exclusive=No&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
===OLE DB Provider for Visual FoxPro===&lt;br /&gt;
&lt;br /&gt;
 strConnect = _T(&amp;quot;Provider=vfpoledb;&amp;quot;&lt;br /&gt;
     &amp;quot;Data Source=C:\\DatabasePath\\MyDatabase.dbc;&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
For more information, see: [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/dggrfoledbproviderforvisualfoxpro.asp Microsoft OLE DB Provider for Visual FoxPro].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Dot.NET]]&lt;br /&gt;
[[Category:Microsoft]]&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>