How can I force a modal dialog to close?

A

Alex Brown

I am writing a vb.net windows application and am using functionality
in a com dll written in vb6. There is a modal dialog that pops up when
I call a function in the dll that I want to automatically close. I am
90% sure that the dialog is generated by the vb6 msgbox funciton. I
don't need to do anything except close the dialog - it just has an OK
button.

What is the easiest and best way to close the dialog automatically?

Thanks!
 

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