borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (COMBOBOX VB.NET) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : Progress Bar, Datagrid, Chart
Poster Message
vochiquy
Level: Protégé

Registered: 10-06-2005
Posts: 7

icon Progress Bar, Datagrid, Chart

hi everyone,
i have two problem
frist, how to use Progress Bar. can you give me a example.
second, i want to display a datagrid and a chart in a form. my database use sql 2000 server.
do anybody know how to solve this problem?
thanks!

24-06-2005 at 04:58 PM
View Profile Send Email to User Show All Posts | Quote Reply
JKSingletary
Level: Trainee

Registered: 28-02-2008
Posts: 1
icon Re: Progress Bar, Datagrid, Chart

I have a simple solution for using the Progress bar:

(let's say you have a progress bar control declared as ProgressBar1)

1. set the minimum and maximum values for the progress bar (these will be the values that will determine how much of the progress bar is filled up)

ProgressBar1.minimum = 0
ProgressBar.maximum = 100

2. set the value of the progress bar to show how much progress has been made:

for index = 0 to 100
    ProgressBar1.value = index
end for

That's just an example if you want to show the progress of a looping construct.  You can apply this to any situation.  Hope this helps...

28-02-2008 at 12:09 AM
View Profile Send Email to User Show All Posts | Quote Reply
maxxx
Level: Trainee

Registered: 07-07-2008
Posts: 1
icon Re: Progress Bar, Datagrid, Chart

to make a progressbar do like this
1-put  a progressbar
2- put  timer
3- double click on your form and write this code Timer1.Start()

4- double click on timer and write this code
  If (ProgressBar1.Value = 100) Then
            Timer1.Stop()

            MessageBox.Show("maxxx")
        Else
            ProgressBar1.Value += 2

        End If


press F5

07-07-2008 at 03:33 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : Progress Bar, Datagrid, Chart
Next Topic (COMBOBOX VB.NET) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder