.NET

Reply
Contributor
Mitch_31
Posts: 17
Registered: ‎02-19-2007
Message 1 of 8 (231 Views)

Event AcadDocument_Activate() in DotNET

231 Views, 7 Replies
01-25-2012 07:37 AM

Hi all,

I'm looking for a way to autostart my dotnet macro according to a certain drawing opening.

 

I know how to auto netload my dll

I know in vba using events to start the macro when my drawing is opened :

 

Private Sub AcadDocument_Activate()
   Start.MyVbaMacro
End Sub

 

But how do I manage it in DotNET? I don't want to use vbaenabler...

 

Thanks,

Michel