Hi All,
I am trying to use ObjectARX in an out of process automation program using vb.net 2005. The automation program opens an instance of Autocad in the background and presents the user with a GUI.
I added the references
C:\Program Files\AutoCAD 2009\acdbmgd.dll
C:\Program Files\AutoCAD 2009\acmgd.dll
and set both to copy local = false.
On my main form I added a button for testing:
Dim ed As Autodesk.AutoCAD.EditorInput.Editor = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor
ed.WriteMessage("\nSheetset database not initialized!!")
It compiles and runs but when I click the bottun, I get a file not found exception with something like:
'acmgd, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null'
Can help me resolve this problem? Any help is appreciated
-Vincent