First, sorry for my bad english...
I try tocreate a vb.net exe which update tags of block of my drawing opened on Autocad.
I have added Reference to AutoCad 2012 Type Library and ObjectDBX Common 18.0 Type Library
When i do that :
Dim acadapp As Autodesk.AutoCAD.Interop.AcadApplication
Dim acaddoc As Autodesk.AutoCAD.Interop.AcadDocument
I have an error on line 2 which says that I have any versions of Autodesk.AutoCAD.Interop.Common (18.104.22.168 and 22.214.171.124).
I don't know how can I get ObjectDBX in 126.96.36.199 version.
Thanks a lot
what version of Visual Studio do you use?
To the message you get .... can you upload a screenshot from what VS shows to you exactly, I don't understand that message (other words, I'm surprised about what you are getting as error).
- alfred -
sorry, I don't know the French language ;(
I just see on your screenshot that your references has a switch set to on (in your screenshot the property window on the lower-right corner shows:
Incorporer les.... ==> that is set to yes
If that means something like "embed interop types" ... then you have to set that to false!
If that does not help, can you show a fewe lines in your code that are initiating the error? E.g. lines 16, 21, 22
And to make sure: your Microstation library is placed on network? That may be problematic for Visual Studio because you it sees network-drives as "unsafe/unsecure".
- alfred -
Access a broad range of knowledge to help get the most out of your products and services.