Message 1 of 3
Not applicable
12-14-2011
03:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
Drive f:\ is a DVD Drive (currently empty)
Any ideas what this means?
Solved! Go to Solution.