connect to database

  • Thread starter Thread starter Tom
  • Start date Start date
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
 
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
 
Back
Top