Message 1 of 4
AutoCAD 2015 and VB.NET

Not applicable
06-11-2014
08:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Having issues with the following line of code:
Dim ThisDrawing As AcadDocument = DocumentExtension.GetAcadDocument(Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument)
I have narrowed down the error to the following process:
DocumentExtension.GetAcadDocument()
Can anyone please advise on if they are having the same issues? and how they are getting around it?
I am using Visual Studio 2010, with 2013 dll's (accoremgd, acdbmgd, acmgd, Autodesk.AutoCAD.Interop, and Autodesk.AutoCAD.Interop.Commom)
with a target framework of .NET 4
Any help would be greatly appreciated.
Regards
Lee