Recent

Author Topic: What is a .DB file (SOLVED)  (Read 8510 times)

TRon

  • Hero Member
  • *****
  • Posts: 3623
Re: What is a .DB file
« Reply #15 on: October 03, 2023, 03:29:13 pm »
...
But, read ing several Lazarus Tutorials, I've seen a image of the Data Access components that included Paradox. But, I have the latest version of Lazarus and that component isn't installed in the Data Access tab. So, found the component for Paradox but can't install it, doing something wrong. If anyone knows any documentation on how to do this properly, please let me know.
Did you meant this ? In case it is then it is included in OPM. OPen OPM, click, click, some other click, wait for Lazarus to rebuild, done. Pictures and instructions are in posted wiki link (*).

edit: (*) this section of the link to OPM in particular.
« Last Edit: October 04, 2023, 12:03:29 pm by TRon »
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

wp

  • Hero Member
  • *****
  • Posts: 12459
Re: What is a .DB file
« Reply #16 on: October 03, 2023, 04:13:15 pm »
As far as I know there are two packages for accessing Paradox files:
  • lazParadox: Comes with Lazarus (in folder "components/paradox"). To install, go to "Package" > "Install/Uninstall packages", select "lazparadox" in the right list, click "Install selection", then "Save and rebuild IDE". After some time the IDE should restart and you have the component on the "Data Access" palette. BUT be warned: This package depends in a very intimate way on an external dll - absolutely read the README in the package folder. If this dll is not available your IDE will not start any more! I do not recommend to install this package unless your are experienced enough to handle the situation.
  • TParadoxDataset: install is as TRon described. It is working without external dependencies, and in fact it is used in the paradox viewer that I posted above. A BUT here as well: This component is read-only and has some limitations (IIRC no index support). It is good for reading old Paradox file to convert them to newer database formats, but you cannot edit the Paradox files.

1HuntnMan

  • Sr. Member
  • ****
  • Posts: 276
  • From Delphi 7 to Lazarus
    • NewFound Photo Art
Re: What is a .DB file
« Reply #17 on: October 29, 2023, 09:02:53 pm »
I'll forget the lasParadox & the TParadoxDataset components install. Not worth the risk of messing up the IDE. Thanks.
My motivation was to import some projects I wrote in Delphi 7 many years ago and attempt to import one but it's not worth it. Just printing out old code and using as a guide to do things currently in Lazarus. Thanks

1HuntnMan

  • Sr. Member
  • ****
  • Posts: 276
  • From Delphi 7 to Lazarus
    • NewFound Photo Art
Re: What is a .DB file
« Reply #18 on: November 01, 2023, 10:09:42 pm »
That's all folks... I downloaded the PdxEditor mentioned and using that app to open up all these Delphi 7 Paradox tables and printing out the structures so I can create the corresponding Dbf tables.

 

TinyPortal © 2005-2018