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 wednesday march 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 31

BackgroundImage in ToolBar
Posted by Stephen at 3/3/2004 11:39:14 PM
I'm trying to make a simple background for a toolbar similar to the one in Microsoft Money. Only problem is, I can't get the BackgroundImage to show up. I set it up in VB.NET using the example for Control.BackgroundImage but it appears normally. Has the functionality been removed for the Toolb...more >>


Problem with Format24bppRgb and non-BMP images.
Posted by Fernando Cacciola at 3/3/2004 9:15:07 PM
Consider: (C#) Bitmap lBmp1 = (Bitmap)Bitmap.FromFile(<some file>, true); Bitmap lBmp2 = lBmp1.Clone(<source rectangle>, PixelFormat.Format24bppRgb ) ; lBmp2.LockBits(<some rectange>, ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb ...more >>

Interesting questions...
Posted by babylon at 3/3/2004 6:05:01 PM
Suppose I have a Form "MyForm", it has a function called void CallMeBack(); I show the Form using "Form.ShowDialog()" when the form shows, it register the CallMeBack function to a timer event which expires in 10 mins then I Close/Dispose the Form before the timer expires... when the timer exp...more >>

User Control Activation and Databinding
Posted by Iain at 3/3/2004 5:24:06 PM
I've got a dialog with a tabbed control in. On some of the pages I've got user controls whose (sub) controls are databound to an object (which ultimately comes from a typed dataset). All works fine EXCEPT that the data is not bound until the particular tab is activated. This is a problem i...more >>

Empty long named directories created under WINNT folder
Posted by Jorge Balderas at 3/3/2004 4:18:47 PM
The .NET Framework seems to be generating empty directories with long unique names every time a Windows Forms application is ran. The owner of these directories is the user launching the application, these users have write permission on the WINNT folder, but no Modify permission. My guess is that...more >>

Textboxes not correctly updated after inserting text (bug?)
Posted by Philipp Sumi at 3/3/2004 2:21:40 PM
Hello newsgroup If I enter 1 character in a textbox of a user control and then set the focus to a control outside the user control, the "Text" property of the control still contains the old value (without the entered character). If I enter 2 characters or set the focus to a control within ...more >>

Vis Form Inheritance weirdness
Posted by bill at 3/3/2004 1:59:59 PM
I've got a base form with a few controls on it. I have a subclass that inherits from the base form and it looks the part. But when I start dropping controls on a panel (which is anchored to the top of the form) that's inherited from the base form , the controls appear only until I save the fo...more >>

Hide Caret on RichTextBox
Posted by Daniel Bello Urizarri at 3/3/2004 1:36:21 PM
Hi: Is there any way to hide the caret on a RichTextBox control? ...so i can use it to show "links" ...more >>



Red "X" problem with Overflow error
Posted by Aaron Queenan at 3/3/2004 1:01:57 PM
I have am writing .NET application which uses COM interop. Sometimes, while pressing buttons or interacting with the controls, an unhandled exception message appears due to an "Overflow error", with the information below. It always appears while drawing the form, but happens with different co...more >>

Form size different
Posted by steve at 3/3/2004 12:13:42 PM
I have a c# windows forms app that runs fine on my laptop. The form is 1024x768 with no border, and when I run it on my laptop with 1024x768 screen resolution it fills the whole screen perfectly. The problem is, when I run the same application on two other machines that have the screen resolut...more >>

New lines (\n) in Text boxes
Posted by brckcc NO[at]SPAM novell.com at 3/3/2004 11:46:07 AM
In the C++ version of MessageBox() I could embed \n to get a new line. In the C# version of this the \n shows up as \n. How can I tell the message box (or a textBox on a custom form) to recognize the \n as a newline character and display whatever comes after the \n on a new line This is real b...more >>

Control to an Image
Posted by Christian at 3/3/2004 11:01:07 AM
How would I got about capturing the drawn area of a control into a Image? I can print the control but I want to store whats drawn on screen at any time for a custom graphing control for printing later. So far I have had no luck determining how I would do this. Using the CreateGraphic method of a co...more >>

Disposing in the 4th dimension.....
Posted by Sylvain at 3/3/2004 9:46:06 AM
Hi all I've got a little problem regarding the disposing of a form.... My program is like this: I've got a mainForm with a main function, but before loading this form, I need to display an other one (StartSelectionForm) where the user setup his name and other string information Innocently and fu...more >>

Access into a specific control by name, NO by its index.
Posted by Montse at 3/3/2004 1:41:06 AM
In my winform application I want to change the label's text propertie. My labels are inside a panel (pnlCalendar). I know the label's name but no the index Me.pnlCalendar.Controls("label1").text doesn't work. Only if I change "label1" by its integer index it works. I ca...more >>

Detect from what form an event fired
Posted by veramente NO[at]SPAM libero.it at 3/3/2004 12:17:42 AM
Hello all , I have a small problem. My app has two forms: On the first one (frmMain) i have a datagrid which modifies a datatable. I can modify data and i use the datatable rowchanged event to apply changes to my database. (I know i could use the adpater.update method but i prefer to do it ...more >>


DevelopmentNow Blog