C# Dialog Forms

A

Arthur Fiedler

Hi, I'm having a problem with displaying forms, For instance if you create a form

MyForm myFrm = new MyForm();

then either do
myFrm.showDialog(); or Application.run(MyFrm);

and then if you close the dialog, then repeat the process again... word or excel errors out
 
A

Arthur Fiedler

This seems to be the same case for VB.net... If anyone has a fix or workaround for this PLEASE post or email.

Thanks,
Arthur Fiedler

----- Arthur Fiedler wrote: -----

Hi, I'm having a problem with displaying forms, For instance if you create a form

MyForm myFrm = new MyForm();

then either do
myFrm.showDialog(); or Application.run(MyFrm);

and then if you close the dialog, then repeat the process again... word or excel errors out
 
M

Mauro Lombarda

set the form to stay on top and load them modeless
this is working
;)

Arthur Fiedler said:
Hi, I'm having a problem with displaying forms, For instance if you create a form

MyForm myFrm = new MyForm();

then either do
myFrm.showDialog(); or Application.run(MyFrm);

and then if you close the dialog, then repeat the process again... word or
excel errors out
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top