Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
I create an simple c# application using Microsoft access database.But the database can open anyone using MS access. how can i stop opening my mdb file. please help me!!!!!
Posted 2-Oct-12 18:08pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

See the Following Links to Make Your Access DataBase Password Protected :
 
http://databases.about.com/od/tutorials/ss/passwordprotect.htm[^]
http://office.microsoft.com/en-us/access-help/create-change-or-remove-passwords-mdb-HP005188275.aspx[^]
http://voices.yahoo.com/microsoft-access-tutorial-password-protect-2350424.html[^]
http://www.databasedev.co.uk/database_password.html[^]
 
Please Note that if your Database is Password Protected then you have to Pass these credentials in Connection String While Connecting to DataBase from application.
I hope it will help you. Smile | :)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

I don't know why you are asking this instead of searching in google. Password Protecting an Access 2010 Database[^] may solve your problem.
 
May be this[^] can add a plugin in my answer.
 
You should also know How to Set Database Password and Unset Database Password[^] in MS Access.
 

--Amit
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

Yes, this can be done very easily!
 
prior to 2003:
Make mde
see:
http://www.databasedev.co.uk/microsoft-access-mde.html
http://www.databasedev.co.uk/convert...ess-files.html
 
2007:
make accde
see:
http://www.databasedev.co.uk/convert...de_format.html
 
In all cases, make sure you keep your original file safe for futur changes!!!
--
Hope this helps you,
 
Regard
Sham
Smile | :)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Did you try Hiding the database window? In the Tools menu of the MS Access database, click on Startup. On the right side of the dialog box, uncheck the Display Database Window checkbox. That will prevent the database from being viewed. Most users don't know how to UnHide the window.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

how can i stop, creating .ldb file on same directory. I locked this method using lot of programmes..
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 7

any one know about "Could not lock file" Error message in Microsoft acssess
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100