[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ShowDialog in a new thread

Posted on 2008-10-05
3
Medium Priority
?
854 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 2000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

656 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