Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,209,124 members, 8,005,015 topics. Date: Sunday, 17 November 2024 at 12:42 PM

Problem Connecting Visual Basic 08 With Access - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Problem Connecting Visual Basic 08 With Access (756 Views)

Can I Call Myself A Good Programmer If I Only Know Visual Basic / How To Deploy Application With Access Database In Vb.net 2008 / Connecting To A Database Using Visual Basic (2) (3) (4)

(1) (Reply)

Problem Connecting Visual Basic 08 With Access by Lakulos(m): 10:48am On Jan 01, 2013
Please can anyone help me on how to connect visual basic 2008 with a password protected access 2007 or 2010.Each time i run my program its always telling me "not a vaild password".I have tried all i can,infact search online for solutions but am still getting the same error.Thanks
Re: Problem Connecting Visual Basic 08 With Access by Tamorion: 2:24pm On Jan 07, 2013
I don't think you have any problems with ur ConnectionString. The bug is the file u are connecting to (the protected Access file). The logic is: when u want to open the file outside ur application, u would normally supply a password. Now u did nt make any provition for that on ur application. I'm nt Advanced in VB.net, but my solution is: disable the password from the Access file. There may b other route to this witout disabling the password but i think u would be fine doing so. I am goin 2 try my hand on it and wil keep u posted if i hav any breakthrough witout disabling the password. Cheers!
Re: Problem Connecting Visual Basic 08 With Access by Lakulos(m): 11:50am On Jan 09, 2013
Tamorion: I don't think you have any problems with ur ConnectionString. The bug is the file u are connecting to (the protected Access file). The logic is: when u want to open the file outside ur application, u would normally supply a password. Now u did nt make any provition for that on ur application. I'm nt Advanced in VB.net, but my solution is: disable the password from the Access file. There may b other route to this witout disabling the password but i think u would be fine doing so. I am goin 2 try my hand on it and wil keep u posted if i hav any breakthrough witout disabling the password. Cheers!

thanks i'll appreciate it if u can help

(1) (Reply)

App Development / Web Programmers I Need Your Help On A Project! / The Craziest Thing Google Announced On Wednesday (video)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.