15,898,371 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Mostafa M.A (Top 17 by date)
Mostafa M.A
16-Aug-12 16:40pm
View
thanks for your nice comment
I have another question
what about using a background worker?
I'm not enough familiar with this control, so I don't know what it does exactly
but as gladiatron solution said, I wanna ask what is it? and how can I use it? or does it do what I want??
Mostafa M.A
16-Aug-12 16:21pm
View
what you said above just shows us the number of copied files, it means that when a file copied completely it says us that one file out of all copied but what if we have just one file?
can we get the size of copied?
Mostafa M.A
16-Aug-12 16:00pm
View
you think it will works right?
would it be any error or exception in this algorithm?
Mostafa M.A
16-Aug-12 15:58pm
View
thanks
Mostafa M.A
16-Aug-12 15:54pm
View
it's a good answer, I like it. but please read the solution that I wrote myself below,and tell me your idea about it, I think it's more general. that means, exactly this idea you said now, popped in my mind several minutes ago, but more general.
Mostafa M.A
16-Aug-12 15:12pm
View
I get the point, but there is a question here
there are a lot of applications that when you run them at the splash screen or the main form the show something like this(the file that has been uploaded or the file has been copied or etc)
what is the number that they show?
there is a simple example for what I said
when you open one of Microsoft Office applications such as Word
in it's splash screen a number is shown of amount of it's progress,so what's that number?
Mostafa M.A
16-Aug-12 15:08pm
View
ok I want the thing that you name (sum of copied files in bytes).
how can I get it?
Mostafa M.A
16-Aug-12 14:38pm
View
you mean we can have the percentage of a copy progress NEVER?
i mean when 10mb out of 100mb is copied how can we get that (for e.g 10mb) amount? it seems you said it's not possible at all
Mostafa M.A
16-Aug-12 14:35pm
View
and how I can write such a static class that you said?
I use the copy method in File Class, how can I write a class that can monitor the progress of copying method?
Mostafa M.A
16-Aug-12 14:33pm
View
not at all, the percentage is not important at all
the size of files that are copied is wanted...
Mostafa M.A
16-Aug-12 14:31pm
View
let me explain more with an example:
the application needs two database files to run, each of them is 50mb.
when app wants to be executed it must copy database files in it's directory and then open them, then the application is ready to use.
I want to know the size of copied file in each moment
for e.g (now [23mb] out of 100mb is copied one second later [29mb] out of 100mb is copied and so on...
I want to know this size: 23mb -29mb .....
Mostafa M.A
15-Aug-12 22:18pm
View
thanks
it's exactly what I want, but as you said before my knowledge is not enough to understand whole code.
actually I didn't understand most of it's parts.
hope that I'll understand all of it soon.
you know, I don't have such a lot of free time to go on C# programming, because this is not my main field in university. I study Civil Engineering...
so it might take such a long time for me to get familiar and to be expert in C#.
I really thank you for your kind answers to my problems
Mostafa M.A
15-Aug-12 22:01pm
View
thank you, it was so useful, I see your second link and it helped me a lot
Mostafa M.A
15-Aug-12 21:24pm
View
I said the reason of sending account to another class
it's a class that have many functions for working with data that I prepared myself, so I wanted to make a dll of that
one of the methods is this.
you mean that I have to overload the method 2-3 times for getting for e.g 5 or 6 or more parameters, right?
Mostafa M.A
15-Aug-12 21:19pm
View
thank a lot Sergey Alexandrovich Kryukov
yes you are write
because I'm new to this language and also this site
I must learn many things first
by now that I'm a member of this site I have good friend like you to guide me what should I learn for my purposes
Mostafa M.A
15-Aug-12 16:01pm
View
ok it's a solution; there is a lot of code snippets in net for making a zip file but most of them was difficult to handle or understand, would you please help me for a solution to make a zip file from a directory?
Mostafa M.A
15-Aug-12 14:42pm
View
Deleted
ok it's a solution; there is a lot of code snippets in net for making a zip file but most of them was difficult to handle or understand, would you please help me for a solution to make a zip file from a directory?
Show More