Message 1 of 2
Question regarding - Form.Show & Form.ShowDialog
Not applicable
04-14-2007
12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to show a form in AutoCAD as “Form1.ShowDialog”?
I have already tried “acadapp.visible = true”.
I am using VB.NET and have created a DLL that shows a few forms, If I call the form as such “Form1.Show” and then click on one of the buttons on the form, the code is executed flawlessly, but If I call the same form as such “Form1.ShowDialog”, the form is shown but if I click on one of the buttons the program gives me an error (I have attached an image of the error message) stating that “AutoCAD application is invisible. Thanks in advance for your help.
William
I have already tried “acadapp.visible = true”.
I am using VB.NET and have created a DLL that shows a few forms, If I call the form as such “Form1.Show” and then click on one of the buttons on the form, the code is executed flawlessly, but If I call the same form as such “Form1.ShowDialog”, the form is shown but if I click on one of the buttons the program gives me an error (I have attached an image of the error message) stating that “AutoCAD application is invisible. Thanks in advance for your help.
William