- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have upgraded to AutoCAD 2015 and now I cannot get the app anymore. I'm getting the "Cannot Connect to ActiveX component" error. I assume it has something to do with versioning and I tried using AutoCAD.Application.19 but that doesn't work either. Is this the problem? If so how do I get the version? I looked in the Help/About but couldn't find anything.
Any help would be greatly appreciated!
I'm using VB.net 2010.
Below is my connection code...
Try
oAcadApp = GetObject(, "AutoCAD.Application")
Catch
Try
oAcadApp = CreateObject("AutoCAD.Application")
oAcadApp.Visible = True
Catch ex As Exception
MsgBox(ex.Message & " error while starting AutoCAD.", MsgBoxStyle.Exclamation, "Error Starting AutoCAD!")
Exit Sub
End Try
End Try
Master Drafter/ CAD Programmer
Using Inventor 2018
Solved! Go to Solution.