Solved

How to protect a paradox table in Delphi?

Posted on 2004-05-02
3
443 Views
Last Modified: 2010-04-05
How do I add, change and delete the password of 'password-protected-paradox-table' in a Delphi 4 program?

Thanks in advance
jupe
0
Comment
Question by:jupe
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
Comment Utility
 
  Try first some universal Paradox passwords...

      PARADOX 7.0 and 5.0: "jIGGAe" and/or "cupcdvum"
      PARADOX 4.x (DOS): "nx66ppx"
0
 

Author Comment

by:jupe
Comment Utility
thanks Ivanov G. My question is how to do it in a Delphi program. I don't want to crack a protected Paradox table. I need to protect a new table. Can you give me a code snippet?
0
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 500 total points
Comment Utility

   Setting Paradox password automatically :
   {
      The table component's ACTIVE property
      must be set to FALSE.
      Then, put this code on the form's create event:
   }
   Session.AddPassword('My secret password') ;
   TableName.Active := True;

   Setting a Master Password to a Paradox Table :
   http://www.delphicorner.f9.co.uk/articles/db13.htm

   
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now