Click here to Skip to main content
16,005,080 members
Home / Discussions / C#
   

C#

 
QuestionAutomating the double click required to resize a datagrids columns Pin
c#_keithy14-Sep-07 0:56
c#_keithy14-Sep-07 0:56 
AnswerRe: Automating the double click required to resize a datagrids columns Pin
ElSpinos14-Sep-07 1:14
ElSpinos14-Sep-07 1:14 
AnswerRe: Automating the double click required to resize a datagrids columns Pin
AETaylor14-Sep-07 1:18
AETaylor14-Sep-07 1:18 
GeneralRe: Automating the double click required to resize a datagrids columns Pin
ElSpinos14-Sep-07 1:42
ElSpinos14-Sep-07 1:42 
QuestionValidation Error when Schema with Entities [modified] Pin
xfun55614-Sep-07 0:24
xfun55614-Sep-07 0:24 
Questionabut dialog Pin
jason_mf13-Sep-07 23:26
jason_mf13-Sep-07 23:26 
AnswerRe: abut dialog Pin
Dave Kreskowiak14-Sep-07 6:29
mveDave Kreskowiak14-Sep-07 6:29 
QuestionHow to find the number of current window handles for a/my process. [modified] Pin
Martin#13-Sep-07 23:06
Martin#13-Sep-07 23:06 
Hello community,

My problem is a Win32Exception, "Error creating window handle".
I know, normally it's a sign of a bad designed GUI if this happens. (Maybe also here, who knows)
But, I have a projects where a lot of controls on seperate UserControls and TabPages, have to stay in memory for the whole time.
This is like it is and can not be changed.

If I step threw all my GUI-"pages", at some point it crashes.
I did some tests and can say, that it is not a problem of:
too less memory
too high GDI objects (which are normaly limited to 10000, but can also be set higher)

I'm using a lot of selfe designed UserControls, which of corse can be redisigned in some cases.
Maybe if I do some changes there I could kill some subControls (1000-2000).
But this would mean that I'm always on the limit.

So I would like to have a method which allows me to find the big "handle eater" in my project first.

I'm also not sure if it is correct that the limit of max window handles in WinXP is fix 16bit, and can not be modified.

Thanks for suggestions!


Upps: Forgot to tell you, that I'm using .Net1.1, but I'm sure it will only be possible over an API.


-- modified at 5:12 Friday 14th September, 2007

Also Note: The Controls and Pages are in memory from beginning (start) of the application.
So stepping threw my pages are not effecting the used memory in any way.

All the best,

Martin

AnswerRe: How to find the number of current window handles for a/my process. Pin
mav.northwind14-Sep-07 4:07
mav.northwind14-Sep-07 4:07 
GeneralRe: How to find the number of current window handles for a/my process. Pin
Martin#14-Sep-07 7:42
Martin#14-Sep-07 7:42 
GeneralRe: How to find the number of current window handles for a/my process. Pin
Martin#18-Sep-07 21:30
Martin#18-Sep-07 21:30 
QuestionRuntime Web Service Invocation Pin
MrEyes13-Sep-07 22:49
MrEyes13-Sep-07 22:49 
AnswerRe: Runtime Web Service Invocation Pin
ElSpinos14-Sep-07 0:15
ElSpinos14-Sep-07 0:15 
GeneralRe: Runtime Web Service Invocation Pin
MrEyes14-Sep-07 1:04
MrEyes14-Sep-07 1:04 
QuestionDatabase and SQL Pin
halalalal13-Sep-07 22:22
halalalal13-Sep-07 22:22 
AnswerRe: Database and SQL Pin
\laddie13-Sep-07 22:25
\laddie13-Sep-07 22:25 
QuestionSmart Phone Devices Pin
halalalal13-Sep-07 21:57
halalalal13-Sep-07 21:57 
AnswerRe: Smart Phone Devices Pin
Dave Kreskowiak14-Sep-07 6:27
mveDave Kreskowiak14-Sep-07 6:27 
Questionhow to display data in list view of mdi children form on search criteria Pin
mukesh choudhary13-Sep-07 21:52
mukesh choudhary13-Sep-07 21:52 
QuestionCreateDataReader from DataSet in Visual Studio 2003 Pin
Diego F.13-Sep-07 21:43
Diego F.13-Sep-07 21:43 
AnswerRe: CreateDataReader from DataSet in Visual Studio 2003 Pin
Pete O'Hanlon13-Sep-07 21:54
mvePete O'Hanlon13-Sep-07 21:54 
AnswerRe: CreateDataReader from DataSet in Visual Studio 2003 Pin
Colin Angus Mackay13-Sep-07 21:56
Colin Angus Mackay13-Sep-07 21:56 
QuestionCaller ID Pin
p_iranmehr13-Sep-07 21:24
p_iranmehr13-Sep-07 21:24 
AnswerRe: Caller ID Pin
J a a n s13-Sep-07 21:34
professionalJ a a n s13-Sep-07 21:34 
QuestionSend a message to a control Pin
vikas maan13-Sep-07 21:12
vikas maan13-Sep-07 21:12 

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.