Click here to Skip to main content
16,006,006 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionhow to check the data in the database Pin
biswa4716-Aug-07 23:15
biswa4716-Aug-07 23:15 
AnswerRe: how to check the data in the database Pin
Paul Conrad18-Aug-07 8:22
professionalPaul Conrad18-Aug-07 8:22 
QuestionListview control Pin
Sunil Radhakrishnan16-Aug-07 7:15
Sunil Radhakrishnan16-Aug-07 7:15 
AnswerRe: Listview control Pin
Giorgi Dalakishvili16-Aug-07 7:34
mentorGiorgi Dalakishvili16-Aug-07 7:34 
GeneralRe: Listview control Pin
Sunil Radhakrishnan18-Aug-07 7:08
Sunil Radhakrishnan18-Aug-07 7:08 
QuestionSystem.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes15-Aug-07 19:02
uglyeyes15-Aug-07 19:02 
AnswerRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
uglyeyes19-Aug-07 13:45
uglyeyes19-Aug-07 13:45 
AnswerRe: System.ComponentModel.Win32Exception: Error creating window handle. Pin
Luc Pattyn19-Aug-07 14:04
sitebuilderLuc Pattyn19-Aug-07 14:04 
Hi,

there is nothing I can say about your problem.

These are rhetoric questions, i.e. things you could think about, I do not
particularly want to get the answers:
- how is it possible your app crashes after a long time, with a handle problem?
aren't your handles created right away?
- are all GUI controls always handled by the same main or "GUI thread"?
- you did not disable cross-thread-violation checks did you?


These are some suggestions:
- compare exceptions every time they occur;
- try to get line numbers;
- are you running debug or release code? could you run debug code?
- add logging: write a line of text to a log file at the start of each major
operation, action, form creation, tab page creation, whatever may help you
in understanding what circumstances are required for it to crash
- add periodic statistic logging, say once every 10 minutes show CPU load,
disk free space, memory consumption, whatever may be relevant to your system.


If you decide to persue this further on this forum, you may want to provide
more information with respect to:
- threads; what do you use, what for, ...
- AppDomains; dito
- memory situation
- circumstances of crash

Good luck !


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
uglyeyes19-Aug-07 17:16
uglyeyes19-Aug-07 17:16 
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 
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 

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.