Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
AnswerRe: Merchant Connect - Webservice anyone? Pin
Paul Conrad31-Oct-08 7:34
professionalPaul Conrad31-Oct-08 7:34 
Questionlistbox population Pin
arkiboys31-Oct-08 5:27
arkiboys31-Oct-08 5:27 
AnswerRe: listbox population Pin
Eddy Vluggen31-Oct-08 5:48
professionalEddy Vluggen31-Oct-08 5:48 
GeneralRe: listbox population Pin
Luc Pattyn31-Oct-08 7:14
sitebuilderLuc Pattyn31-Oct-08 7:14 
Questionthreading Pin
arkiboys31-Oct-08 5:25
arkiboys31-Oct-08 5:25 
AnswerRe: threading Pin
Eddy Vluggen31-Oct-08 5:53
professionalEddy Vluggen31-Oct-08 5:53 
AnswerRe: threading Pin
Guffa31-Oct-08 6:48
Guffa31-Oct-08 6:48 
AnswerRe: threading Pin
aalex67531-Oct-08 6:50
aalex67531-Oct-08 6:50 
What you need to do is add a check if an invoke is required change the text from the main thread by invoking it. To do an invoke you need to do 3 things:

1. Create an EventHandler.
private delegate void SetTextValueHandler(string value);


2. Create a function whose signature matches the delegate and does what you want.
private void SetTextValueToConsole(string value)
{
  this.text = value;
}


3. Change the line that fails to something like this:
if(this.InvokeRequired)
{
  this.Invoke(new SetTextValueHandler(SetTextValueToConsole), new object[1] { "processing " + i.ToString()});
}
else
{
  this.text = "processing " + i.ToString();
}

AnswerRe: threading Pin
Giorgi Dalakishvili31-Oct-08 8:28
mentorGiorgi Dalakishvili31-Oct-08 8:28 
GeneralRe: threading Pin
arkiboys31-Oct-08 9:31
arkiboys31-Oct-08 9:31 
GeneralRe: threading Pin
Giorgi Dalakishvili31-Oct-08 9:43
mentorGiorgi Dalakishvili31-Oct-08 9:43 
QuestionAdvice on what driver to use for multiple Webcam capture Pin
Franko197331-Oct-08 5:20
Franko197331-Oct-08 5:20 
QuestionDetecting when user has changed selection to another row (single selection item grid) Pin
kanchoette31-Oct-08 3:31
kanchoette31-Oct-08 3:31 
AnswerRe: Detecting when user has changed selection to another row (single selection item grid) Pin
Ashfield31-Oct-08 4:53
Ashfield31-Oct-08 4:53 
GeneralRe: Detecting when user has changed selection to another row (single selection item grid) Pin
led mike31-Oct-08 4:55
led mike31-Oct-08 4:55 
GeneralRe: Detecting when user has changed selection to another row (single selection item grid) Pin
Ashfield31-Oct-08 5:55
Ashfield31-Oct-08 5:55 
QuestionHow I Change Menu Css on page load Event OR Runtime Pin
IshtiaqueJ31-Oct-08 2:30
IshtiaqueJ31-Oct-08 2:30 
AnswerRe: How I Change Menu Css on page load Event OR Runtime Pin
Krazy Programmer31-Oct-08 2:53
Krazy Programmer31-Oct-08 2:53 
AnswerRe: How I Change Menu Css on page load Event OR Runtime Pin
leppie31-Oct-08 2:57
leppie31-Oct-08 2:57 
GeneralServiceController remote access, impersonation Pin
laserbaronen31-Oct-08 2:20
laserbaronen31-Oct-08 2:20 
QuestionDictionary size issue Pin
George_George31-Oct-08 2:16
George_George31-Oct-08 2:16 
AnswerRe: Dictionary size issue Pin
Luc Pattyn31-Oct-08 2:25
sitebuilderLuc Pattyn31-Oct-08 2:25 
GeneralRe: Dictionary size issue Pin
George_George31-Oct-08 2:32
George_George31-Oct-08 2:32 
GeneralRe: Dictionary size issue Pin
Luc Pattyn31-Oct-08 2:44
sitebuilderLuc Pattyn31-Oct-08 2:44 
GeneralRe: Dictionary size issue Pin
George_George31-Oct-08 3:35
George_George31-Oct-08 3:35 

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.