VB API ActionListeners ending in XToolKitCommError
Hello everyone, im stuck on a few things trying to implement some action listeners in Creo using visual basic in Microsoft Visual Studio 2013. I will try before posting the complete problem a couple of modifications, but at this time i would like to place an open question.
Can anyone tell me the importance that the highlighted line of code from below has ?
| aC.Session.AddActionListener(listenerObj) | |
| aC.AddActionListener(Me) |
The code is taken directly from the VB api examples available from Creo. The action listener works without the second line, so im curious about what it actually does.
Any insight is most welcome. Thank you.
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

