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

C#

 
AnswerRe: C# - How can I read website local path in IIS? Pin
Mbah Dhaim19-Jul-08 22:42
Mbah Dhaim19-Jul-08 22:42 
GeneralRe: C# - How can I read website local path in IIS? Pin
punkymt119-Jul-08 22:53
punkymt119-Jul-08 22:53 
GeneralRe: C# - How can I read website local path in IIS? Pin
Mbah Dhaim20-Jul-08 9:45
Mbah Dhaim20-Jul-08 9:45 
GeneralRe: C# - How can I read website local path in IIS? Pin
punkymt123-Jul-08 3:20
punkymt123-Jul-08 3:20 
QuestionBasic Conversion Pin
dabuskol19-Jul-08 21:13
dabuskol19-Jul-08 21:13 
AnswerRe: Basic Conversion Pin
Dominik Reichl19-Jul-08 21:54
Dominik Reichl19-Jul-08 21:54 
QuestionThread problem using TCP client and Form? Pin
Hax0r77819-Jul-08 21:02
Hax0r77819-Jul-08 21:02 
AnswerRe: Thread problem using TCP client and Form? Pin
Mbah Dhaim19-Jul-08 22:26
Mbah Dhaim19-Jul-08 22:26 
you cannot update a control from WindowsForm directly from another thread because windows form is run in separate thread, you have to invoke that control. I give this small sample but if this information not clear enough you have to search with key 'invoke windows form control'

in your form add this code
delegete void SetMyTextBoxCallback(string text);

public void SetMyTextBox(string text)
{
  if (textBox1.InvokeRequired)
  {
      SetMyTextBoxCallback d = new SetMyTextBoxCallback(SetMyTextBox);
this.Invoke(d, new object[] {text});
  }
  else
  {
textBox1.Text = text + Environment.NewLine + textBox1.Text;
Application.DoEvents();
  }
}


then call SetMyTextBox method in where your code need to update text in textbox

hope it helps

dhaim
program is hobby that make some money as side effect Smile | :)

GeneralRe: Thread problem using TCP client and Form? Pin
Hax0r77820-Jul-08 6:31
Hax0r77820-Jul-08 6:31 
GeneralRe: Thread problem using TCP client and Form? Pin
Hax0r77820-Jul-08 7:13
Hax0r77820-Jul-08 7:13 
GeneralRe: Thread problem using TCP client and Form? Pin
Mbah Dhaim20-Jul-08 13:24
Mbah Dhaim20-Jul-08 13:24 
Questionnamespace error problem Pin
auberondreaming19-Jul-08 17:31
auberondreaming19-Jul-08 17:31 
QuestionDirectX installation Pin
Ranger4919-Jul-08 17:21
Ranger4919-Jul-08 17:21 
AnswerRe: DirectX installation Pin
Tony Richards19-Jul-08 22:46
Tony Richards19-Jul-08 22:46 
AnswerRe: DirectX installation Pin
Ranger4919-Jul-08 22:55
Ranger4919-Jul-08 22:55 
Questionwhat is the best algorithm for an information retrieval system? Pin
harcaype19-Jul-08 16:47
harcaype19-Jul-08 16:47 
AnswerRe: what is the best algorithm for an information retrieval system? Pin
PIEBALDconsult19-Jul-08 18:25
mvePIEBALDconsult19-Jul-08 18:25 
AnswerRe: what is the best algorithm for an information retrieval system? Pin
harcaype19-Jul-08 20:32
harcaype19-Jul-08 20:32 
GeneralRe: what is the best algorithm for an information retrieval system? Pin
Colin Angus Mackay19-Jul-08 23:53
Colin Angus Mackay19-Jul-08 23:53 
GeneralRe: what is the best algorithm for an information retrieval system? Pin
Mbah Dhaim20-Jul-08 0:08
Mbah Dhaim20-Jul-08 0:08 
GeneralRe: what is the best algorithm for an information retrieval system? Pin
Colin Angus Mackay20-Jul-08 0:20
Colin Angus Mackay20-Jul-08 0:20 
GeneralRe: what is the best algorithm for an information retrieval system? Pin
Mbah Dhaim20-Jul-08 13:19
Mbah Dhaim20-Jul-08 13:19 
GeneralRe: what is the best algorithm for an information retrieval system? Pin
harcaype20-Jul-08 1:56
harcaype20-Jul-08 1:56 
GeneralRe: what is the best algorithm for an information retrieval system? Pin
Guffa20-Jul-08 2:34
Guffa20-Jul-08 2:34 
QuestionHow to bypass Required FieldValidators using VS2003? Pin
Gaurav Aroraa19-Jul-08 10:30
professionalGaurav Aroraa19-Jul-08 10:30 

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.