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 wednesday june 23

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

displaying data in list box
Posted by Derrick at 6/23/2004 10:45:13 PM
Hi I have a form that has a list box bound to a Data view. When I add a record to the data table in run time, it is displayed in the list box as System.Data.DatarowView. When the app is saved and reloaded, the data appears properly. Any ideas on how to work around? Code Snippet to add t...more >>


Shortcut for Refresh, F5 or symbolic code?
Posted by Henrik Dahl at 6/23/2004 5:53:45 PM
Hello! I would like to introduce a keyboard shortcut for refreshing the user interface in many programs. In english locales it's often F5 which is used, but how about other locales and/or preferences. Should I simply bind the refresh feature to F5 or is there a symbolic Shortcut for refreshmen...more >>

Visual inheritance and .NET IDE
Posted by Deena at 6/23/2004 5:33:15 PM
Hi I create a abstract base class("MyBaseForm") which extends System.Windows.Forms.Form class. I add buttons,.... . I then extend another class("MyDerivedForm") from "MyBaseForm". This compiles fine, runs fine but as soon as I double click - MyDerivedForm - to view the form in the IDE design...more >>

So many fonts ...
Posted by Gerhard Menzl at 6/23/2004 4:57:21 PM
I have noticed that the Windows Forms Designer generates code that creates a new System.Drawing.Font object every time the Font property of a control is set to any value other than the default. Isn't this a terrible waste of system resources? Or are those mere flyweight objects, and the fram...more >>

How to make AxWebControl.Navigate work!
Posted by nathan NO[at]SPAM alphora.com at 6/23/2004 4:47:27 PM
When attempting to invoke "Navigate" on an AxWebControl that I programmatically created, I was getting an InvalidActiveXStateException exception. After searching around for a solution to the problem, I couldn't find one that worked reliably. I found a solution, deduced from the fact that the c...more >>

playing flash swf files using .NET C#
Posted by Sérgio_Almeida at 6/23/2004 3:30:21 PM
greetings it is possible to use and display flash SWF files on .NET WinForms applications? If so, how? TIA Almeida...more >>

Viewin HTML in Winform application
Posted by Serge at 6/23/2004 2:55:02 PM
I am looking for a way to view HTML in Winform application. Does anyone know if there is something like a browser control that I could use to render the HTML? Thanks, Serge....more >>

Inheritance
Posted by Vlado B. at 6/23/2004 2:00:34 PM
Hi everyone! Is there a way to inherit the System.ComponentModel.Design.CollectionEditor.CollectionForm form? So, something like: public class MyCollectionEditorForm : System.ComponentModel.Design.CollectionEditor.CollectionForm { } TIA, Vlado ...more >>



Delegates & Events
Posted by Kyle Jedrusiak at 6/23/2004 1:53:16 PM
I need some clarrification. I have a class called ChatManager that will manage the interaction between the ClientUI (WinForm) and the chat server. The ChatManager will have a number of public events. When the ClientUI is instantiated it will subscribe to these events providing its own met...more >>

Application Signed with strongname cannot use an assembly which is not signed?
Posted by Özden Irmak at 6/23/2004 1:27:27 PM
Hello, I came across with a problem... I had developed a component which it's assembly does not have a keyfile for strong name... One of my customers tries to use it in an application where he attaches a keyfile for strong naming it and when compiling it he gets "Does Not have a strong f...more >>

ListView, last item?
Posted by sg at 6/23/2004 1:18:01 PM
Hi, i have un listview in a winform, multiselect = true. I would like to know which is the last item to select when it several item selected there. Best regards. Sylvain ...more >>

Anyone knows how to change the height of a ComboBox ?
Posted by Trever at 6/23/2004 12:38:15 PM
Hi all, I have modified a .NET (C#) ComboBox to display images along with text so I need to set the combo box height to values larger than default in order to show an image bigger than 16 pixel high. Changing the control height property is irrelevant. The only way I found to increase the he...more >>

Datagrid: Binding to custom collection
Posted by Carlos Campos at 6/23/2004 9:49:31 AM
Hi, I´m binding an array of my own class to a datagrid. The problem I have is that I don´t know where I have to code the order of the columns (the public properties of my class). Datagrid sort them in a "weird" algorithm cause it does´t sort alphabetically or by ocurrence on the class. H...more >>

Abuse of GDI+ resources
Posted by pdavis68 NO[at]SPAM hotmail.com at 6/23/2004 8:45:03 AM
Recently some friends were looking at some code written by an outside contractor. In the code, there was a great deal of use of pens and brushes without disposing of them. What surprised me is that the system never seemed to run out. The brushes and pens were being created in every paint event...more >>

Menu and FormBorderStyle = None
Posted by cas202 NO[at]SPAM yahoo.com at 6/23/2004 3:42:01 AM
Hi I have a problem with menu and FormBorderStyle = None: I opened new C# project and set the property FormBorderStyle = None , And added main menu. When I run the application and on the last pixel of the menu, i have got a line drawn. This line divide the menu and the rest of the form. How c...more >>

Datagrid non navigable
Posted by kk at 6/23/2004 2:22:01 AM
Quick question (I hope!) I've been seaarching around, but havent found a way to make a datagrid non-navigable. The databinding value, is set to a dataset and a table which has relations, however I do not want the "+" buttons to the left of the rows to be displayed? Thanks in advance. k...more >>

ParkingWindow revisited
Posted by Benzi Eilon at 6/23/2004 2:05:01 AM
This issue was already reported by several others but I did not find any useful solution / workaround. The problem happens in a random non-frequent manner when I run my WindowsForms application. I get the following exception: Cannot access a disposed object named "ParkingWindow" In another ...more >>

Change Cell Style
Posted by Tomy at 6/23/2004 12:46:01 AM
Hi! I want to change the cell style of a datagrid. I only want to change the cell (5,5) and set the forecolor RED. How can I do?? Thx....more >>


DevelopmentNow Blog