What am I doing wrong ?
What ever I chang it is not working .Code:This is working dbSource = "Data Source = C:\test\AddressBook.mdb;Jet OLEDB:Database Password=123;" This is not dbSource = "Data Source= (My.Application.Info.DirectoryPath & "\AddressBook.mdb;Jet OLEDB:Database Password=123;")
The file is Adressbook.mdb
Password = 123
and the file is here
My.Application.Info.DirectoryPath




Reply With Quote