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