Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: cross thread operation not valid, when closing a windows form Pin
Henry Minute17-Apr-09 1:55
Henry Minute17-Apr-09 1:55 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:05
But_Im_a_Lady17-Apr-09 2:05 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
Henry Minute17-Apr-09 2:12
Henry Minute17-Apr-09 2:12 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:14
But_Im_a_Lady17-Apr-09 2:14 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:25
But_Im_a_Lady17-Apr-09 2:25 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
Henry Minute17-Apr-09 2:39
Henry Minute17-Apr-09 2:39 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:49
But_Im_a_Lady17-Apr-09 2:49 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
Henry Minute17-Apr-09 2:59
Henry Minute17-Apr-09 2:59 
If your 'faxing' thread does not run, and it certainly shouldn't from the code you posted, then there has to be another thread running to cause the exception.

If you don't know about this thread, you obviously cannot close it in the FormClosing handler. You might however put a break point there and use the debugger to search for the 'Thread With No Name'. I would suggest Googling for 'Debugging Threads C#' for methods to do this.

As always, come back if no joy.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady20-Apr-09 1:16
But_Im_a_Lady20-Apr-09 1:16 
AnswerRe: cross thread operation not valid, when closing a windows form Pin
12Code17-Apr-09 2:06
12Code17-Apr-09 2:06 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:15
But_Im_a_Lady17-Apr-09 2:15 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:22
But_Im_a_Lady17-Apr-09 2:22 
AnswerRe: cross thread operation not valid, when closing a windows form Pin
0x3c017-Apr-09 2:46
0x3c017-Apr-09 2:46 
GeneralRe: cross thread operation not valid, when closing a windows form Pin
But_Im_a_Lady17-Apr-09 2:54
But_Im_a_Lady17-Apr-09 2:54 
AnswerRe: cross thread operation not valid, when closing a windows form Pin
Luc Pattyn17-Apr-09 4:01
sitebuilderLuc Pattyn17-Apr-09 4:01 
QuestionNeed Help For Reading and Sending SMS Through SonyEricsson Mobile Using C# Language Pin
A.Q.Ghouri17-Apr-09 1:15
A.Q.Ghouri17-Apr-09 1:15 
AnswerRe: Need Help For Reading and Sending SMS Through SonyEricsson Mobile Using C# Language Pin
Rajesh Anuhya17-Apr-09 1:22
professionalRajesh Anuhya17-Apr-09 1:22 
GeneralRe: Need Help For Reading and Sending SMS Through SonyEricsson Mobile Using C# Language Pin
A.Q.Ghouri20-Apr-09 18:06
A.Q.Ghouri20-Apr-09 18:06 
AnswerRe: Need Help For Reading and Sending SMS Through SonyEricsson Mobile Using C# Language Pin
Giorgi Dalakishvili17-Apr-09 2:07
mentorGiorgi Dalakishvili17-Apr-09 2:07 
GeneralRe: Need Help For Reading and Sending SMS Through SonyEricsson Mobile Using C# Language Pin
A.Q.Ghouri20-Apr-09 18:29
A.Q.Ghouri20-Apr-09 18:29 
QuestionWhy the line disappear? Pin
lune1217-Apr-09 1:15
lune1217-Apr-09 1:15 
AnswerRe: Why the line disappear? Pin
Luc Pattyn17-Apr-09 1:18
sitebuilderLuc Pattyn17-Apr-09 1:18 
GeneralRe: Why the line disappear? Pin
Henry Minute17-Apr-09 1:24
Henry Minute17-Apr-09 1:24 
GeneralU R D) Pin
Luc Pattyn17-Apr-09 1:38
sitebuilderLuc Pattyn17-Apr-09 1:38 
QuestionRe: Why the line disappear? Pin
lune1217-Apr-09 1:36
lune1217-Apr-09 1:36 

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.