Solved

ShowDialog in a new thread

Posted on 2008-10-05
3
839 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

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

729 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