Can’t Launch AutoCAD Civil 3D 2011 when I use VBDotNetClientSample project (AutoCAD Civil 3D 2011/Sample/Civil API/Com..) with VB.Net 2008.
References:
Error:
After that I intall AutoCAD Civil 3D 2010 and launch again and it still run properly with that project
Please help me with using and running AutoCAD Civil 3D 2011!
Thanhks!
The references for the 2 AEC*, and 2 AECC* libraries are all for the 2010 product. You will need to change these to use the 2011 versions (6.5, 8.0).
Additionally, if you installed the 64 bit version of C3D2011 then those libraries did not get registered. Search back a few weeks, there was a link posted to the 2011 API webcast. That link also has a download for the registry entries.
HTH
Thanks you very much
:D, I did again according to your advice but the project still error.
AutoCAD Civil 3D 2011 was activated in Task Manager but it disappeared in tmg after a while and the project reported an error:
Please kindly help me again.
Not getting this error when I run it but it was loading 2010 instead of 2011.(expect you don't have 2010 on the PC)
If I change the following lines:
m_sAcadProdID = "AutoCAD.Application"
m_sAeccAppProgId = "AeccXUiLand.AeccApplication.7.0"
to
m_sAcadProdID = "AutoCAD.Application.18.1"
m_sAeccAppProgId = "AeccXUiLand.AeccApplication.8.0"
Then it runs 2011 as expected.
Yep, youre quite right.
It seems that it works under XP but not under windows 7 x64.
I wonder why?