Dim AcadApp As AcadApplication
AcadApp = GetObject(, "AutoCAD.Application")\
Catch ex As Exception
AcadApp = CreateObject("AutoCAD.Application")
AcadApp.Visible = True
I have used the above code to open an AUTOCAD drawing and read the objects. But i am getting an error like 'cannot create activex component'. when the AUTOCAD drawing takes time to load, this error is coming.
Can anyone help me out from this issue.
Your problem appears to be the same as this one - http://forums.autodesk.com/t5/NET/Create-autocad-2
i am not able to open the given link.
Below message is displayed,
try removing the "." at the end in link like http://forums.autodesk.com/t5/NET/Create-autocad-2
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!