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 > june 2004 > threads for tuesday june 1

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

Interpret empty datagrid cells as empty strings
Posted by Thomas Berg at 6/1/2004 5:18:14 PM
When I clear a cell in a datagrid, the corresponding (string) field in the underlying datatable becomes null. I would prefer that it be an empty string, as the corresponding database field is not nullable. Does anyone have any tips as to how to accomplish this? Thomas Berg ...more >>

How to create a form looks like the Outlook Form
Posted by Patrick Noll at 6/1/2004 4:58:22 PM
Hi ng, how can i create a form that looks like the DesktopNotification Form from (Office) Outlook 2003. The Form fades in when you receive a new email. I tried to build this form, but it doesn't work. Has someone an idea or an example? thx, Patrick ...more >>

Memory in windows forms
Posted by Marina at 6/1/2004 3:23:25 PM
Hi, Consider the following situation I have the following routine running repeatedly (curControl is a UserControl with say 1000 textboxes and a big array of strings): Public Sub AddControl(ByVal ctlName As String) If Not IsNothing(curControl) Then Me.Controls.Remove(curC...more >>

Capturing another window
Posted by Ryan Gregg at 6/1/2004 2:27:16 PM
I've got an application (WinForms) with an MDI parent form and several MDI child forms, which all run maximized in the parent. This program needs to integrate in with another program that we have no control over. What I'd like to be able to do is capture another window (one from this other app)...more >>

Control.CreateControl does not create Handle
Posted by Jonathan Yong at 6/1/2004 2:08:30 PM
According to the .NET doc, calling the CreateControl() will create a handle for the winform control and its child. But I doesn't seem to get it work. I have a code like this : private void button6_Click(object sender, System.EventArgs e) { m_Form2 = new Form2(); m_Form2.Crea...more >>

Close & restart an application
Posted by CV at 6/1/2004 1:03:40 PM
Hi, I would like close & restart the same application automatically. How can I achieve this. Please suggest Thanks & Regards CV ...more >>

"Frames" in windows forms
Posted by Marina at 6/1/2004 12:41:51 PM
Hi, Just wondering if there is any sort of concept of "frames", as in HTML in windows forms, where different forms can be loaded into different frames. So one of the frames might be loaded with different forms at different times. Or are user controls what one would use to accomplish this ...more >>

string length limit in args sent by ISynchronizeInvoke?
Posted by Tom Dacon at 6/1/2004 12:23:42 PM
I'm raising an event in a component, using ISynchronizeInvoke.Invoke, and my event args object contains a string as one of its members. If the string is longer than 63 bytes, the Invoke call pulls an unhandled exception in System.Windows.Forms.dll, to the effect that the string length must be les...more >>



"MDAC required" but it's installed...
Posted by DraguVaso at 6/1/2004 9:41:44 AM
Hi, I'm having this error in a VB.NET-application at the moment that I attempt to read data from an SQL Server: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later. at System.Data.SqlClient.ConnectionPool.GetConnection(...more >>

Change a disable control color
Posted by Refre, C#.Net rookie of the year at 6/1/2004 1:11:03 AM
Hi Does anyone know how to set a color to a disable control (I.E. a textbox when you set the disable property to true you get the gray windows disable color, and I would like to set it in blue I already tried to override the event - OnEnableChange - but it doesn't wor Any tips or trick?...more >>


DevelopmentNow Blog