• Event tracking in VO SDK projects & external designer files

    From Jafar@21:1/5 to All on Fri Mar 26 04:59:34 2021
    I am trying to get as much VO code into git using a simple VO project using the VO SDK.

    For now its a simple import/export based project which we have set up to only export files (since exporting all apps takes too long) with a checkout status to a git repo for code reviews & for excluding files we don't want when creating new versions of
    our app.

    What I was wondering however, is if its possible to track changes to VO project like:
    - when a new app/library/module is created?
    - when an app/library/module is modified?
    - when an app/library/module is deleted?

    What I also want to know is whether its possible to load Window modules in the Window designer from VO code (like how its done in C# projects Visual Studio using .Designer files)


    Thanks in advance.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D.J.W. van Kooten@21:1/5 to All on Wed Apr 7 12:15:44 2021
    Replying on message of Fri, 26 Mar 2021 04:59:34 -0700 (PDT) from
    Jafar:


    Hello Jafar

    I am trying to get as much VO code into git using a simple VO project using the VO SDK.

    For now its a simple import/export based project which we have set up to only export files (since exporting all apps takes too long) with a checkout status to a git repo for code reviews & for excluding files we don't want when creating new versions of
    our app.

    What I was wondering however, is if its possible to track changes to VO project like:
    - when a new app/library/module is created?
    - when an app/library/module is modified?
    - when an app/library/module is deleted?

    The first 2 should be possible, Paul Piko's VOPP uses that e.g. in his
    Updated Entity List. Not sure if a delete can be tracked though. And
    neither how he was doing that, although I have source of projects from
    past conferences where repository data could be accesses. Not sure
    what it was again, maybe if you repeat this question in the X# forum
    which is read by more people more often, someone remembers directly.


    What I also want to know is whether its possible to load Window modules in the Window designer from VO code (like how its done in C# projects Visual Studio using .Designer files)


    I think that is possible as well, as the latest VOXPorter can create
    Winforms from VO forms. I think all X# programs are open source and downloadable in Github so you should be able to see how this is done.

    While writing this I realize that you should see in the VOXporter
    source there how to access entity data as well, as VOXporter can
    convert a VO AEF to X# .prg files.

    Dick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wolfgang Riedmann@21:1/5 to All on Fri Apr 9 07:46:18 2021
    Hi Dick,

    What I was wondering however, is if its possible to track changes
    to VO project like: - when a new app/library/module is created?
    - when an app/library/module is modified?
    - when an app/library/module is deleted?

    The first 2 should be possible, Paul Piko's VOPP uses that e.g. in his Updated Entity List. Not sure if a delete can be tracked though. And
    neither how he was doing that, although I have source of projects from
    past conferences where repository data could be accesses. Not sure
    what it was again, maybe if you repeat this question in the X# forum
    which is read by more people more often, someone remembers directly.

    Paul Piko's utilities are reading the repository and evaluating the
    last change or created date for this - they don't intercept anything.

    AFAIK there are several people that have worked with the repository
    API. I know of work by Fabrice Foray (the XPorter is using his tools,
    but accesses only AEF and MEF), Meinhard Schnoor (has presented a
    Repository Explorer written in VO on a conference in the past), Joachim
    Bieler (has some repository tools on bbrowser.com), and Ivo Wessel (has
    written a repository tool that shows dependencies between entities,
    available also with sources).
    AFAIK they all are based on the official ADAM API that is part of the
    VO SDK and delivered with any VO version after 2.7.

    Wolfgang

    --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)