Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

connect to database

0 views
Skip to first unread message

Tom

unread,
Dec 23, 2009, 6:13:53 PM12/23/09
to
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


Armin Zingler

unread,
Dec 23, 2009, 7:01:34 PM12/23/09
to
Tom schrieb:

> 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


--
Armin

0 new messages