Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom command and event handler together?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
471 Views, 2 Replies

Custom command and event handler together?

I'm using Vault Pro 2013 and I'm creating a DLL with custom commands and that's working fine.  Now I want to also add event handlers.  Can I do that in the same DLL or do I have to create a separate DLL?  If the same DLL, what would the "vcet.config" file have to look like?

 

I tried adding event handlers to my DLL, but the "OnLoad" function never gets called.

 

Thanks,
Tom

2 REPLIES 2
Message 2 of 3
orbjeff
in reply to: Anonymous

Tom,

 

Have you tried adding your event handler to OnStartUp(IApplication application)?

Jeff Johnson
Technical Consultant
MasterGraphics Inc.
Message 3 of 3
Redmond.D
in reply to: orbjeff

Yes, you can do custom commands and event handlers in a single DLL.  Have a look at this article.  It should answer your questions about how to set things up, such as the .vcet.config file.



Doug Redmond
Software Engineer
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report