Click here to Skip to main content
15,887,399 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralGetType across assemblies question Pin
-=jarl=-3-Nov-04 23:50
-=jarl=-3-Nov-04 23:50 
Generalcolumn_changed vs. column_changing event~~~ Pin
Rebecca Gao2-Nov-04 19:14
Rebecca Gao2-Nov-04 19:14 
GeneralRe: column_changed vs. column_changing event~~~ Pin
Colin Angus Mackay4-Nov-04 1:12
Colin Angus Mackay4-Nov-04 1:12 
GeneralCalling Windows service in webServices Pin
Sreepathi2-Nov-04 8:28
Sreepathi2-Nov-04 8:28 
Questiondoes anyone have a combined tree & grid control? Pin
nred3331-Oct-04 18:01
nred3331-Oct-04 18:01 
AnswerRe: does anyone have a combined tree & grid control? Pin
bbt8031-Oct-04 18:49
bbt8031-Oct-04 18:49 
GeneralThreading help! Pin
kaptaintens31-Oct-04 11:31
kaptaintens31-Oct-04 11:31 
GeneralRe: Threading help! Pin
bl4ck1c331-Oct-04 13:37
bl4ck1c331-Oct-04 13:37 
You need to Invoke again on the thread the gui runs from.

when the event fires and you receive it on your form instead of updating your control directly you would need to do it through another delegate.

public delegate void UpdateControlHandler(string text);

private void UpdateControl(string text)
{
this.mycontrol.Text = text;
}

private void GotMyEvent(object sender,MyEventArgs e)
{
if(this.InvokeRequired)
{
object [] args = new object[1];
args[0] = e.text;
this.Invoke(new UpdateControlHandler(this.UpdateControl),args);
}
else
{
this.UpdateControl(e.text);
}
}

hope this helps
it works for me
GeneralRe: Threading help! Pin
kaptaintens31-Oct-04 13:46
kaptaintens31-Oct-04 13:46 
GeneralVb.Net & Yahoo Pin
Meysam.Khayatan31-Oct-04 8:56
Meysam.Khayatan31-Oct-04 8:56 
GeneralNested Loops Pin
compkitty729-Oct-04 5:43
compkitty729-Oct-04 5:43 
GeneralRe: Nested Loops Pin
Nicholas Cardi29-Oct-04 5:53
Nicholas Cardi29-Oct-04 5:53 
GeneralRe: Nested Loops Pin
CotactMayur14-Nov-04 2:46
CotactMayur14-Nov-04 2:46 
GeneralRun-time,design-time component Pin
Edward Diener28-Oct-04 14:17
Edward Diener28-Oct-04 14:17 
GeneralListViewItem Height Pin
sridhar_india28-Oct-04 9:13
sridhar_india28-Oct-04 9:13 
GeneralRe: Killing a process Pin
YXZ28-Oct-04 7:22
YXZ28-Oct-04 7:22 
GeneralRe: Killing a process Pin
Stanciu Vlad29-Oct-04 5:00
Stanciu Vlad29-Oct-04 5:00 
GeneralRe: Killing a process Pin
YXZ29-Oct-04 9:53
YXZ29-Oct-04 9:53 
GeneralHelp Prob: not recognised as MDIContainer Pin
dazzler227-Oct-04 20:28
dazzler227-Oct-04 20:28 
GeneralKilling a process Pin
YXZ27-Oct-04 11:07
YXZ27-Oct-04 11:07 
GeneralRe: Killing a process Pin
Stanciu Vlad27-Oct-04 20:02
Stanciu Vlad27-Oct-04 20:02 
GeneralWindows Media Player v10 Color shading Pin
Tony D. Abel27-Oct-04 7:53
Tony D. Abel27-Oct-04 7:53 
GeneralSqlCEDataAdapter problem. How can I update ? Dataset has the changes. Pin
vasper27-Oct-04 3:27
professionalvasper27-Oct-04 3:27 
Generalcan't see events for my form Pin
sagmam26-Oct-04 1:06
sagmam26-Oct-04 1:06 
GeneralDeploying windows applications Pin
Britnt725-Oct-04 10:53
Britnt725-Oct-04 10:53 

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.