.NET

Reply
Active Contributor
Chris Ludtke
Posts: 44
Registered: ‎04-12-2005
Message 1 of 3 (134 Views)

Event Handlers

134 Views, 2 Replies
06-08-2005 01:27 PM
I am writing an application that will capture an event (Begin.Save) and perform some operations.

For the user to execute this, he/she is forced to type (at the command line)

Netload myproject ' This loads the .Net application

LoadEventHandler 'This is a routine that adds the event handler

I have tried to add a "new" method to my class but that does not work.

Is there a way to add the event handlers when the .dll is loaded (using netload)?
Distinguished Contributor
fantum
Posts: 313
Registered: ‎12-06-2004
Message 2 of 3 (134 Views)

Re: Event Handlers

06-08-2005 01:48 PM in reply to: Chris Ludtke
Look at the Initialize method of IExtensionApplication.
Active Contributor
Chris Ludtke
Posts: 44
Registered: ‎04-12-2005
Message 3 of 3 (134 Views)

Re: Event Handlers

06-08-2005 02:49 PM in reply to: Chris Ludtke
Thanks for your help, got it working
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.