hello every one.
how can i make a sub can load automaticlly when autocad open (load at startup)
I'm not certain to uderstand what you mean with: "a sub can load automaticlly when autocad open".
If you want tour DLL to be loaded at startup, you can use the AutoLoader (since A2012) or register your apllication.
if you want some code to be run at startup, see the IExtensionApplication interface.
Public Sub Initialize() Implements IExtensionApplication.Initialize
i found my solution
but the terminate sub doesn't work
Public Sub Terminate() Implements IExtensionApplication.Terminate
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.