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);