?
Solved

progress bar marquee mode

Posted on 2007-03-22
3
Medium Priority
?
879 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
[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 86

Accepted Solution

by:
Mike Tomlinson earned 200 total points
ID: 18772338
"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
ID: 18775394
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 86

Expert Comment

by:Mike Tomlinson
ID: 18775431
All forms run on the same main UI thread...I'm not sure there is a workaround for that!...
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

743 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