By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,623 Members | 1,301 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,623 IT Pros & Developers. It's quick & easy.

FileListbox DirListBox HELP

P: 42
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.

THANKS...
Nov 29 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

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