Solved

progress bar marquee mode

Posted on 2007-03-22
3
855 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
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 85

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Latency in .net app using DB in .net 21 61
Angular JS Route 3 68
C# Single Form 8 42
How to prevent website from publishing with errors 9 44
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

785 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