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 3 2165 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
* "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>
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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.
...
|
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...
|
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?...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |