Click here to Skip to main content
15,880,725 members
Home / Discussions / C#
   

C#

 
AnswerRe: Microsoft.Practices.Composite.Presentation.Events Pin
Dave Kreskowiak16-Nov-22 12:49
mveDave Kreskowiak16-Nov-22 12:49 
AnswerRe: Microsoft.Practices.Composite.Presentation.Events Pin
Richard Deeming16-Nov-22 21:31
mveRichard Deeming16-Nov-22 21:31 
QuestionI'm getting error code CS1001. And I'm not sure how to diagnose the problem. Pin
Rakos4613-Nov-22 10:46
Rakos4613-Nov-22 10:46 
AnswerRe: I'm getting error code CS1001. And I'm not sure how to diagnose the problem. Pin
Mycroft Holmes13-Nov-22 11:06
professionalMycroft Holmes13-Nov-22 11:06 
AnswerRe: I'm getting error code CS1001. And I'm not sure how to diagnose the problem. Pin
OriginalGriff13-Nov-22 18:53
mveOriginalGriff13-Nov-22 18:53 
AnswerRe: I'm getting error code CS1001. And I'm not sure how to diagnose the problem. Pin
Calin Negru14-Nov-22 3:28
Calin Negru14-Nov-22 3:28 
AnswerRe: I'm getting error code CS1001. And I'm not sure how to diagnose the problem. Pin
Victor Nijegorodov14-Nov-22 3:40
Victor Nijegorodov14-Nov-22 3:40 
QuestionMy Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Radheya Patil9-Nov-22 17:45
Radheya Patil9-Nov-22 17:45 
I have developed Console Application in .NET Compact Framework 3.5 for an embedded device.

I have a foreach loop which check for file exists. If file not found I have displayed message using MessageBox.
My message box pops up to 5 times due to use of for each loop. But at the end of 5th MessageBox display when i press Ok it gets stuck on
MessageBox.Show(p + "File Not Found...!!!!");
and does not go forward when checked in debugging mode

foreach (string p in TypeofProcess)
                    {
                        string FileToFetch1 = getFileName(p);
                        if (File.Exists(FileToFetch1))
                        {
                            using (StreamReader r = File.OpenText(FileToFetch1))
                            {
                                ReadAndDumpToCNC(r, 36000+i, 31000+i, 41000+i);
                            }
                        }
                        else
                        {
                            MessageBox.Show(p + "File Not Found...!!!!");
                        }
                        i = i + 1000;
                    }

AnswerRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
OriginalGriff9-Nov-22 18:48
mveOriginalGriff9-Nov-22 18:48 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Radheya Patil10-Nov-22 1:05
Radheya Patil10-Nov-22 1:05 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Richard Deeming10-Nov-22 1:24
mveRichard Deeming10-Nov-22 1:24 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Radheya Patil10-Nov-22 1:42
Radheya Patil10-Nov-22 1:42 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Richard Deeming10-Nov-22 2:00
mveRichard Deeming10-Nov-22 2:00 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Radheya Patil10-Nov-22 16:37
Radheya Patil10-Nov-22 16:37 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
jsc4210-Nov-22 5:08
professionaljsc4210-Nov-22 5:08 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Radheya Patil10-Nov-22 16:39
Radheya Patil10-Nov-22 16:39 
GeneralRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
OriginalGriff10-Nov-22 20:18
mveOriginalGriff10-Nov-22 20:18 
QuestionRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Eddy Vluggen11-Nov-22 6:37
professionalEddy Vluggen11-Nov-22 6:37 
AnswerRe: My Code gets stuck at MessageBox.Show() after pressing OK it does not move further. Pin
Gerry Schmitz11-Nov-22 6:46
mveGerry Schmitz11-Nov-22 6:46 
QuestionNet framework again Pin
Calin Negru8-Nov-22 7:59
Calin Negru8-Nov-22 7:59 
AnswerRe: Net framework again Pin
OriginalGriff8-Nov-22 10:05
mveOriginalGriff8-Nov-22 10:05 
GeneralRe: Net framework again Pin
Calin Negru8-Nov-22 22:01
Calin Negru8-Nov-22 22:01 
GeneralRe: Net framework again Pin
OriginalGriff8-Nov-22 23:14
mveOriginalGriff8-Nov-22 23:14 
GeneralRe: Net framework again Pin
Calin Negru9-Nov-22 4:00
Calin Negru9-Nov-22 4:00 
GeneralRe: Net framework again Pin
OriginalGriff9-Nov-22 4:12
mveOriginalGriff9-Nov-22 4:12 

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.