Solved

Showed a modal dialog, clicked on a button to bring up a file dialog and the modal dialog closes (??)

Posted on 2006-11-23
2
197 Views
Last Modified: 2010-04-23
I have a VB.NET app where I have a model dialogue (f.showDialog()).  Inside the modal dialog, I have a button that brings up an open file dialog.  When I click the button and select the file, the modal dialog closes.  Why?  How do I fix this?
0
Comment
Question by:stev0931
2 Comments
 
LVL 10

Accepted Solution

by:
Kinger247 earned 200 total points
Comment Utility
Is the button marked as the Acceptbuttom or CancelButton on the form ?
If so, take that off.

A quick answer would be to take off the button and re-add it.
Try that and see if it makes a difference.
0
 

Author Comment

by:stev0931
Comment Utility
It worked - thanks!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now