Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Not quite sure what your asking. If you want to stop the DLL,
you would have to close out of AutoCAD.
Make your changes and then reload AutoCAD and load your DLL.
There isn't a netUNload command.
Hi,
>> if i write exit sub, the command execution is not stopped
Sorry, I don't understand what the command does other than stopping. Could you describe what happens (show the content of the commandline area).
Anyway I (personally) hate things like Exit Sub or Goto as there may be things lost like disposing transactions, closing files, ...
Why not running in that way:
<Command Method("myCommand1")> _ Public Sub myCommand1 if checkUser then 'do your command-handling here else call MsgBox("You are not authorized, contact your admin") end if End Sub
There is no Exit Sub necessary for that 😉
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.