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 > march 2004 > threads for thursday march 4

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

(MS) Experts - please help: strange behavior on Form_Closing event
Posted by Tilfried Weissenberger at 3/4/2004 11:58:47 PM
Hi, applies to Framework Version 1.1 I have a very funny problem with DropDowns used in forms. The problem is as follows: I have a form with a dropdown on it. Opening one instance of it and closing it again is not a problem. All code from the form_closing event is executed and the form...more >>


Drag and drop performance
Posted by Derrick at 3/4/2004 10:17:14 PM
I have a VB form with a list box that is filled with objects. I have written code to allow a user to drag and drop those objects from the list box to a tree view. Everything is working really well except for the inital drag and drop. The cursor does not update and it takes a few seconds to up...more >>

Repost: label not showing up in form when calling form from other form using .Show()
Posted by I_hate_spammers NO[at]SPAM spammers_suck.com at 3/4/2004 9:41:06 PM
Hi: I'm trying to setup a simple message box that displays a message (like "Exiting Applicaton....). It's a simple form with only one label on it, displayed in the center. The label's text is set after initializecomponents is called from the form's constructor. I'm trying to use this ...more >>

Seeking migration advice
Posted by Joseph Geretz at 3/4/2004 9:27:50 PM
I don't know if this is the right group for my question, but I'm seeking advice from knowledgable .NET developers. Hopefully I've come to the right place. I work with a document management application which is tightly integrated with the workstation Windows environment. Our software does not n...more >>

Attention :-Ying-Shen Yu
Posted by Nilesh RAde at 3/4/2004 8:46:07 PM
Please refer to my post titled "GDI TextOut - Challenging Problem If we use DrawSting, then it will not draw the string exactly fitting into the rectangle but a few px space is appended at the end. But since I want to leave a exact space of 8px to left and right irrespective of whatever is the fo...more >>

Using a Horizontal Vertially-- How to
Posted by Nilesh at 3/4/2004 8:41:08 PM
H I have developed a control which is a horizontal strip I want to make use of that control making it vertical Is there nay option that i can do it or I will have to develop a other control which is vertical For example a Horizontal ScrollBar, can i place a horizontal scroll bar vertically, some...more >>

Newbe Question...
Posted by Brian K. Williams at 3/4/2004 8:40:18 PM
If I have a Web form with a Label and I have separate class file as below, how can I write to the label from the class (clsTest) Web Form: using BKW.test; namespace BKW { public class frmTest : System.Windows.Forms.Form { private System.Windows.Forms.Label lblDescription; public class...more >>

Data binding to collection problem
Posted by Derrick at 3/4/2004 7:31:31 PM
I have a data binding problem that I just can't figure out. Here is the scenario: objects: cTeam: - <Properties>: <type> Name: String; Member: cMember and other properties of basic data types cMember - <Properties>: <type> fName: String; lNa...more >>



CheckedListBox problems
Posted by Mortos at 3/4/2004 4:58:20 PM
Hi all, I have a tab control on a form with a number of tab pages. On page 1, there's a CheckedListBox with a few checked items. Now here's the problem. When the user clicks another tab page and returns, the checked items are *no longer checked*. The items are all in the CheckedListBox but ...more >>

Trapping Ctrl-V Paste into RichTextBox and stripping the formatting - critiques please
Posted by Kevin at 3/4/2004 3:01:07 PM
In my program I cannot allow anything but plain text to be pasted into my inherited RichTextBox control. (The user can use my subset of RichText tools - if I let them paste anything they could paste in tables and all sorts of things, which would not work for me. It was simple to create a pop-up m...more >>

Crystal Reports For Visual Studio.NET
Posted by Chris Lane at 3/4/2004 3:01:06 PM
Hi My question is this: Can I design Crystal Reports in Visual Studio.NET without adding them to an existing project I know I can import an existing report then modify it within a project and at the same time set a the Build Action to none to keep it from being embedded I also know that I can ...more >>

Adding/Inserting rows and columns to DataGrid
Posted by Victor at 3/4/2004 2:21:08 PM
Hi, I am using this nice control DataGrid. I do everything in runtime. Bind it to dataTable created in runtime too. I need to add columns and rows in any order. It works when I add rows OR columns, but when I try to add row then column (or in any other combination), I am getting in dataGrid som...more >>

How to launch a child form a child form?
Posted by Eddie B. at 3/4/2004 12:22:38 PM
What is the best way to go about launching a child form from another child form which will be contained in the original parent form? what is happening is I launch my app and a network login form appears. From that login form I want to launch the next form into the original parent. Thanks, ...more >>

Listview scroll with XP Visual Styles
Posted by Bob Dankert at 3/4/2004 11:39:40 AM
If I have a listview using XP Visual Styles in .Net 1.1 (Application.SetVisualStyles() in the Main method), when the listview has vertical scrollbars and the user clicks the scroll bar to do a page down or page up, the grid lines are drawn through the items on the page down, and are not drawn on...more >>

HTML parsing
Posted by z. f. at 3/4/2004 10:35:16 AM
Hi,=20 what is the best way to parse HTML (coming from servers) in order to = automate HTML/HTTP interaction. i know i can use the internet explorer control, but this seems to be the = most expensive way, but also it is convenience, since i can put values = in input and submit forms etc. o...more >>

Creating a button the user can move and resize???
Posted by SVD at 3/4/2004 9:56:12 AM
Hi, I would like to create a form with buttons a user can move and resize (just like adding buttons in the form designer). Is there a property that can be turned on for this? Or, would I have to make my own owner drawn control with all the mouse overrides? Otherwise, any third party buttons...more >>

Instability when using Access keys
Posted by Ian at 3/4/2004 9:51:09 AM
Hi, I have a rather odd problem when trying to code Access keys into the Text properties of controls on a VB.NET windows form. Put simply, they often do not show up when the form is compiled and run. E.g. make the text property of a Button control equal to '&Cancel' and the underlined C does not s...more >>

Can I replace a .NET EXE in the App Directory while the application is still in memory??
Posted by Aaron Ackerman at 3/4/2004 9:27:57 AM
I have an updater that I have built and I need to replace a WinForms EXE from the WinForms app itself. Can I do this while the EXE is in memory or if not is there a work around? ...more >>

Adding Button to Datagrid
Posted by Mark at 3/4/2004 9:21:06 AM
Hello I have a strong ASP.net background, and am picking up Windows Forms In ASP.Net I can use the property builder or template columns to add buttons to a datagrid row (edit/cancel/delete/select, etc...). How can I add such buttons to a Windows Form Datagrid? Is there a good website that e...more >>

Unable to display inherited forms in designer
Posted by Rob Kraft at 3/4/2004 8:31:16 AM
I've created a simple form that inherits from System.Windows.Forms.Form. However, any forms that I inherit from my baseForm will not render in designer. The code compiles and runs successfully, but I can't see the form in design mode and I think it would be very handy to be able to do so. Simil...more >>

Can't size form to dimensions I want during design time
Posted by RobbieGotNeeds NO[at]SPAM netscape.net at 3/4/2004 7:57:46 AM
Situation: Have form. Want to rezize it to be certain width, certain height. When I change the Size.Width and Size.Height properties, the IDE just ignores my values and puts it's own values in. The form resizes OK when I use smaller values, but seems to hit a maximum of 1036,780 when I ent...more >>

Weird Windowstate behaviour????
Posted by Neo at 3/4/2004 3:33:08 AM
Hi I have a custom form drawn from gdi+ for a custom ui. When an objects double_click event is fired the form maximizes or minimizes depending on the current state of the form. The problem is when the form is maximized it completely covers the taskbar at the bottom of the screen. Am I missing ...more >>

wrapping text in datagrid cells
Posted by Tim Roop at 3/4/2004 1:43:23 AM
This is probably more obvious than I realize but I'm trying to find a = way to make the text in each cell "word wrap" in each cell of a = datagrid. Does anyone know if this is at all possible using the datagrid = for a winform and if so, how do I go about making this work?? Thanks in advance.....more >>


DevelopmentNow Blog