Solved

ShowDialog in a new thread

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 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

18 Experts available now in Live!

Get 1:1 Help Now