Solved

Lock a form if another opens/are in focus

Posted on 2004-09-25
2
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

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

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 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