AutoCAD Civil 3D Customization

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

Updating VBA code to vb.net reference issues

315 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: 765
Registered: ‎07-30-2008
Message 2 of 2 (313 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs