fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

DBF Editor 15 Feb 2021 17:52 #17500

  • Fabrice's Avatar

  • Fabrice

  • Topic Author


  • Posts: 97
  • Hi,
    while working on Visual FoxPro exporter, I had a need : A basic DBF Viewer/Editor
    So, I've decided to write my own ;)

    It is written with X#, using the DataSource that X# is providing to link the Data to a .NET DataGridView control.
    You can view/change Memo text fields, using ICSharpCode.TextEditorControl; and you can view Binary Memo fields using the .NET ByteViewer control.

    You can also view a DBF Structure, create a DBF, export the DBF Structure to a Record Class...

    It is far from perfect, there are lots of areas for enhancement/corrections/... but ...It's a start :)

    You can get the source and binaries at FabToys-FabDBFEd GitHub

    Fab.

    Please Log in or Create an account to join the conversation.

    DBF Editor 15 Feb 2021 17:55 #17501

  • wriedmann's Avatar

  • wriedmann


  • Posts: 2520
  • Hi Fabrice,
    that is great, thank you very much!
    Maybe you can include it in the X# distribution package.
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    DBF Editor 15 Feb 2021 21:48 #17504

  • FFF's Avatar

  • FFF


  • Posts: 1082
  • Hi Fabrice,
    sure, the version on github is up2date? Got me the zip, opened the sln, as i didn't find binaries.
    Had to change target framework from 4.7 to 4.6.1 (being on Win 8.1 ;) ) then
    - at compile three "=" where ":=" expected, corrected that,
    - two "Try" without Catch or finally
    - Warning"ICSharpCode.TextEditorEx"-Assembly missing ? Got me the zip from Github, opened that sln, in turn 4 errors ;( but then at a loss (i'm a zero VS man, sorry...)
    - Error The type or namespace name 'ICSharpCode' could not be found (as to expect, from the above warning.)
    Regards
    Karl (X# 2.7; Xide 1.27; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    DBF Editor 15 Feb 2021 22:56 #17506

  • Fabrice's Avatar

  • Fabrice

  • Topic Author


  • Posts: 97
  • Karl,
    sorry, I forgot :
    To get the Binaries, go to the repository page : On the Right you will have a "Releases" block, click on the title.
    On the new page, click on the title of Version you want to download : You can then get a Zip with the Binaries.

    HTH,
    Fab.

    Please Log in or Create an account to join the conversation.

    DBF Editor 15 Feb 2021 23:00 #17507

  • Fabrice's Avatar

  • Fabrice

  • Topic Author


  • Posts: 97
  • Hi Karl,
    the source and binary are synced :
    Yes, there are some warnings, mainly in Browse1 and Browse2 forms that were earlier version of the Browse, that use DataTable, so the editing was done Offline and I had to save changes at close time : These are no more used, but I keep them as references.
    For ICSharpCode, I'm using the Nuget Package : I try to always use Nuget for externals : So, after opening the Solution, you will have to do restore the Nuget Packages in order to get the Dlls...Then you can rebuild.

    BTW, I have pushed a new source set with all Warnings corrected ;)

    HTH,
    Fab.

    Please Log in or Create an account to join the conversation.

    Last edit: by Fabrice. Reason: typos

    DBF Editor 16 Feb 2021 09:08 #17508

  • FFF's Avatar

  • FFF


  • Posts: 1082
  • Good Morning Fabrice!
    Thx, could have noticed the release block. (OTOH, in the right pane there are four identically formatted lines, two work as links, two do not ;),so i may be disculped...)
    Got it, tried, immediately found good use to compare a corrupted old dbf with the sound one!
    Tried also the "model" export - great!

    @Chris: could there be a glitch with codepages, using Xide,it seems - e.g., my field "Straße" gets read as PROPERTY STRAßE AS STRING AUTO - opening the prg with Notepadd++ or VS17 both show "ß" correctly.
    Regards
    Karl (X# 2.7; Xide 1.27; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1