1. Aron Cox
  2. PowerBuilder
  3. Wednesday, 6 April 2022 10:31 AM UTC

Is it possible to have events, not just methods, come from a .NET assembly into the PowerBuilder nvo when using the .NET dll imported in PowerBuilder 2019 R3? Or failing that, react to events that are raised from the .NET assembly in PowerBuilder in some way?

Thanks!

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 April 2022 11:40 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Aaron;

   No ... PB's support for .Net Assemblies are for non-visual DLL's only. So "methods" are the key communications vehicle. Only visual DLLs (aka "controls") would support events (aka Windows Messages). But, these are not supported by PB's .Net Assembly feature.

Regards ... Chris

Comment
  1. Aron Cox
  2. Wednesday, 6 April 2022 12:47 PM UTC
Thanks Chris, shame as one of out .NET developers wants to do some snazzy stuff and call it from PoweBuilder, he'll have to find another way :-)
  1. Helpful
  1. Roland Smith
  2. Wednesday, 6 April 2022 13:09 PM UTC
I don't know anything about .Net events but maybe he can add a TriggerEvent method.
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.