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 friday october 29

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

Application crashing randomly
Posted by sunil NO[at]SPAM volcanomail.com at 10/29/2004 11:38:47 PM
Dear All, We have developed an application and are use No Touch Deployment to run it...quite a few times the application just crashes without any exeception...I have handled the thread exeception handler too and it does not come there... How do I debug to find out what is causing the problem...more >>

Events & Windows Service App
Posted by Doug Thews at 10/29/2004 3:32:09 PM
Where are the routines mapped to events in a Windows Service app. I notice that there's OnStart, OnStop, etc - but I can't find a place where these are added as event handlers. Are the reserved names for a Windows Service app, or is there something I'm missing? -- Doug Thews Director, ...more >>

OCX Controls
Posted by Charles A. Lackman at 10/29/2004 3:03:28 PM
Hello, I have created a project that is dynamically adding an OCX control to my form. I also have other OCX controls on the form that I have placed from the designer. When I call the form using ShowDialog, the forms Load_Event does not fire. When I call the form using Show the forms Load...more >>

Custom control not passing properties and events to parent
Posted by AlBruAn at 10/29/2004 12:00:03 PM
I have a custom control consisting of a panel, a text label, and a TreeView derived from Microsoft's TreeView control modified to allow custom paint events. The text label is contained inside the panel, which is docked at the top of my custom control; the treeview is docked to fill the remain...more >>

Measuring the offset of a sub-control within a form
Posted by Phil Jones at 10/29/2004 10:11:21 AM
Is there a consitent/easy way to get the X:Y pixel offset of a contron within it's containing Form (irrespective of how deeply it is nested within a control hierarchy)? I've written a little routine that runs up the hierarchy, but I thought this must be such an obvious thing that there migh...more >>

Capture Web Page
Posted by Stanley at 10/29/2004 9:52:21 AM
I am looking to capture a web page and display it in a PictureBox. I have tried loading the webpage in a browser control and have managed to capture the control but only for the width and height that the control is on the form. So I only see what the control shows with scroll bars for the re...more >>

Winforms Datagrid Row Deletion
Posted by Srikanth at 10/29/2004 9:14:23 AM
Hi, Iam trying to delete a row on a Winforms datagrid and before deleting the row I want to do some validation. But, the Keydown event on the datagrid where I check whether the key pressed is 'Delete' seem to fire sometimes only. How do I change the code so that the Keydown event fires at ...more >>

How disable sorting feature of DataGrid
Posted by Andrew at 10/29/2004 9:13:06 AM
Hi, friends, In a VC# app, I have a DataGrid with DataTable as its SourceData. This DataTable has a ColumnStyle collection for each field. In Form_Load event, I set myDataGrid.AllowSorting = false; However, after filling up data, I can still sort each column. Any ideas? Than...more >>



Funny Issue with DataGrid and Config file
Posted by Tariq at 10/29/2004 7:01:47 AM
I have a app.config file that looks something like this. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="test" value="10001"/> </appSettings> <fileTypes> <add key="htm" value="c:\temp"/> <add key="jpg" value="c:\temp\jpg"/> <add key="png" value="c:\temp\png"/...more >>

"OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT"
Posted by Christopher at 10/29/2004 6:16:01 AM
Is there a way of destroying all objects when a form closes so that the correct objects can be created once the form is REopened? error i am getting is : "OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT" when opened and closed repetedly and alternating between the 2 "modes" ...more >>


DevelopmentNow Blog