Solved

How to protect a paradox table in Delphi?

Posted on 2004-05-02
3
454 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
ID: 10971207
 
  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
ID: 10971274
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
ID: 10971281

   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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

790 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