Click here to Skip to main content
15,914,014 members
Home / Discussions / C#
   

C#

 
AnswerRe: Operator Overloading Pin
Wendelius26-Jan-09 7:46
mentorWendelius26-Jan-09 7:46 
Questionc# windows datagridview [modified] Pin
s_aslam9825-Jan-09 5:53
s_aslam9825-Jan-09 5:53 
Questioninserting more format into one line in word using C# Pin
Lopy12325-Jan-09 4:32
Lopy12325-Jan-09 4:32 
QuestionRegular Expressions Pin
the_jat25-Jan-09 3:49
the_jat25-Jan-09 3:49 
AnswerRe: Regular Expressions Pin
Guffa25-Jan-09 5:13
Guffa25-Jan-09 5:13 
Questiondiff in need of method overloading * cons overloading Pin
Ali_10024-Jan-09 23:58
Ali_10024-Jan-09 23:58 
AnswerRe: diff in need of method overloading * cons overloading Pin
DaveyM6925-Jan-09 0:12
professionalDaveyM6925-Jan-09 0:12 
QuestionPreventing filedestruction after saving richtextbox contents at program end Pin
fracalifa24-Jan-09 23:31
fracalifa24-Jan-09 23:31 
Hi all,

the last operation of my program is to store the contents of a richtextbox to a file.
Often the contents of the file will be destroyed.
Saving by hand (button) never destroys the contents.
So it seems that the saving task (asynchronious ???) will be finished too soon at the end of my program.
I inserted a sleeptime to prevent the destruction an to give the savetask the time it needs but that's no solution steadily.

How can I detect, the end of the savetask of the richtextbox before finishing the program ?

tnx
Frank
AnswerRe: Preventing filedestruction after saving richtextbox contents at program end Pin
Wendelius25-Jan-09 0:05
mentorWendelius25-Jan-09 0:05 
GeneralRe: Preventing filedestruction after saving richtextbox contents at program end Pin
fracalifa25-Jan-09 0:26
fracalifa25-Jan-09 0:26 
GeneralRe: Preventing filedestruction after saving richtextbox contents at program end Pin
DaveyM6925-Jan-09 0:32
professionalDaveyM6925-Jan-09 0:32 
AnswerRe: Preventing filedestruction after saving richtextbox contents at program end Pin
fracalifa25-Jan-09 0:59
fracalifa25-Jan-09 0:59 
GeneralRe: Preventing filedestruction after saving richtextbox contents at program end Pin
Wendelius25-Jan-09 0:35
mentorWendelius25-Jan-09 0:35 
GeneralRe: Preventing filedestruction after saving richtextbox contents at program end Pin
fracalifa25-Jan-09 0:56
fracalifa25-Jan-09 0:56 
GeneralRe: Preventing filedestruction after saving richtextbox contents at program end Pin
Wendelius25-Jan-09 1:02
mentorWendelius25-Jan-09 1:02 
AnswerRe: Preventing filedestruction after saving richtextbox contents at program end Pin
DaveyM6925-Jan-09 0:07
professionalDaveyM6925-Jan-09 0:07 
QuestionData binding Pin
half-life24-Jan-09 22:42
half-life24-Jan-09 22:42 
AnswerRe: Data binding Pin
Wendelius25-Jan-09 0:03
mentorWendelius25-Jan-09 0:03 
GeneralRe: Data binding Pin
half-life25-Jan-09 0:40
half-life25-Jan-09 0:40 
GeneralRe: Data binding Pin
Wendelius25-Jan-09 0:51
mentorWendelius25-Jan-09 0:51 
GeneralRe: Data binding Pin
half-life25-Jan-09 1:20
half-life25-Jan-09 1:20 
GeneralRe: Data binding Pin
Wendelius25-Jan-09 1:34
mentorWendelius25-Jan-09 1:34 
GeneralRe: Data binding Pin
half-life25-Jan-09 1:51
half-life25-Jan-09 1:51 
GeneralRe: Data binding Pin
Wendelius25-Jan-09 1:57
mentorWendelius25-Jan-09 1:57 
GeneralRe: Data binding Pin
half-life25-Jan-09 2:11
half-life25-Jan-09 2:11 

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.