• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 469
  • Last Modified:

How to protect a paradox table in Delphi?

How do I add, change and delete the password of 'password-protected-paradox-table' in a Delphi 4 program?

Thanks in advance
jupe
0
jupe
Asked:
jupe
  • 2
1 Solution
 
Ivanov_GCommented:
 
  Try first some universal Paradox passwords...

      PARADOX 7.0 and 5.0: "jIGGAe" and/or "cupcdvum"
      PARADOX 4.x (DOS): "nx66ppx"
0
 
jupeAuthor Commented:
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
 
Ivanov_GCommented:

   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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now