Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / November 2006

Tip: Looking for answers? Try searching our database.

Change Database password?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe - 09 Nov 2006 19:07 GMT
Hello all,
   I am trying to find a way to change an access database password at run
time in VB2005.
I open the connection to the database as shown below:

objConnection = New OleDbConnection( _

"Provider=Microsoft.Jet.OLEDB.4.0;" & _

"Data Source=" & AppPath & "MyDatabase.mdb" & ";" & _

"Jet OLEDB:Database Password=" & DBPassword)

and it works well. I have created a button on the form to enable the user to
change the database password but I am having a problem figuring out how to
actually change the password at run time.

Can anyone give me a few pointers please?
Joe - 13 Nov 2006 15:53 GMT
I know this isn't much help - but I was wondering what type of application
are you creating where you let the users change passwords on something that
the DBA normally does?

> Hello all,
>    I am trying to find a way to change an access database password at run
[quoted text clipped - 14 lines]
>
> Can anyone give me a few pointers please?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.