Solved

ShowDialog in a new thread

Posted on 2008-10-05
3
837 Views
Last Modified: 2013-11-07
Hi guys!

I need some help, how do make the same thing that ShowDialog does but still let the form be able for GUI updates from a server. If the server need to update the client GUI with some data and I have used the ShowDialog method what happens then?

Can I make another thread for the aboutform and set Enable = false to the main form?
or is it just ok to use .show and disable the mainform and in the aboutform enable the main form  again when the user close it?  can owner be used here?

      Dim dlg As AboutBox = New AboutBox
        AboutBox.ShowDialog()

some tips?
0
Comment
Question by:AWestEng
[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
3 Comments
 
LVL 6

Expert Comment

by:carlsiy
ID: 22646317
you can try the LOCK property for the main form. it lets you updates objects thru code on the main form but will be untangible by the user.
0
 
LVL 1

Author Comment

by:AWestEng
ID: 22647734
where can I find the lock property?
0
 
LVL 6

Accepted Solution

by:
carlsiy earned 500 total points
ID: 22648765
sorry bout that I thought you were in c#... duh

well you can use this on your aboutbox form load event

me.Enabled=False
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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