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 > october 2004 > threads for monday october 18

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

Help!!! Visual Inheritance......
Posted by Debi at 10/18/2004 11:13:02 PM
Hi, I want to know if I'm doing something wrong. I'm inheriting frmChild from frmBase in Project1. frmBase is referring to its MdiParent in a function call from Form_Resize event. When I try to open the designer for the frmChild it throws an exception for this, saying "Object reference no...more >>

Global connection strings?
Posted by Rob Oldfield at 10/18/2004 7:29:16 PM
I have a question regarding connection strings. Most of my apps have multiple forms each of which stores a connection string back to (generally speaking) the same SQL db (i.e. it's set up the way that VS.Net appears to work by default). Is there any advantage in having some kind of global con...more >>

Why does transparency only work sometimes with 32 bit color depth?
Posted by Jim H at 10/18/2004 6:57:10 PM
I have an application that uses transparency. My video settings are 1600x1200 and 32 bit color. I can make the main dialog transparent but other controls and child windows are not transparent, I see the colored box around my control. If I switch my color depth to 16 bit everything is fine. ...more >>

ok to use threading in winforms for remote connections?
Posted by Max at 10/18/2004 4:24:09 PM
Is it proper to use threading in winforms to retrieve data from a remote sql server? I thought about setting the timeout period in the connection string, but what would be better is to start my bind() function in a new thread so the app isn't tied up searching for the sql server. Any proble...more >>

Memory leak - Forms with Owners
Posted by zobie at 10/18/2004 3:42:07 PM
I have created a project that has two forms. Form1 has a button which runs the following code: private void button1_Click(object sender, System.EventArgs e) { Form2 f = new Form2(); f.Owner = this; f.Show(); f.Close(); this.RemoveOwnedForm(f); f.Dispose(); f = null; } Using ...more >>

DataGrid - reduce flicker-free
Posted by jason at 10/18/2004 3:32:44 PM
hi, How to make datagrid flicker-free? I have tried to set ContorlStyle double buffering options, but seems not working well. thanks ...more >>

WM_KEYDOWN, WM_CHAR and WM_KEYUP
Posted by Jeremy Chapman at 10/18/2004 1:41:39 PM
I am using SendMessage() to send characters to a window. After using Microsoft Spy++ to look at window messages when I click a key, I noticed that the enter key sends WM_KeyDown WM_Char and WM_KeyUp but the home key only sends WM_KeyDown and WM_KeyUp. Is there some rule I can use to tell if I ...more >>

How TO DO VS.NET Resizable Tear Off MDI(s)
Posted by Eddie Thomas at 10/18/2004 12:55:06 PM
Does any body know how to do visual studio.net style resizable tear off MDI(s)? I have played with the new splitter tool in vb.net 2005 and it is somthing like what I am trying to do but it doesn't have closing or push pen abilities. -- Think, Speak & breath Code!...more >>



using F7 as shortcort doesn't work?
Posted by Torben Jensen at 10/18/2004 12:15:45 PM
Hi, I am having trouoble using the F-kesy as shortcuts. The shortcut is defines like this (c#): btnRun.Shortcut = Shortcut.F7; I have provided the button with a valid eventhandler that works just fine when pressing the button, but pressing the F7 key doesn't trigger anything at all. A...more >>

this.size doesn't come out to 1024*768
Posted by TS at 10/18/2004 12:11:37 PM
it says width: 1030 height: 774 I have my form maximized. what causes this discrepancy, and how do i correct it? I can notice that the contents on the screen are not centered. thanks again! ...more >>

Stream Writer
Posted by Charles A. Lackman at 10/18/2004 11:58:25 AM
Hello, I have created a MemoryStream that is holding Binary Data. How do I get the Data out of the Memory Stream into a file on my hard drive. All the examples I have seen for a MemoryStream write the contents to the console. Thanks Chuck ...more >>

Inherited Form Designer gives Exception
Posted by Debi at 10/18/2004 11:53:08 AM
Hi, I have Project1 in which I have frmBase. I compiled the code and then added an inherited form(frmChild) to the project which inherits from frmBase. When I open the designer for frmChild the designer throws an exception, "Object reference not set to an instance of an object." Ple...more >>

Default file type handlers
Posted by Brad at 10/18/2004 10:34:47 AM
Is there a way to get the path to the application that is the default handler for a given file type w/o having to manually crawl around the registry?...more >>

DataGrid cell double click event
Posted by Ekempd at 10/18/2004 8:37:09 AM
How can I know every time a user made a double click in a cell of my dataGrid?? ...more >>

Display deleted rows in DataGrid
Posted by Vladimir Kasal at 10/18/2004 3:43:05 AM
Hello, I use DataGrid that displays data from DataTable. When I delete a row, this row disapears in DataGrid and changes it's status in DataTable. I there any way how to display everything what's in DataTable? I want that user will see all changes made and after clicking some "Commit" ...more >>


DevelopmentNow Blog