?
Solved

Implement a progreesbar while retrieving records

Posted on 2005-03-31
4
Medium Priority
?
457 Views
Last Modified: 2008-01-09
Can sombedoy help me to implement this. I have a query to a db2 It can take for example 10 -20 seconds to execute.  I want to show a progress bar


 Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Introducir aquí el código de usuario para inicializar la página
        menu2.tipo = 3
        'If Not Page.IsPostBack Then
        cargartotalcarteraeinfobasica()
        'End If
    End Sub

    Private Sub cargartotalcarteraeinfobasica()
        Dim total As Decimal = objconsultas.cargartotalcartera(Session("nitproveedor"))
         Dim s As String 'create a string
        s = String.Format("{0:c}", total)
        lbltotal.Text = s
        lblnombre.Text = Session("nombrecliente")
    End Sub
0
Comment
Question by:djhex
[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
  • 3
4 Comments
 
LVL 10

Author Comment

by:djhex
ID: 13680424
Help me implement the farsidestudios from the Code I gave you. Their documentation Sucks. and 500 points for just links?

I can google that.
0
 
LVL 11

Expert Comment

by:sachiek
ID: 13686303
Had you download their sample code?

Sachi
0
 
LVL 11

Accepted Solution

by:
sachiek earned 1000 total points
ID: 13686314
Basically once you had their DLL you have to referance it to your project.

Make a instance of that progressbar object

ProgressBar1 As Farside.WebControls.ProgressBar - in VB.net

Farside.WebControls.ProgressBar ProgressBar1  - C#

next you can assign those standard properties which ever you want.
Adjust your calculations according to your and assign the value
You basically have to use animate1 - you can see this when you had installed their demo.
They got millisecounds and value property which you can assign.

Hope you got it.

Sachi
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 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