Question regarding - Form.Show & Form.ShowDialog

Question regarding - Form.Show & Form.ShowDialog

Anonymous
Not applicable
417 Views
1 Reply
Message 1 of 2

Question regarding - Form.Show & Form.ShowDialog

Anonymous
Not applicable
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
0 Likes
418 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Hi,
First try to create an instance of that Form then try

Form1.ShowDialog();

Hope this helps.....

Regards,
Basha
0 Likes