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 > april 2004 > threads for wednesday april 7

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

Stored Procedure in SQl Server 7.0
Posted by Sarika Singh at 4/7/2004 11:46:02 PM
How to write Stored Procedure in SQl Server 7.0 and what is cursors in SQl Server 7.0 ...more >>

NotifyIcon is empty when context menu is owner drawn
Posted by Eric at 4/7/2004 9:04:56 PM
I implemented owner drawing on the main and context menus of my main form. It works fine. There is also a notify icon control that has a context menu. When the icon is in the status bar, it works perfectly fine when it is double-clicked. However, when I try to initialize the notify icon's con...more >>

Mouse click doesn't activate c# MDI form
Posted by KenH at 4/7/2004 7:06:03 PM
Why doesn't clicking anywhere on a child form (not just the title bar) in a MDI application activate the form in C#, as in VB.NET. Was this by design? Must one actually call the Activate() event I have seen other posts on this issue but no responses Ken H...more >>

Overriding Control.Font
Posted by Paul K at 4/7/2004 6:01:05 PM
I'm having a problem that I have a solution for, but it seems messy I have created a class that renders an image into a bitmap. I am in the process of creating controls as wrappers to provide design-time modification of the values (for both winforms and webforms). The image contains text, and th...more >>

DataGrid Default Column Style
Posted by Andrew Armstrong at 4/7/2004 3:13:51 PM
I have a datagrid where I want to hide a couple of the columns. To do this I have added a Table style with two DataGridTextBoxColumn and set their widths to 0 and MappingName property to the names of the Columns I want to hide. This achieves the required effect. However when I had a new Column wi...more >>

Disabling combo-box text editing
Posted by Fredo at 4/7/2004 1:16:12 PM
Hi I'd like to disable the text-editing for a drop-down combo box (without disabling the whole control). How do I do this I've tried intercepting the KeyPress message, which worked for a text box but does not work for a combo-box. I've also tried overriding the ProcessKeyEventArgs, ProcessKeyM...more >>

MessageBox location
Posted by George at 4/7/2004 1:02:42 PM
Is there a way to use MessageBox.Show() and center the message box according to the parent window and not according to the screen? I know I could open a new dialog form like this, but I was hoping to use the Message Box. Thanks, George...more >>

Scaling controls (C#)
Posted by lrabinovich NO[at]SPAM yahoo.com at 4/7/2004 12:44:16 PM
I'm having problem scaling controls on the form. I have a form where I'm adding my user control at design time. If I run at 96 dpi it looks fine, all the controls inside my user control are sized and placed correctly. As soon as I change font size to 120 dpi, the control and all of it child cont...more >>



ComboBox not dropping down
Posted by Colin Young at 4/7/2004 12:32:42 PM
I have a comboBox bound to a custom collection. The selected value appears properly when the underlying data changes, the cursor keys cycle through the records available in the collection, but when I click on the drop-down arrow, nothing happens. Any suggestions? Thanks. Colin quarterbac...more >>

array out of range - problem with data types (?)
Posted by ian at 4/7/2004 11:57:38 AM
Hello, lease can someone give me some advice regarding my program code (simplified below). I have an array which is going out of range. I think it's a data type problem, something which I'm quite new to, (and I suspect the solution is really simple !) The program should loop...more >>

How do you add a hyperlink to a datagrid?
Posted by burak.gunay NO[at]SPAM xpandcorp.com at 4/7/2004 11:29:36 AM
Hello, I have a windows forms datagrid, Dim da As New OleDbDataAdapter(sql, conn) da.Fill(ds, "providers") ' set the column widths Dim c0 As New DataGridTextBoxColumn 'c0.TextBox.Enabled = False c0.MappingName = "PROV_ID" c0.HeaderText = "ID" c0.Width = 45 ' clear out the table st...more >>

How do I Autostart my application after Instalation
Posted by CV at 4/7/2004 11:17:26 AM
Hi, I developed a windows application in Vb.net and compiled that application. I would like to know that how can i execute my application automatically after installation. I'm using vs.net for setup & deployment. Any Suggestions would be greately appreciated. Regards CV ...more >>

Add New Record in Empty DataGrid
Posted by Aaron Prohaska at 4/7/2004 11:00:11 AM
Does anyone know if its possible to add a record when a datagrids datasource is empty. I would like the option to do this so that I don't have to create a form for adding records to my datagrids. Regards, Aaron Prohaska -/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/- Wrench Science Inc. htt...more >>

Programmatically change System Colors
Posted by Joe Thompson at 4/7/2004 10:46:03 AM
Hi Is there a way to change the colors of the menu, status bar, listview headers, etc. programmatically. I can go to the desktop and change the appearance there but I want to do it from my program Thank you Joe ...more >>

Storing state of the form.
Posted by atul at 4/7/2004 1:06:02 AM
Hi I want to store the state and value of all the controls of all the opended forms while closing the application, so that once the application restarts i will be able to show the user the same state of the applicaition as it was last closed.Is there any way to implement it Regards...more >>


DevelopmentNow Blog