470,590 Members | 2,460 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,590 developers. It's quick & easy.

FileListbox DirListBox HELP

how do i link my dirlistbox to the filelistbox viceversa...

I would like to use the path of the file selected in the filelistbox as a variable that i would use as a location for the DB that i will be using in my SELECT statement

this is what i would like to know:

Loc_variable = (the path of the file.db selected on the file listbox)

MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=loc_variable;"

instead of:

MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Thesis\testing\gary\test1.mdb;"

this is because the program that i am creating is something where i choose the .mdb file and it will be the chosen one will be the one i will use.

Nov 29 '06 #1
0 1806

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by martijn | last post: by
1 post views Thread by Vernon Gainous | last post: by
6 posts views Thread by Just Me | last post: by
1 post views Thread by Gordon | last post: by
10 posts views Thread by kokirichild | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.