F
Francesco2017
Guest
Hi All,
In my application, (C#), the user can do a file backup operation.
The user chooses the backup directory (using filedialogue) and then clicks OK.
I need messages to be displayed during the various stages of the backup operation.
For example:
1) Creating backup directory
2) Checking files.
3) Backup successful.
Of course I have discovered that Message box stops the tread. And this cannot be done this way.
I an engineer not a programmer, but i have investigated the two possible solutions.
First one was 'BackgroundWorker' and the other was 'Multytreading'.
I got completely confused and frustrated during my investigation. It is much more complicated than i expected.
Which function is more appropriate for this task? Is there a simpler way to do this?
I need your help, please.
Regards
Francesco C
Continue reading...
In my application, (C#), the user can do a file backup operation.
The user chooses the backup directory (using filedialogue) and then clicks OK.
I need messages to be displayed during the various stages of the backup operation.
For example:
1) Creating backup directory
2) Checking files.
3) Backup successful.
Of course I have discovered that Message box stops the tread. And this cannot be done this way.
I an engineer not a programmer, but i have investigated the two possible solutions.
First one was 'BackgroundWorker' and the other was 'Multytreading'.
I got completely confused and frustrated during my investigation. It is much more complicated than i expected.
Which function is more appropriate for this task? Is there a simpler way to do this?
I need your help, please.
Regards
Francesco C
Continue reading...