.NET

Reply
Distinguished Contributor
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 1 of 3 (116 Views)

OnLoad Event

116 Views, 2 Replies
11-04-2005 07:55 AM
HI,
I am looking for a DLL OnLoad event. I plan to do some environment setup, like menu, environment variable ...
but I can not find this event.
Also I am looking a way to set up global varible in .Net. I try use static which not work for my case. for each command I am going to run in AutoCAD, 1st thing I would do is, query database, get all setting, put in a class which I can access anywhere in my code. I tried Dynamic Properties, but I don't think it will work.
Thank you in advance.



Wes
*Bobby C. Jones
Message 2 of 3 (116 Views)

Re: OnLoad Event

11-04-2005 08:15 AM in reply to: wesbird
You need to have a class in your assembly implement the
IExtensionApplication interface.
--
Bobby C. Jones
http://www.acadx.com


wrote in message news:5004118@discussion.autodesk.com...
HI,
I am looking for a DLL OnLoad event. I plan to do some environment setup,
like menu, environment variable ...
but I can not find this event.
Also I am looking a way to set up global varible in .Net. I try use static
which not work for my case. for each command I am going to run in AutoCAD,
1st thing I would do is, query database, get all setting, put in a class
which I can access anywhere in my code. I tried Dynamic Properties, but I
don't think it will work.
Thank you in advance.



Wes
Distinguished Contributor
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 3 of 3 (116 Views)

Re: OnLoad Event

11-04-2005 09:11 AM in reply to: wesbird
thank you, I will try it.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.