Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms > december 2003 > threads for tuesday december 23

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Hiding a grid column
Posted by STom at 12/23/2003 5:23:07 PM
I am adding grid columns to me grid like so: column =3D New DataGridTextBoxColumn column.MappingName =3D "ValuePercent" column.HeaderText =3D "Percent" column.Width =3D 50 tableStyle.GridColumnStyles.Add(column) Is there a way I can add a column that is not visible? What I would like to...more >>


Beginner : closing DataReader
Posted by NotYetaNurd at 12/23/2003 4:59:05 PM
try { SqlDataReader dread=sqlcom.ExecuteReader(); } finally { dread.Close(); sqlcom.Connection.Close(); } here is my problem.. the above code does not compile becoz dread (SqlDataReader) is out of scope in finally block i cant declare dread (SqlDat...more >>

Forms
Posted by Juan Carlos at 12/23/2003 3:55:04 PM
Hi I have this problem, I want to show a form when in my application happens an exception. I can do this, but I see the task manager and this form doesn't work it has the message "Not responding" and If I closed it, all my application is closed. But when I use a button to show the form...more >>

For Each MdiChild in Me.MdiChildren??
Posted by DraguVaso at 12/23/2003 3:53:11 PM
Hi, I have a Form which has the property IsMdiContainer = True. So it contains a whole bunch of MdiChilds. Those MdiChilds are all instances of two forms I have: I have some that are an instance of frmSource, and some that are instances of frmTarget. I now have a button on my MdiParent that...more >>

no-touch deployment
Posted by Peter at 12/23/2003 2:49:36 PM
Hi, I tried to use no-touch deployment as below: * create a window project,called NoTouch * build it. * in the window explorer, navigate to the folder NoTouch/bin, right click on the debug folder, choosing Properties. * Choose Web Sharing, and turn it on, using NoTouch as the name. * usin...more >>

How to access Panel Control
Posted by halilsen NO[at]SPAM hotmail.com at 12/23/2003 2:34:27 PM
I have a simple C# windows app with 3 forms(frmMain, frmTest1 and frmTest2). The frmMain form has a toolbar control docked to top, groupBox control docked to the left and a panel control dock style with Fill. frmTest1 have lots of textboxes, buttons, etc. controls on it. frmTest2 is same as frmT...more >>

BUG: ListBox SetSelected does nothing when invisible
Posted by John Wood at 12/23/2003 2:07:06 PM
If you run SetSelected on an invisible ListBox it seems to ignore the call. This is especially annoying when the ListBox is on a tab control and the tab isn't selected at startup... it's impossible to initialize selection on the listbox! Anyone have any suggestions? TIA, John ...more >>

treenode bug on Remove()?
Posted by Eric Newton at 12/23/2003 12:22:21 PM
arg... the following code calling node.Remove() gives NullReferenceException: and PS the Node is already added to a TreeView... I promise! Private Shared Sub ClearFieldNodes(ByVal rootNode As TreeNode) For Each node As TreeNode In rootNode.Nodes If TypeOf node.Tag Is Class1 Then node....more >>



Minimum size for MdiChild Form?
Posted by What-a-Tool at 12/23/2003 12:17:18 PM
Have a re-sizable form in an MDIParent form. Want to limit the forms minimum size. I set the forms minimum size property, but it doesn't seem to have any affect. Does anyone no what I can do here? Thanks in advance Sean -- / Sean the Mc / "I have not failed. I've just found 10...more >>

intellectual argument about context menus
Posted by Eric Newton at 12/23/2003 11:48:21 AM
Ok, given the following VB code: Private Sub TreeView1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TreeView1.MouseUp If e.Button And MouseButtons.Right = MouseButtons.Right Then Dim pt As Point = TreeView1.PointToClient(Form.MousePosition) Di...more >>

Heads up on control.focus
Posted by mklapp at 12/23/2003 9:26:33 AM
Hello, This is not a problem I need help with. I discovered that if a control (at least a combo box) has focus and then that control's focus method is invoked, then the Leave Event for the control is raised, "presumably before the Enter Event). It makes a difference to me. M...more >>

Question about PaintEventArgs.ClipRectangle
Posted by Terry at 12/23/2003 8:32:37 AM
When overriding OnPaint, is it the responsibility of the programmer to not attempt to draw outside of the ClipRectangle supplied by the PaintEventArgs parameter? Or does the framework automatically take care of clipping anything that is drawn outside of that? Thanks! ...more >>

Problems with anchoring RichEditBox on four sides if form is minimized
Posted by David at 12/23/2003 8:29:59 AM
I can whip up a demo if I have to, but basically if you create a form, put a rich edit box (or text box) on it, set the rich edit box to anchor on all four sides, then make the form initially Minimized, when you Restore the form, the rich edit box gets resized to where it is flush with the right...more >>

populating listview is too slow
Posted by v_anushya NO[at]SPAM hotmail.com at 12/23/2003 5:42:46 AM
Hi I am populating a listview with more than 5000 items from my outlook inbox and even the form looks hanged for 10 mins and then listing with the details. The number of items i need to populate cannot be reduced in any way. I need the performance to be good even in case of 2 lakhs items.. D...more >>

form flickering
Posted by Konrad at 12/23/2003 3:22:01 AM
Hi When I'am starting application main window paint itself very slowly with horrible flickering. How to paint window without visibility and then display it fast. I tried with opacity and API WM_SETREDRAW but sitll it isn't what should be. Can somebody help? Thanks Konrad ...more >>

control is created
Posted by Konrad at 12/23/2003 1:46:43 AM
How to know when control is already created? Thanks KOnard ...more >>


DevelopmentNow Blog