question about progressbar


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: question about progressbar

  1. #1
    Join Date
    Mar 2006
    Posts
    21

    question about progressbar

    can any tell me how to write code for progressbar?

    private void button1_Click(object sender, System.EventArgs e)
    {
    string HTMLText;
    string url = "http://bursa.n2nconnect.com/BursaStockSearchAll.htm";
    WebClient client=new WebClient();
    byte[] data=client.DownloadData(url);
    HTMLText= System.Text.ASCIIEncoding.ASCII.GetString(data);
    }

    the above is a part of my code use to download certain html page....i want the progress bar start once i click the button and the progress bar keep increment while the downloading process....

    how could i do this???help is needed...thank you...

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    The code you are using does not supply progress information (e.g. percentage complete) that you could use in a progress bar control.
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

Similar Threads

  1. Display one record at a time!
    By ASP learner in forum ASP.NET
    Replies: 5
    Last Post: 10-08-2002, 08:17 PM
  2. question on best programming option
    By James in forum .NET
    Replies: 2
    Last Post: 03-28-2002, 08:14 AM
  3. VB,STORED PROC, COM, DTC QUESTION?
    By melvin ng in forum VB Classic
    Replies: 1
    Last Post: 11-10-2000, 04:46 AM
  4. Using Splash Screen with ProgressBar Control
    By Kevin Glazebrook in forum VB Classic
    Replies: 3
    Last Post: 09-02-2000, 10:25 PM
  5. Performance question
    By John in forum VB Classic
    Replies: 2
    Last Post: 04-05-2000, 10:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center