Click here to Skip to main content
15,901,373 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes19-Aug-07 18:05
uglyeyes19-Aug-07 18:05 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn19-Aug-07 22:50
sitebuilderLuc Pattyn19-Aug-07 22:50 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes21-Aug-07 14:44
uglyeyes21-Aug-07 14:44 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn21-Aug-07 15:38
sitebuilderLuc Pattyn21-Aug-07 15:38 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes9-Sep-07 17:05
uglyeyes9-Sep-07 17:05 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn10-Sep-07 0:07
sitebuilderLuc Pattyn10-Sep-07 0:07 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes10-Sep-07 17:57
uglyeyes10-Sep-07 17:57 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn11-Sep-07 0:25
sitebuilderLuc Pattyn11-Sep-07 0:25 
From the exception's traceback I can see it crashes inside frmContainerThreadExceptionHandler,
so if you don't see it in the database, it did crash before you write it out.
Try adding a Console.WriteLine(myException.ToString()) at the very start of the exception
or something similar (maybe just write to a new text file).

I see frmContainerThreadExceptionHandler is trying to create an ErrorForm and failing at it;
can you show its constructor code?

For a big project having problems I would consider upgrading to 2.0 since a couple of things
have improved, I recon exception handling is one of them. Anyway, I don't expect MS to
fix all bugs they still find in all older versions. If you decide to do it you will need:
- Visual Studio 2005 (the free Express Edition or other);
- 2.0 versions of all third-party stuff if any;
- to reopen your project and let the wizard convert it;
- I expect 99% of code to be compatible; a few classes got their method names or signatures
modified, the first build attempt will point them out.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes11-Sep-07 16:13
uglyeyes11-Sep-07 16:13 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn11-Sep-07 16:31
sitebuilderLuc Pattyn11-Sep-07 16:31 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes11-Sep-07 16:35
uglyeyes11-Sep-07 16:35 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes11-Sep-07 16:40
uglyeyes11-Sep-07 16:40 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn12-Sep-07 0:12
sitebuilderLuc Pattyn12-Sep-07 0:12 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes12-Sep-07 14:02
uglyeyes12-Sep-07 14:02 
GeneralRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn12-Sep-07 14:19
sitebuilderLuc Pattyn12-Sep-07 14:19 
Questionhow can i disable some combination of keys Pin
abdlellah15-Aug-07 6:59
abdlellah15-Aug-07 6:59 
AnswerRe: how can i disable some combination of keys Pin
Rocky#16-Aug-07 1:43
Rocky#16-Aug-07 1:43 
GeneralRe: how can i disable some combination of keys Pin
abdlellah18-Aug-07 3:08
abdlellah18-Aug-07 3:08 
QuestionVisual programming. Pin
Antony5214-Aug-07 7:26
Antony5214-Aug-07 7:26 
AnswerRe: Visual programming. Pin
Pete O'Hanlon16-Aug-07 0:49
mvePete O'Hanlon16-Aug-07 0:49 
GeneralRe: Visual programming. Pin
Luc Pattyn16-Aug-07 1:30
sitebuilderLuc Pattyn16-Aug-07 1:30 
GeneralRe: Visual programming. Pin
Pete O'Hanlon16-Aug-07 3:02
mvePete O'Hanlon16-Aug-07 3:02 
GeneralRe: Visual programming. Pin
Luc Pattyn16-Aug-07 3:16
sitebuilderLuc Pattyn16-Aug-07 3:16 
GeneralRe: Visual programming. Pin
Dave Kreskowiak16-Aug-07 3:34
mveDave Kreskowiak16-Aug-07 3:34 
JokeRe: Visual programming. [modified] Pin
Luc Pattyn16-Aug-07 3:41
sitebuilderLuc Pattyn16-Aug-07 3:41 

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.