Re: [ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean

2003-07-07 Thread Dale Paul
you might find some of this usefull. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318581 There is also an article on how to put a droplist into a datagrid, but the link escapes me at the moment. Both are good articles on how to "subclass" a control in the datagrid. Dale > I've done

Re: [ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean

2003-07-07 Thread Jacob Grass
Actually, after a little investigating, this seems perhaps a little more complicated than necessary. What does this approach over, say, the DataGrid.CurrentCellChanged Event buy you? Jacob A. Grass Software Engineer Daleen __ this message contains confidential information inte

Re: [ADVANCED-DOTNET] interop with activeX and license key issues

2003-07-07 Thread Julia Lerman
I finally had to think out of the box and discovered that the license message was just wrong and quite misleading. I was attempting to load a non-existent control! Sorry for the bother. My confidence with COM Interop (regarding activeX that is) increases a bit! My embarrassment increases as well!!

Re: [ADVANCED-DOTNET] Large object heap fragmentation

2003-07-07 Thread Arun Bhalla
Hugh, You could retool your objects to have "micro-object" components of under 85K. For instance, if you have a 1MB image, you could break it down into 85K chunks or tiles. Arun Hugh Williams writes: > When you allocate large objects they go on the Large Object Heap. > (Aside: the predominant li

Re: [ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean

2003-07-07 Thread Alan Robbins
I've done this exact trick before -- my problem here is that the control I want to subclass (data grid text box) is created by the data grid text box column -- ergo how do I "trick" the data grid text box column to create MY subclass? Alan

Re: [ADVANCED-DOTNET] COM and AppDomains

2003-07-07 Thread Stefan Holdermans
Simon, Mmm, you've said it youself---more or less. Rather than just marshal, your wrapper should take care of loading and freeing the library too. So, instead of activating your COM object through the COM API, you could make a LoadLibrary call and attach to an entry point yourself. When you want t

Re: [ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean

2003-07-07 Thread Jacob Grass
> I'm thinking no problem, I'll just add a message filter in > (WndProc) and > fire the validation myself -- but I cannot figure out how to code this > given that the data grid text box is initially created in the > constructor > for the data grid text box column -- so how to attach to it's > me

[ADVANCED-DOTNET] Getting at WndProc for a DataGrid TextBox/Boolean

2003-07-07 Thread Alan Robbins
My users don't like the fact that on the data grid, tabbing through a cell fails to fire any validation. This is because the data grid text box column that encapsulates a data grid text box (inherits from standard text box) doesn't expose enter/leave type events and the currency/binding manager do

[ADVANCED-DOTNET] Large object heap fragmentation

2003-07-07 Thread Hugh Williams
When you allocate large objects they go on the Large Object Heap. (Aside: the predominant literature says a "large object" is defined as over 85,000 bytes; some sources say 20,000 but my empirical testing says 85k. Could this be a server/workstation difference?) This heap gets collected much less

Re: [ADVANCED-DOTNET] Win2000 Vs NT4 performance drop.

2003-07-07 Thread Beck,Mikhail
This was fixed in a Service Pack. I am not sure which one - 1st or 2nd, I haven't installed the first one. Before that it took about 20 seconds to start .net written NT service on my NT4 box. It is pretty normal now. Mikhail -Original Message- From: Wallace B. McClure [mailto:[EMAIL PROTE

[ADVANCED-DOTNET] COM and AppDomains

2003-07-07 Thread Simon Jefford
Having sorted out my performance issue with interop (cheers Richard it was the Apartment model - I just wasn't doing it right!) I now have another issue, that I think may be unsolvable, but I'm hoping that one of you knows better! What I want to do is to be able to replace the COM components my ap

Re: [ADVANCED-DOTNET] Asp.net RenderMethod magic

2003-07-07 Thread hammett
It's monday and now I can see the answer! :-) The RenderChildren should be aware of RenderMethod. So, for a Form control the RenderChildren should be something like: output.WriteBeginTag(etc); output.WriteAttrs(etc); invoke delegate; output.WriteEndTag(etc); Pretty simple. hammett MCAD -