Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
AnswerRe: process in c# Pin
Rob Philpott9-Feb-10 23:30
Rob Philpott9-Feb-10 23:30 
AnswerRe: process in c# Pin
Calla9-Feb-10 23:52
Calla9-Feb-10 23:52 
AnswerRe: process in c# Pin
PIEBALDconsult10-Feb-10 3:26
mvePIEBALDconsult10-Feb-10 3:26 
QuestionSplit Data Table Records into several parts and assign to different Threads Pin
prabhakar CSPL9-Feb-10 22:47
prabhakar CSPL9-Feb-10 22:47 
QuestionThreading Pin
MumbleB9-Feb-10 22:20
MumbleB9-Feb-10 22:20 
AnswerRe: Threading Pin
OriginalGriff9-Feb-10 22:31
mveOriginalGriff9-Feb-10 22:31 
GeneralRe: Threading Pin
MumbleB9-Feb-10 22:43
MumbleB9-Feb-10 22:43 
GeneralRe: Threading Pin
OriginalGriff9-Feb-10 23:25
mveOriginalGriff9-Feb-10 23:25 
Without actually running it, I can't see anything obviously wrong.
Since this is the code that (doesn't) show the problem, I would be tempted to try
private void setFilename(Control lblctrl, string filename)
{
    Console.WriteLine("setFileName Entered: " + lblCtrl.Name + " : " + filename);
    if (this.WindowState == FormWindowState.Minimized)
        return;
    Console.WriteLine("setFileName PreInvokeCheck: " + lblCtrl.Name + " : " + filename);
    if (lblctrl.InvokeRequired)
        {
        Console.WriteLine("setFileName BeginInvoke: " + lblCtrl.Name + " : " + filename);
        lblctrl.BeginInvoke(new SetLabel(setFilename), new object[] { lblctrl, filename });
        }
    else
        {
        Console.WriteLine("setFileName Direct: " + lblCtrl.Name + " : " + filename);
        lblctrl.Text = filename;
        }
}
Or equivilent to check if it gets to the "setFileName Direct" bit when you don't get the label written. It may give a clue to what is going on (or worse, remove the problem)
If Barbie is so popular, why do you have to buy her friends?

Eagles may soar, but weasels don't get sucked into jet engines.

If at first you don't succeed, destroy all evidence that you tried.

GeneralRe: Threading Pin
MumbleB9-Feb-10 23:35
MumbleB9-Feb-10 23:35 
GeneralRe: Threading Pin
Luc Pattyn10-Feb-10 1:57
sitebuilderLuc Pattyn10-Feb-10 1:57 
QuestionLoading an assembly from a new AppDoamin Pin
ThetaClear9-Feb-10 20:28
ThetaClear9-Feb-10 20:28 
AnswerRe: Loading an assembly from a new AppDoamin Pin
Rob Philpott10-Feb-10 0:11
Rob Philpott10-Feb-10 0:11 
GeneralRe: Loading an assembly from a new AppDoamin Pin
ThetaClear10-Feb-10 9:53
ThetaClear10-Feb-10 9:53 
QuestionRSync Pin
satsumatable9-Feb-10 19:22
satsumatable9-Feb-10 19:22 
QuestionPreventing the dropdown from being opened when drop down button pressed in combobox? Pin
Ron.bharath9-Feb-10 18:53
Ron.bharath9-Feb-10 18:53 
AnswerRe: Preventing the dropdown from being opened when drop down button pressed in combobox? Pin
Hessam Jalali10-Feb-10 1:25
Hessam Jalali10-Feb-10 1:25 
QuestionSuspendLayout ResumeLayout Question Pin
Douglas Kirk9-Feb-10 18:52
Douglas Kirk9-Feb-10 18:52 
AnswerRe: SuspendLayout ResumeLayout Question Pin
Dave Kreskowiak10-Feb-10 2:07
mveDave Kreskowiak10-Feb-10 2:07 
AnswerRe: SuspendLayout ResumeLayout Question Pin
Luc Pattyn10-Feb-10 2:09
sitebuilderLuc Pattyn10-Feb-10 2:09 
QuestionRss Pin
kk.tvm9-Feb-10 18:21
kk.tvm9-Feb-10 18:21 
AnswerRe: Rss Pin
Arun Jacob9-Feb-10 19:13
Arun Jacob9-Feb-10 19:13 
AnswerRe: Rss Pin
Giorgi Dalakishvili9-Feb-10 19:32
mentorGiorgi Dalakishvili9-Feb-10 19:32 
QuestionIEnumerable Min() not working as expected Pin
Member 39190499-Feb-10 16:43
Member 39190499-Feb-10 16:43 
AnswerRe: IEnumerable Min() not working as expected Pin
Dave Kreskowiak10-Feb-10 2:02
mveDave Kreskowiak10-Feb-10 2:02 
QuestionWhat is the use of e.Handled in the KeyDown event Pin
Kalvin @ Work9-Feb-10 11:04
Kalvin @ Work9-Feb-10 11:04 

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.