Solved

Lock a form if another opens/are in focus

Posted on 2004-09-25
2
204 Views
Last Modified: 2010-04-23
Well, when I open a configuration form I want the main program/main form to lock so you have to close the configuration form before you can play around with the program/main form again, otherwise the configurations form just flash a bit (maybe).

I've exprimented with the built in functions and proporties but haven't found a solution.

Help would be greatly appriceted!
0
Comment
Question by:stromberg10
2 Comments
 
LVL 28

Accepted Solution

by:
iboutchkine earned 125 total points
ID: 12151783
instead of form.open use form.openDialog
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 12151803
iboutchkine is right but instead of open and opendialog it is Show() and ShowDialog():

    Dim config As New frmConfig
    config.ShowDialog()

Regards,

Idle_Mind
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 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

23 Experts available now in Live!

Get 1:1 Help Now