I have thefollowing problem:
I need toopen a document and have the NodeInserted event enabledto do something when a node gets inserted.
I use thishandler, manually set through a Button:
AddHandler Me.NDrawingDocument1.EventSinkService.NodeInserted, AddressOfEventSinkService_NodeInserted
The event works fine if I start the form, click on the button and then drawan object.
The event does NOT work:
- if I open a new document through the white page button on the nevrontoolbar and click the button that adds the handler
- if I open a saved document through nevron toolbar and click the buttonthat adds the handler
- if I read in a BLOB and click the button that adds the handler
No error, just the event is not fired by the document. What am I doing wrong?