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

Windows Forms

 
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 
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 
Hi!

My .NET version is 1.1.4322 SP1 / Windows XP, 2GB RAM.
Instead of using windows form we have used windows usercontrols. which are then rendered into a single container.

in each usercontrol a dispose method is called to clean up as below

------
#Region "Cleanup"

Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If Not (myIsDisposed) Then
Try
If disposing Then
' Release the managed resources you added in
' this derived class here.
myCurrTitle = Nothing

If Not (components Is Nothing) Then
components.Dispose()
End If

End If
' Release the native unmanaged resources you added
' in this derived class here.
myIsDisposed = True
Finally
' Call Dispose on our base class.
MyBase.Dispose(disposing)
End Try
End If
End Sub
' This derived class does not have a Finalize method
' or a Dispose method without parameters because it
' inherits them from the base class.
#End Region
------

the memory seems to just increase and at certain stage the application crashes when it reaches its peak. is there any tools out there so that i can track what type of memory leakage is it i.e. stack, unmanaged or managed so that i could go in right direction.

I am not sure about biggest object. I think it could be the xceed grid control( not sure).
no i dont use double buffering. yes there databases, refletion and xml. but it seems that it has nothing to do with database or xml or reflection.

in this titldetail control about 15000 lines of code. when the titledetail is loaded in subtabs all together about 5-6 xceed grid control is loaded.

there may be about 200-400 controls including labels, textboxes, grids etc.

could you please point me to right direction.

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 
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 

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.