Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > C# 4.0 aka C# 2010 General Discussion
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 4.0 aka C# 2010 General Discussion Discussions about the C# 4.0, C# 4, Visual C# 2010 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 4.0 aka C# 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 10th, 2012, 10:36 AM
Authorized User
Points: 149, Level: 2
Points: 149, Level: 2 Points: 149, Level: 2 Points: 149, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Location: Belgrade,Serbia
Posts: 34
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Skype™ to dampyr
Default Progress bar in C# windows application

Hello,

i have batch file (142 lines total) syntax is similar to this:


copy something somewhere

start /min excel.xls
start /min excel1.xls
start /min excel2.xls
start /min excel2.xls

-----------------------

and so on

I have created c# Windows form with button which runs batch-all that's fine.However,i want to implement progress bar,which will read thru the bat file once to get the total number of commands in the bat file.
Set the progress bar max value to this value.
Re-read thru the batch file, and after every command is complete, increment the progress bar value by 1


I found Visual Basic code for this,but i would like C# code either.

Thanks in advance.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Progress bar in C# windows application dampyr BOOK: Beginning Visual C# 2010 3 June 28th, 2012 03:18 AM
Progress Bar jmss66 VB How-To 6 December 16th, 2009 09:25 PM
Progress Bar dotnetsathya VS.NET 2002/2003 0 September 26th, 2007 12:33 AM
progress bar treasacrowe Classic ASP Basics 11 February 11th, 2005 09:47 AM
Progress Bar Help jacob_d_99 Javascript How-To 1 November 20th, 2003 10:18 PM



All times are GMT -4. The time now is 04:16 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.