ADODC ConnectionString App.Path VB6
-
i am working in VB6, a window base project use a adodc control i give Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\sms.mdb;Persist Security Info=False" on form load and in properties window i leave blank the connection string but its not working Error: [microsoft][odbc driver manager]Data source name not found and no default drive specified and if i give any connectionstring in the properties of adodc control then it is hardcode i have to avoid that Please help me battan20@gmail.com
-
i am working in VB6, a window base project use a adodc control i give Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\sms.mdb;Persist Security Info=False" on form load and in properties window i leave blank the connection string but its not working Error: [microsoft][odbc driver manager]Data source name not found and no default drive specified and if i give any connectionstring in the properties of adodc control then it is hardcode i have to avoid that Please help me battan20@gmail.com
i am using MS access file in that project
-
i am using MS access file in that project
-
i am working in VB6, a window base project use a adodc control i give Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\sms.mdb;Persist Security Info=False" on form load and in properties window i leave blank the connection string but its not working Error: [microsoft][odbc driver manager]Data source name not found and no default drive specified and if i give any connectionstring in the properties of adodc control then it is hardcode i have to avoid that Please help me battan20@gmail.com
Amit Battan Ror wrote:
i am working in VB6
Sorry to hear, since VB6 has been dead for quite some time now...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon