.NET

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

OnLoad Event

118 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
Vault Pro 2014, Windows 7 64 bit, AutoCAD (ACA, Map) 2014
*Bobby C. Jones
Message 2 of 3 (118 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: 359
Registered: ‎12-05-2003
Message 3 of 3 (118 Views)

Re: OnLoad Event

11-04-2005 09:11 AM in reply to: wesbird
thank you, I will try it.
Vault Pro 2014, Windows 7 64 bit, AutoCAD (ACA, Map) 2014
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.