AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unknown C# error trying to use code from AutoCAD .NET Developer's Guide

1 REPLY 1
Reply
Message 1 of 2
Nicolas.L
358 Views, 1 Reply

Unknown C# error trying to use code from AutoCAD .NET Developer's Guide

Hello,

 

As it is write in the subject when I play my code I have an error that i can't fix !

I have no idea of the source of this error.

If someone can help me to fix it.

 

Regards

 

Nicolas

 

PS: attached to the mail , the code, the error and the source drawing.

1 REPLY 1
Message 2 of 2
PLM3003
in reply to: Nicolas.L

Hi Nicolas,

 

maybe you should post your question in the AutoCAD .NET or VB Customization forum.

 

Short und simlified: you mix ActiveX and .NET code. That is of course possible. But it seems that you create a exe and from a exe you can access AutoCAD only via ActiveX. Accessing AutoCAD via .NET/ObjectArx, you have to create a dll/arx which runs inside AutoCAD.

 

- Karl

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost