Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
AnswerRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
Eddy Vluggen27-Sep-11 6:48
professionalEddy Vluggen27-Sep-11 6:48 
GeneralRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
kutbinayi27-Sep-11 7:53
kutbinayi27-Sep-11 7:53 
GeneralRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
Eddy Vluggen27-Sep-11 8:19
professionalEddy Vluggen27-Sep-11 8:19 
GeneralRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
kutbinayi27-Sep-11 8:29
kutbinayi27-Sep-11 8:29 
AnswerRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
Eddy Vluggen27-Sep-11 8:35
professionalEddy Vluggen27-Sep-11 8:35 
GeneralRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
kutbinayi27-Sep-11 8:48
kutbinayi27-Sep-11 8:48 
GeneralRe: SQL SERVER 2008 Express Backup and Restore using SMO does not effect database Pin
Eddy Vluggen27-Sep-11 11:55
professionalEddy Vluggen27-Sep-11 11:55 
Question(Rich)TextBox problem! Pin
OlivierPD27-Sep-11 4:07
OlivierPD27-Sep-11 4:07 
Hello,

i have a strange problem with a TextBox.

I use a TextBox to show a ComPort Log. A communication Thread fires a datarecieved event and the Form with the Textbox handles this Event and uses Invoke to change the Content of the (multiline) TextBox.
C#
void ComPortLog_PropertyChangedEvent() {
  MethodInvoker ComPortLogChanged = delegate {
    textBox2.Text = ComPortLog.Log; 
  };
  if (textBox2.InvokeRequired) Invoke(ComPortLogChanged);
  else ComPortLogChanged();
}

After a Timespan (0-30 Minutes) this stops Working? The string in ComPortLog.Log is correct and complete but the string in the Textbox.Text isnt...

somehow this isnt working anymore:
C#
textBox2.Text = ComPortLog.Log;

The string in textBox2.Text is truncated to a value which differs from program run to programrun. Why? The Length of the ComPortLog.Log string is far below MaxLength Property of the textbox.

I tried to use a richTextBox instead, i tried to use the Lines Property instead of Text Property but nothing helps.

The Textbox refuses to show the complete ComPortLog.Log string after a while.

Any suggestions/ideas about this?
AnswerRe: (Rich)TextBox problem! Pin
Luc Pattyn27-Sep-11 4:21
sitebuilderLuc Pattyn27-Sep-11 4:21 
GeneralRe: (Rich)TextBox problem! Pin
OlivierPD27-Sep-11 6:25
OlivierPD27-Sep-11 6:25 
GeneralRe: (Rich)TextBox problem! Pin
Pete O'Hanlon27-Sep-11 6:27
mvePete O'Hanlon27-Sep-11 6:27 
GeneralRe: (Rich)TextBox problem! Pin
OlivierPD27-Sep-11 6:41
OlivierPD27-Sep-11 6:41 
AnswerRe: (Rich)TextBox problem! Pin
Luc Pattyn27-Sep-11 7:21
sitebuilderLuc Pattyn27-Sep-11 7:21 
AnswerRe: (Rich)TextBox problem! Pin
BobJanova27-Sep-11 5:15
BobJanova27-Sep-11 5:15 
GeneralRe: (Rich)TextBox problem! Pin
OlivierPD27-Sep-11 6:31
OlivierPD27-Sep-11 6:31 
Questionplz give guideline.. Pin
Pragya727-Sep-11 1:22
Pragya727-Sep-11 1:22 
AnswerRe: plz give guideline.. Pin
Richard MacCutchan27-Sep-11 1:33
mveRichard MacCutchan27-Sep-11 1:33 
GeneralRe: plz give guideline.. Pin
Pragya730-Sep-11 0:16
Pragya730-Sep-11 0:16 
AnswerRe: plz give guideline.. PinPopular
BobJanova27-Sep-11 1:39
BobJanova27-Sep-11 1:39 
AnswerRe: plz give guideline.. Pin
Pete O'Hanlon27-Sep-11 3:02
mvePete O'Hanlon27-Sep-11 3:02 
AnswerRe: plz give guideline.. Pin
RichardGrimmer28-Sep-11 6:25
RichardGrimmer28-Sep-11 6:25 
QuestionC# InvokeRequired into WPF Pin
iresh8827-Sep-11 0:53
iresh8827-Sep-11 0:53 
AnswerRe: C# InvokeRequired into WPF Pin
BobJanova27-Sep-11 1:36
BobJanova27-Sep-11 1:36 
GeneralRe: C# InvokeRequired into WPF Pin
Ian Shlasko27-Sep-11 2:57
Ian Shlasko27-Sep-11 2:57 
GeneralRe: C# InvokeRequired into WPF Pin
iresh8827-Sep-11 4:28
iresh8827-Sep-11 4:28 

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.