Event tracking in VO SDK projects & external designer files

86 views
Skip to first unread message

Jafar

unread,
Mar 26, 2021, 7:59:35 AMMar 26
to
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.

D.J.W. van Kooten

unread,
Apr 7, 2021, 6:15:45 AMApr 7
to
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

Wolfgang Riedmann

unread,
Apr 9, 2021, 1:46:23 AMApr 9
to
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

--

Reply all
Reply to author
Forward
0 new messages