Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: Text Width Pin
kk.tvm31-Oct-08 2:05
kk.tvm31-Oct-08 2:05 
QuestionSOAP Exception Pin
George_George30-Oct-08 22:40
George_George30-Oct-08 22:40 
JokeRe: SOAP Exception Pin
Jugortha31-Oct-08 13:30
Jugortha31-Oct-08 13:30 
Questionhow to invoke c#.net application Pin
balu1234530-Oct-08 22:39
balu1234530-Oct-08 22:39 
Questionhow to calculate copy process remaining time? Pin
jugal_piet@indiatimes.com30-Oct-08 20:51
jugal_piet@indiatimes.com30-Oct-08 20:51 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili30-Oct-08 21:09
mentorGiorgi Dalakishvili30-Oct-08 21:09 
AnswerRe: how to calculate copy process remaining time? Pin
Mbah Dhaim30-Oct-08 21:11
Mbah Dhaim30-Oct-08 21:11 
AnswerRe: how to calculate copy process remaining time? Pin
Eddy Vluggen30-Oct-08 22:10
professionalEddy Vluggen30-Oct-08 22:10 
You're copying files? It's not that hard to implement in your own application.

Before you start copying, put the current time in a variable. (DateTime startCopy = DateTime.Now) Next, you're gonna copy a list of files. Once you have copied the first file, get the current time.

Get the timespan between those two timings. At this point you want to know how long it took to copy a single file. You also know how much files you're going to copy, right?

Next thing you do, is check out how many files still need to be copied. (How many items are remaining in the list?) Multiply by the time that it took to copy a single file - and there you have your "Remaining time:"

The displayed time will be a rough indication. It might be more accurate if you count the bytes copied Smile | :)

Hope this helps,
QuestionHow to convert .Net class files to html Pin
Chintan.Desai30-Oct-08 19:50
Chintan.Desai30-Oct-08 19:50 
AnswerRe: How to convert .Net class files to html Pin
Mbah Dhaim30-Oct-08 20:09
Mbah Dhaim30-Oct-08 20:09 
Questionhow to make own progress dialog windows? Pin
jugal_piet@indiatimes.com30-Oct-08 19:21
jugal_piet@indiatimes.com30-Oct-08 19:21 
AnswerRe: how to make own progress dialog windows? Pin
Mbah Dhaim30-Oct-08 20:06
Mbah Dhaim30-Oct-08 20:06 
AnswerRe: how to make own progress dialog windows? Pin
Eddy Vluggen30-Oct-08 22:13
professionalEddy Vluggen30-Oct-08 22:13 
Questionhi how to start a windows form as hidden ? Pin
Denver Thomas30-Oct-08 19:07
Denver Thomas30-Oct-08 19:07 
AnswerRe: hi how to start a windows form as hidden ? Pin
Mbah Dhaim30-Oct-08 19:55
Mbah Dhaim30-Oct-08 19:55 
AnswerRe: hi how to start a windows form as hidden ? Pin
jas0n231-Nov-08 12:02
jas0n231-Nov-08 12:02 
QuestionAlgorithm or Code for Possibilities Pin
Silvyster30-Oct-08 16:06
Silvyster30-Oct-08 16:06 
AnswerRe: Algorithm or Code for Possibilities [modified] Pin
Luc Pattyn30-Oct-08 18:51
sitebuilderLuc Pattyn30-Oct-08 18:51 
AnswerRe: Algorithm or Code for Possibilities Pin
Guffa30-Oct-08 19:50
Guffa30-Oct-08 19:50 
GeneralRe: Algorithm or Code for Possibilities Pin
Luc Pattyn31-Oct-08 2:33
sitebuilderLuc Pattyn31-Oct-08 2:33 
QuestionWhy flags (bool type variables) not recommended in programming? Pin
Member 232448330-Oct-08 10:25
Member 232448330-Oct-08 10:25 
AnswerRe: Why flags (bool type variables) not recommended in programming? Pin
Paul Conrad30-Oct-08 10:33
professionalPaul Conrad30-Oct-08 10:33 
GeneralRe: Why flags (bool type variables) not recommended in programming? Pin
Luc Pattyn30-Oct-08 12:02
sitebuilderLuc Pattyn30-Oct-08 12:02 
JokeRe: Why flags (bool type variables) not recommended in programming? Pin
Guffa30-Oct-08 12:08
Guffa30-Oct-08 12:08 
AnswerRe: Why flags (bool type variables) not recommended in programming? Pin
Guffa30-Oct-08 12:03
Guffa30-Oct-08 12:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.