473,492 Members | 4,301 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Progress Bar

Hi folks,
I got a question about using VB to make a bar, I know
that progress bar
in VS is built-in and you don't need to really code it.
But the bar I want
to make is kinda like a bar fill with color and with the
percentage (say,
100% is the max) goes up, the color would be different,
for example, if you
have winamp with the base skin, the higher the volume it
goes, the color
would turn into red; the lower it goes, it will turn
yellow.
This is kinda chanllenge to me and hope I can find
some clues on both
link resources and thoughts.
Thanks
Carl

Nov 20 '05 #1
3 2170
http://www.planet-source-code.com/vb...1829&lngWId=10

There are quite a few, try this one, or if you dont like it use google to
search.

OHM
Carl Tam wrote:
Hi folks,
I got a question about using VB to make a bar, I know
that progress bar
in VS is built-in and you don't need to really code it.
But the bar I want
to make is kinda like a bar fill with color and with the
percentage (say,
100% is the max) goes up, the color would be different,
for example, if you
have winamp with the base skin, the higher the volume it
goes, the color
would turn into red; the lower it goes, it will turn
yellow.
This is kinda chanllenge to me and hope I can find
some clues on both
link resources and thoughts.
Thanks
Carl


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #2
* "Carl Tam" <an*******@discussions.microsoft.com> scripsit:
I got a question about using VB to make a bar, I know
that progress bar
in VS is built-in and you don't need to really code it.
But the bar I want
to make is kinda like a bar fill with color and with the
percentage (say,
100% is the max) goes up, the color would be different,
for example, if you
have winamp with the base skin, the higher the volume it
goes, the color
would turn into red; the lower it goes, it will turn
yellow.
This is kinda chanllenge to me and hope I can find
some clues on both
link resources and thoughts.


Why not implement a control like this on your own? For example in a
usercontrol. You can draw the gradient in the control's 'Paint' event
with the 'LinearGradientFill' class.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Cor
Herfried,

Why the one in the link OHM did suplied is very nice?
Why not implement a control like this on your own? For example in a
usercontrol. You can draw the gradient in the control's 'Paint' event
with the 'LinearGradientFill' class.


Cor
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2854
by: SpamProof | last post by:
I got an animated gif that is a barber pole spinning that I want to use as a progress bar. The problem is that is stops spinning (shows 1 frame) when my browser is processing a submited request...
7
5369
by: Pepi Tonas | last post by:
I have a form that takes some time to load because it has to populate some Data. I was trying to display a form on top of it with an activity bar so that user can see that something's going on. ...
1
1630
by: scorpion53061 | last post by:
this code came from cor and I think Armin authored it. I am trying to download an access database and track its progress. It is reading the size fo the file but I am unsure of how to get the...
8
5175
by: Brian Henry | last post by:
I created a smooth progress bar with this code.. but if you update the values in a row quickly of it and watch it on screen it flickers... how would i change this to reduce the flickering?...
8
4723
by: WhiteWizard | last post by:
I guess it's my turn to ASK a question ;) Briefly my problem: I am developing a Windows app that has several User Controls. On one of these controls, I am copying/processing some rather large...
1
4097
by: daniel_xi | last post by:
Hi all, I am running a VS 2003 .NET project on my client machine (Win 2000 SP4, ..NET framework 1.1), running an ASP.NET application on a remote web server (Win 2000 Server, IIS 6.0, .NET...
15
3500
by: eladla | last post by:
Hi! I am creating a composite control the does some of it`s own data access. I want to display a progress bar between the time the page is loaded and the control place holder is displayed and...
5
4029
by: Aggelos | last post by:
Hello I am doing sevreral scripts like sending a newsletter that might take a while to finish first to prevent the browser from timing out and to keep the user informed of the process progress I...
1
3214
by: Bob | last post by:
Hi, I am having trouble seeing how this bolts together. The UI starts a process which involves a long running database update. All Database activity is handled by a class called DT. DT has a...
0
3094
by: jags_32 | last post by:
Hello We use MFG-PRO as our ERP system which in turn uses Progress databases. In the old version of SQL 2000, using DTS packages, we used to set the code page via command prompts and execute DTS...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.