Execute C# code in PG2 graphics ?
In VBPG graphics it was possible to include VB code to do some things like special animations, connecting to external systems like databases and so on.
In PG2 this is not possible anymore. PG2 is a pure graphic system with limited features. The limits are high, and many things can be done - but not all.
Now i am searching for a way to migrate some weird VBPG stuff to PG2.
I see three options:
- Leave this stuff as VBPG. VBPG will be killed someday, so this is only a solution of time.
- Create ActiveX controls and make them new aspect types. After this i can show this aspects in PG2 graphics by the aspect view wrapper. This works, but i fear stability issues. The possible interactions with the PG2 graphics is also very limited.
- Create graphic primitives assemblies in C#. Graphic primitives assemblies looking like simple dotnet assemblies, and it should be possible to write a new one. BUT - this assemblies are digital signed, and a new assembly would not be loaded if the signature does not match.
Does someone see any other option ?
Does someone know how to write graphic primitives in C# ?
Does someone know how to sign graphic primitives assemblies ?
Insert the URL that your highlighted text will link to.
Copy the video's "embed" tag into Embedded Video below.