Sorry. One line disappeared. It should be:
I have recently upgraded my Inventor Pro 10 to service pack 2. Then the library
AutoCAD/ObjectDBX Common 16.0 Type Library
has changed.
I had to reload the library and change the line
Imports Autodesk.AutoCAD.Interop.common
To
Imports AXDBLib
But my application fails at the line.
thisDrawing = myApp.ActiveDocument
Any explanation would be appreciated.