Results 1 to 2 of 2

Thread: Displaying progress bar while loading data to a textfile

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    87

    Displaying progress bar while loading data to a textfile

    Good day,
    It's me again,

    How can i show a progress bar while loading data to a textfile.
    And showing this text to a label: "Record <row number> of <total row>
    Thanks.
    I Hope I Could be Great Like You

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Displaying progress bar while loading data to a textfile

    I would suggest displaying a dialogue box containing your ProgressBar and Label, then using a BackgroundWorker to load the file in the background. Follow the link in my signature to see how to use the BGW. The code is VB but the principles are exactly the same.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width