AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Valued Mentor
616 Posts
19 Kudos
Registered: ‎10-01-2006
Post 1 of 2

Updating VBA code to vb.net reference issues

343 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
796 Posts
126 Kudos
Registered: ‎07-30-2008
Post 2 of 2

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
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!