NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Register UI Message Callback in VB.NET

Hi, is there anyone who has try to register UI Message Callback in .NET platform?
0 Kudos
Message 1 of 3
(3,915 Views)

Hi cronisis

 

you find an example for C# attached.

VB.NET should work similar.

Regards
DianaS
0 Kudos
Message 2 of 3
(3,786 Views)

Just to clarify. It is not recommended to use Engine.RegisterUIMessageCallback() from .NET. Instead you should either create an instance of the application manager or engine activex control on a form (a hidden one if you don't want a visible UI) and add a handler for the UIMessageEvent of the activex control.

 

Hope this helps,

-Doug

0 Kudos
Message 3 of 3
(3,757 Views)