Solved

ShowDialog in a new thread

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# application error "Parameter Is Not Valid". 3 80
Host asp.net pages 5 26
how to read json value 2 32
Where can I ask about my ASP.NET MVC project? 6 23
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

862 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