*Henk Loonstra
Message 1 of 9 (442 Views)

Demand Loading question

442 Views, 8 Replies
11-02-2006 02:32 AM
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.