Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27336

define path of database file

$
0
0
Hi,

I'm making a software that has a mdb file that is suposed to be copied at the software installation procedure.
I only know that this file is installed in the "data" folder in the software folder, but i don't know where the user specifies the installation folder...
So, i want to know how can i use the path where the mdb file was installed.

Now i have the following code to locate the file: con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Users\Marcos\Desktop\AddressBook.mdb", but in this test case i know the exact location...

Thanks.

Viewing all articles
Browse latest Browse all 27336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>