AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Valued Mentor
ralstogj
Posts: 608
Registered: ‎10-01-2006
Message 1 of 2 (334 Views)

Updating VBA code to vb.net reference issues

334 Views, 1 Replies
05-30-2012 02:55 AM

Hi

 

I have been going thru the ADN video on updating code from vba to vb.net and have gotten everything into vb.net but the references do not seem to work the path names are not the typicsl ones I would expect and when I change them they convert back to the original paths that do not seem to work any ideas.

2012-05-30_2148.png

Regards

Justin Ralston
http://c3dxtreme.blogspot.com/
Distinguished Mentor
andrewpuller3811
Posts: 777
Registered: ‎07-30-2008
Message 2 of 2 (332 Views)

Re: Updating VBA code to vb.net reference issues

05-30-2012 05:09 AM in reply to: ralstogj

From the reference versions, it looks like you are developing on 2012.

 

If that is so, check out this post which covers issues with 2012 com references, including a fix.

 

http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/NET-on-C3D-2012-SP1/m-p/3239124#M6012

 

or check out this post on adn dev blog on the same issue with fixes.

 

http://adndevblog.typepad.com/infrastructure/2012/05/cannot-build-civil-3d-2012-com-with-net-code-af...

 

Hope this is the solution you are after.

 

 

If this fixed your issue, click on "Accept as Solution"

Andrew Puller
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.