connect to database

T

Tom

hi,

is there somebody who knows how i can connect to a database in visual
basic2008 ,or even better who knows where i can find a sample of this.
The database(msaccess2003) is not included into the project and i want to
find his location with a filedialog if the database has changed of
directory.
Probably i have to change the settings of the project . I did tried with a
datadirectory, but without any success.
I can connect to a db on a fixed path, but i will have to choose where i
store the database and change it if necessary.

regards, Tom
 
A

Armin Zingler

Tom said:
hi,

is there somebody who knows how i can connect to a database in visual
basic2008 ,or even better who knows where i can find a sample of this.
http://msdn.microsoft.com/en-us/library/wzabh8c4.aspx

The database(msaccess2003) is not included into the project and i want to
find his location with a filedialog if the database has changed of
directory.
Probably i have to change the settings of the project . I did tried with a
datadirectory, but without any success.
I can connect to a db on a fixed path, but i will have to choose where i
store the database and change it if necessary.

http://msdn.microsoft.com/en-us/library/61097ykx.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top