Click here to Skip to main content
15,904,652 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do i configure .Net framework configuration tools Pin
steevlee@hotmail.com27-Sep-07 10:58
steevlee@hotmail.com27-Sep-07 10:58 
QuestionComboBox Pin
dCodeProvider27-Sep-07 7:29
dCodeProvider27-Sep-07 7:29 
AnswerRe: ComboBox Pin
Ed.Poore27-Sep-07 7:33
Ed.Poore27-Sep-07 7:33 
AnswerRe: ComboBox Pin
Dave Kreskowiak27-Sep-07 7:42
mveDave Kreskowiak27-Sep-07 7:42 
QuestionPrinting [modified] Pin
rowdykuttan27-Sep-07 7:27
rowdykuttan27-Sep-07 7:27 
AnswerRe: Printing Pin
il_masacratore27-Sep-07 21:36
il_masacratore27-Sep-07 21:36 
GeneralRe: Printing Pin
rowdykuttan28-Sep-07 2:56
rowdykuttan28-Sep-07 2:56 
QuestionVista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 7:23
AlexZieg7127-Sep-07 7:23 
Hi,

I have written an application (.NET 1.1, Windows.Forms) successfully running on not-Vista. But a customer reported, that under Vista the application is killed by Windows somewhere during his session after clicking a button, which starts a time-consuming calculation. (Other customers have this application running successfully under Vista)

Vista pops up a form
"myApp has stopped working. A problem has caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."
Hm, Windows is able to do that...? Well...

Nevertheless I want to get active to find the error.

Perhaps I should mention that the progress-bar form for that calculation, which runs in a separate thread, is opened successfully immediately before the crash.

Following exception was noted by my application:

System.ObjectDisposedException: Cannot access a disposed object.<br />
Object name: 'myApp'.<br />
   at System.Windows.Forms.Control.CreateHandle()<br />
   at System.Windows.Forms.Form.CreateHandle()<br />
   at System.Windows.Forms.Control.get_Handle()<br />
   at System.Windows.Forms.Form.FillInCreateParamsStartPosition(CreateParams cp)<br />
   at System.Windows.Forms.Form.get_CreateParams()<br />
   at System.Windows.Forms.Control.CreateHandle()<br />
   at System.Windows.Forms.Form.CreateHandle()<br />
   at System.Windows.Forms.Control.get_Handle()<br />
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)<br />
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)<br />
   at System.Windows.Forms.Control.Show()<br />
   at ImageIron.this_Load(Object obj, EventArgs ea)<br />
   at System.Windows.Forms.Form.OnLoad(EventArgs e)<br />
   at System.Windows.Forms.Form.OnCreateControl()<br />
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)<br />
   at System.Windows.Forms.Control.CreateControl()<br />
   at System.Windows.Forms.Control.WmShowWindow(Message& m)<br />
   at System.Windows.Forms.Control.WndProc(Message& m)<br />
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)<br />
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)<br />
   at System.Windows.Forms.Form.WmShowWindow(Message& m)<br />
   at System.Windows.Forms.Form.WndProc(Message& m)<br />
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br />
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br />
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Does anybody know that problem?
Thanks in advance,
Alex
AnswerRe: Vista: "myApp has stopped working..." Pin
Ed.Poore27-Sep-07 7:35
Ed.Poore27-Sep-07 7:35 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 8:02
AlexZieg7127-Sep-07 8:02 
GeneralRe: Vista: "myApp has stopped working..." Pin
JoeRip27-Sep-07 21:55
JoeRip27-Sep-07 21:55 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 23:47
AlexZieg7127-Sep-07 23:47 
AnswerRe: Vista: "myApp has stopped working..." Pin
Judah Gabriel Himango27-Sep-07 8:01
sponsorJudah Gabriel Himango27-Sep-07 8:01 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 8:07
AlexZieg7127-Sep-07 8:07 
GeneralRe: Vista: "myApp has stopped working..." Pin
Judah Gabriel Himango27-Sep-07 8:16
sponsorJudah Gabriel Himango27-Sep-07 8:16 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 9:45
AlexZieg7127-Sep-07 9:45 
GeneralRe: Vista: "myApp has stopped working..." Pin
Judah Gabriel Himango27-Sep-07 11:50
sponsorJudah Gabriel Himango27-Sep-07 11:50 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 20:50
AlexZieg7127-Sep-07 20:50 
AnswerRe: Vista: "myApp has stopped working..." Pin
Luc Pattyn27-Sep-07 9:03
sitebuilderLuc Pattyn27-Sep-07 9:03 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 9:47
AlexZieg7127-Sep-07 9:47 
GeneralRe: Vista: "myApp has stopped working..." Pin
Luc Pattyn27-Sep-07 10:01
sitebuilderLuc Pattyn27-Sep-07 10:01 
GeneralRe: Vista: "myApp has stopped working..." Pin
AlexZieg7127-Sep-07 9:49
AlexZieg7127-Sep-07 9:49 
GeneralRe: Vista: &quot;myApp has stopped working...&quot; Pin
Luc Pattyn27-Sep-07 10:06
sitebuilderLuc Pattyn27-Sep-07 10:06 
GeneralRe: Vista: &quot;myApp has stopped working...&quot; Pin
AlexZieg7127-Sep-07 10:15
AlexZieg7127-Sep-07 10:15 
GeneralRe: Vista: "myApp has stopped working..." Pin
Judah Gabriel Himango27-Sep-07 11:38
sponsorJudah Gabriel Himango27-Sep-07 11:38 

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.