Ending AutoCad

Ending AutoCad

Anonymous
Not applicable
711 Views
2 Replies
Message 1 of 3

Ending AutoCad

Anonymous
Not applicable

I am writing some code which loads up with AutoCAD. I use the registry to do so.

It has an initiating class that starts off:-

 

Public Class InitOMNet
   Implements Autodesk.AutoCAD.Runtime.IExtensionApplication
   Public Sub Initialize() Implements IExtensionApplication.Initialize
      Dim fi As FileInfo = New FileInfo(System.Reflection.Assembly.GetExecutingAssembly.Location())

 It then goes on to read various files to setup global variables.

 

I also have a Module - Common which contains:-

Friend WithEvents DocMan As DocumentCollection

and 

      DocMan = Application.DocumentManager

 

I also have in InitOMNet

Public Sub Terminate

DocMan = Nothing

 

When I quit AutoCad I get this message

Capture.GIF

 

Drive f:\ is  a DVD Drive (currently empty)

Any ideas what this means?

0 Likes
Accepted solutions (1)
712 Views
2 Replies
Replies (2)
Message 2 of 3

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

Not sure that the reason is your project or AutoCAD, if I look to >>>the result<<< from Google it seems that there is a library anywhere that's intruding. But I have not read now through all of them .... it's up to you 😉

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 3

Anonymous
Not applicable

It never occurred to me to llok elsewhere.

I only have AutoCad and Visual Studio open.

Not even a Process involving Adobe !

0 Likes