.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Please help with

1 REPLY 1
Reply
Message 1 of 2
wcruz
158 Views, 1 Reply

Please help with

I have been trying without any luck to get this here line of code to work. I have searched as much as I can (2 days) and still can’t find anything. So I had to pop the question. What am I doing wrong?

What am I using?
VB.NET 2005 Express
AutoCAD 2006

What do I want to do?
Have AutoCAD.Application show my Windows.Form in “ShowModalDialog” .

When typing the code shown below, In the intellisense, “ApplicationServices “ is not part of AutoCAD, yet I see this same code all over on this forum. After the AutoCAD, I get “interop” It looks like I might be missing a reference. See the attached image that shows what I try to explain. I have also included a screen capture of my reference. Thanks in advance for your help.

This what I can’t get --> Autodesk.AutoCAD.ApplicationServices.Application

This is what I want to do --> AcadApp.ShowModalDialog(myForm);
1 REPLY 1
Message 2 of 2
NathTay
in reply to: wcruz

You are using the ActiveX API not the .NET API. Get the .NET training from here http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627

Regards - Nathan

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost