Thanx Tony for your response.
My .NET application is automatically loaded at AutoCAD startup now, thanx to
these Register settings.
What I am looking for is a way to trigger a function (i.e. "void
MyOnAppStartUp()") automatically when my app is loaded.
Is this possible in .NET ?
"Tony Tanzillo" schreef in bericht
news:5383699@discussion.autodesk.com...
The LOADCTRLS entry controls how your app is loaded,
and there is a flag that will tell AutoCAD to load it at
startup automatically. See the ObjectARX docs for the
appropriate values.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
"Henk Loonstra" wrote in message
news:5382433@discussion.autodesk.com...
Hi all,
I found in this newsgroup this nice method for autoload a .NET application:
adding the app to "...\Autodesk\...\Applications" in the Registry. I still
have a few questions.
1. I have some document eventhandlers i'd like to initialize during startup
of AutoCAD. Is it possible to autostart a (registered) function in my app,
without using scripts or lisp?
2. What's the benefit of adding Commands and Groups at this location in the
Registry (all my functions in the dll defined by [CommandMethod ... ] work,
even if they are registered or not)? Or can I use this to define an
automatically starting function?
I'm using .NET for AutoCAD 2006.
Tnx
Henk