Solved

progress bar marquee mode

Posted on 2007-03-22
3
845 Views
Last Modified: 2013-11-26
VB.net 2005  
mdi app
I want to display a progress bar in a status strip on the parent form and show that a form is loading.  It does not have to be attached to anything as far as time goes.  I simply want to start it when a fom starts to load let it count up then start over if the form hasn't displayed yet.  I think the marquee mode is probably what I want to use???  How do I start and stop the progress bar?
0
Comment
Question by:Moed
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 50 total points
Comment Utility
"How do I start and stop the progress bar?"

To start it: (it just goes automatically in Marquee mode)

        ToolStripProgressBar1.Style = ProgressBarStyle.Marquee

To stop it:

        ToolStripProgressBar1.Style = ProgressBarStyle.Blocks
        ToolStripProgressBar1.Value = 0
0
 
LVL 2

Author Comment

by:Moed
Comment Utility
So far so good but how do I make it run while the form is loading.  The progress bar is shown on the parent form but the marquee stops when the form is loading.
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
Comment Utility
All forms run on the same main UI thread...I'm not sure there is a workaround for that!...
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…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

728 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

13 Experts available now in Live!

Get 1:1 Help Now