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
202 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
ID: 18004062
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
ID: 18004081
It worked - thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

20 Experts available now in Live!

Get 1:1 Help Now