Click here to Skip to main content
15,916,846 members
Home / Discussions / C#
   

C#

 
AnswerRe: How i can control my web site ? Pin
Nagy Vilmos10-Feb-10 3:09
professionalNagy Vilmos10-Feb-10 3:09 
GeneralRe: How i can control my web site ? Pin
Nematjon Rahmanov10-Feb-10 3:35
Nematjon Rahmanov10-Feb-10 3:35 
QuestionNested Class [modified] Pin
i gr810-Feb-10 1:31
i gr810-Feb-10 1:31 
AnswerRe: Nested Class Pin
OriginalGriff10-Feb-10 1:35
mveOriginalGriff10-Feb-10 1:35 
GeneralRe: Nested Class Pin
i gr810-Feb-10 1:53
i gr810-Feb-10 1:53 
GeneralRe: Nested Class Pin
OriginalGriff10-Feb-10 2:02
mveOriginalGriff10-Feb-10 2:02 
QuestionFile associations and ClickOnce Application Reference files Pin
Baeltazor10-Feb-10 1:13
Baeltazor10-Feb-10 1:13 
AnswerRe: File associations and ClickOnce Application Reference files Pin
Tony Richards10-Feb-10 2:16
Tony Richards10-Feb-10 2:16 
GeneralRe: File associations and ClickOnce Application Reference files Pin
Baeltazor10-Feb-10 3:28
Baeltazor10-Feb-10 3:28 
QuestionXMLNode.SelectSingleNode [modified] Pin
swjam10-Feb-10 0:56
swjam10-Feb-10 0:56 
Questionwhat that means Pin
3bood.ghzawi10-Feb-10 0:55
3bood.ghzawi10-Feb-10 0:55 
AnswerRe: what that means Pin
OriginalGriff10-Feb-10 1:07
mveOriginalGriff10-Feb-10 1:07 
AnswerRe: what that means Pin
V.10-Feb-10 1:14
professionalV.10-Feb-10 1:14 
Questionwhat this means Pin
3bood.ghzawi10-Feb-10 0:51
3bood.ghzawi10-Feb-10 0:51 
AnswerRe: what this means Pin
Calla10-Feb-10 1:23
Calla10-Feb-10 1:23 
Questionprocess in c# Pin
noamtzu009-Feb-10 23:19
noamtzu009-Feb-10 23:19 
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 

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.