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 thursday june 3

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

Preventing a list view from having no selected items
Posted by Colin Cashman at 6/3/2004 8:14:14 PM
Is there a simple way of tweaking a list view so that the list view must always have at least one item selected? I realize I can do some fiddling with SelectedIndexChanged, keeping track of what items have been selected and restoring that selection if the the selected item count drops to ze...more >>


datagrid scrolling...capturihng rows displayed in view of datagrid
Posted by pboor NO[at]SPAM tcfleasing.com at 6/3/2004 7:39:39 PM
I have a datagrid on a property tab sheet. Lets say that the grid contains 50 rows with 12 displaying on the first page. For this example lets say the user scrolls down to record 3 and records 3-14 display. The user clicks off to another tab and comes back. They do not select anything on the gri...more >>

Problem with ListBox
Posted by Daniel Mantilla at 6/3/2004 5:37:54 PM
I have a ListBox embedded in one of the tabs of a TabControl. I have this control bound to one of my objects. Everything works fine, until I switch to another tab, when I switch back to the ListBox all my selections are lost. I am using SelectionMode = Multiselect. What can I do to prevent this??...more >>

WebBrowser
Posted by Nicolas at 6/3/2004 4:50:34 PM
I have a form with a WebBrowser, how can i put a progress bar at the bottom of the webbrowser to show the progress of the load web-page event??? Thanks!!! ...more >>

Catching events in separate thread?
Posted by spammy at 6/3/2004 2:41:40 PM
Hi all, I have a windows form that uses an imported COM class to talk to a legacy system. The COM object works asynchronously - An even is fired when data has been returned. This works fine, except that Im getting too many events fired! Thus my windows form becomes pretty sluggish and unres...more >>

Controlbox MDI form
Posted by Sylo at 6/3/2004 1:58:22 PM
Hi, I'm french and I don't find the answer at my question. You are my last chance and sorry for my english... I'm in VB .NET 2002 I have a MDI form with the property ControlBox at FALSE. When the MDI Form appears, no problem, we have not ther controlbox. But when I maximize the MDI Form, t...more >>

Detecting Screen resolution
Posted by Greg Smith at 6/3/2004 1:23:44 PM
Is there a way to read what the screen resolution is set to on the system running your application? Any help is greatly appreciated. ...more >>

Toolbar icon images disappear when docked vertically - Bug?
Posted by Michael Kairys at 6/3/2004 12:59:04 PM
I have a simple C# Windows Forms application with two toolbars, using the standard .NET toolbar and imagelist classes. I want to dock one toolbar at the top and the other at the left edge of the form. In the designer they look fine but when I run the app the vertically-docked bar loses all it...more >>



Grabbing property value out of form that is no longer visible???
Posted by acool at 6/3/2004 11:37:01 AM
I am having trouble grabbing a form (that is still in existance) but that is not visible so that I can retrieve the appropriate property value out of it in another form. How can I do this? What is the best way to go about it to put it into a collection? ...more >>

Form Textbox Problem
Posted by Bruin at 6/3/2004 11:01:35 AM
I have an inherited form which has some textboxes on it. After I load my data into the textboxes I try to click in the textboxes to edit the data. When I click the data I am only able to put the cursor at the beginning of the text box regardless of where I click. I am also unable to sele...more >>

System.NullReferenceException : System.Windows.Forms
Posted by RF at 6/3/2004 10:18:17 AM
Hi, I've been trying to trace this exception but I can't seem to find the source of the problem: Message: "Object reference not set to an instance of an object." StackTrace: at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at System.Windows.Forms.ComponentManage...more >>

About Hosting Windows Form control in VB 6 or old ActiveX container
Posted by mkankarti NO[at]SPAM sc2i.ci at 6/3/2004 8:08:10 AM
I know that .NET does not support exporting controls as ActiveX controls http://support.microsoft.com/default.aspx?scid=kb;EN-US;311334 http://msdn.microsoft.com/msdnmag/issues/03/03/WindowsForms/ The supported containers are "MFC 7.x" and "Internet Explorer" Here is my question 1.) I ma...more >>

NullReferenceException in UnsafeNativeMethods.PeekMessage and multithreading concepts in general
Posted by chefo NO[at]SPAM bulgaria.com at 6/3/2004 7:48:48 AM
I'm developing a simple applications that extracts data from files, that can eventually become large. I have logic that scans a particular folder, and for each file in the folder instanciates a parser class and processes the specified file. I want to start a background thread with the main log...more >>

Ensuring a Form Object is set to Nothing
Posted by Dylan at 6/3/2004 6:41:06 AM
Say I create a form as a child in the following fashion dim Mainfrm as frmMachine ' Globa public sub CreateForm( Mainfrm = New frmMachin Mainfrm.MdiParent = M Mainfrm.Show( end su Now when I close the form (clicking the x), the form gets closed bu...more >>

user control host form gets disabled
Posted by richlm at 6/3/2004 5:16:04 AM
My main form contains a panel which I use to host user controls After I have added and then removed all instances of my user controls from the panel, then move focus away from and back to my app, my main form appears disabled Is there something I need to be doing in my user control? If I use a st...more >>

Checking for instantiated form
Posted by William Gower at 6/3/2004 12:07:02 AM
How do I check to see if a form is already instantiated in an MDI app? ...more >>


DevelopmentNow Blog