Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem with list view selection. Pin
EddieRich22-Dec-09 5:37
EddieRich22-Dec-09 5:37 
QuestionWebparts Pin
NETLearning22-Dec-09 5:06
NETLearning22-Dec-09 5:06 
QuestionC# / LINQ Directory.GetFiles Pin
Wheels01222-Dec-09 3:37
Wheels01222-Dec-09 3:37 
AnswerRe: C# / LINQ Directory.GetFiles Pin
Rob Philpott22-Dec-09 3:51
Rob Philpott22-Dec-09 3:51 
AnswerRe: C# / LINQ Directory.GetFiles Pin
#realJSOP22-Dec-09 3:53
professional#realJSOP22-Dec-09 3:53 
AnswerRe: C# / LINQ Directory.GetFiles Pin
Luc Pattyn22-Dec-09 6:26
sitebuilderLuc Pattyn22-Dec-09 6:26 
GeneralRe: C# / LINQ Directory.GetFiles Pin
Wheels01222-Dec-09 6:32
Wheels01222-Dec-09 6:32 
QuestionFile copy progress Pin
Samarchpa22-Dec-09 3:21
Samarchpa22-Dec-09 3:21 
Hello;

I am working on a little piece of code that copies files from one location to another. I want to display a progress of the operation in the console. I don't want to use P/Invoke win32.

I use File.Copy() method but it seems it is only possible to get the size before and/or after not during the copy.

For the time being, I use two seprate thread, one for copy and another one that display "=" while the copy thread is alive. This shows a progress but it is not very accurate !

I tried with StopWatch, FileSystemWatcher... Any help on this would be greatly apreciated !

Smile | :)
AnswerRe: File copy progress Pin
Rob Philpott22-Dec-09 3:53
Rob Philpott22-Dec-09 3:53 
GeneralRe: File copy progress Pin
Samarchpa22-Dec-09 4:11
Samarchpa22-Dec-09 4:11 
GeneralRe: File copy progress Pin
#realJSOP22-Dec-09 4:29
professional#realJSOP22-Dec-09 4:29 
GeneralRe: File copy progress Pin
Samarchpa22-Dec-09 5:25
Samarchpa22-Dec-09 5:25 
GeneralRe: File copy progress Pin
Saksida Bojan22-Dec-09 5:38
Saksida Bojan22-Dec-09 5:38 
GeneralRe: File copy progress Pin
J4amieC22-Dec-09 5:52
J4amieC22-Dec-09 5:52 
GeneralRe: File copy progress Pin
#realJSOP23-Dec-09 2:07
professional#realJSOP23-Dec-09 2:07 
GeneralRe: File copy progress Pin
Samarchpa23-Dec-09 4:47
Samarchpa23-Dec-09 4:47 
AnswerRe: File copy progress Pin
Luc Pattyn22-Dec-09 6:33
sitebuilderLuc Pattyn22-Dec-09 6:33 
QuestionCannot create ActiveX component instance Pin
dataminers22-Dec-09 1:44
dataminers22-Dec-09 1:44 
AnswerRe: Cannot create ActiveX component instance Pin
Luc Pattyn22-Dec-09 3:18
sitebuilderLuc Pattyn22-Dec-09 3:18 
AnswerRe: Cannot create ActiveX component instance Pin
Dave Kreskowiak22-Dec-09 3:54
mveDave Kreskowiak22-Dec-09 3:54 
QuestionCAD library Pin
hairy_hats22-Dec-09 1:36
hairy_hats22-Dec-09 1:36 
AnswerRe: CAD library Pin
Vimalsoft(Pty) Ltd22-Dec-09 2:22
professionalVimalsoft(Pty) Ltd22-Dec-09 2:22 
Questionsoftware.... Pin
code_breaker22-Dec-09 0:59
code_breaker22-Dec-09 0:59 
AnswerRe: software.... Pin
Saksida Bojan22-Dec-09 1:04
Saksida Bojan22-Dec-09 1:04 
AnswerRe: software.... Pin
Keith Barrow22-Dec-09 1:13
professionalKeith Barrow22-Dec-09 1:13 

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.