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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
"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 >>
|