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 > december 2003 > threads for wednesday december 17

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

Executing Module from Button
Posted by Newman at 12/17/2003 10:03:08 PM
Dear All I have created a module that runs a dts package of sql server 2000. Now I want to ad a button to a form and execute the module but am having trouble working out how to defiune the syntax on the button Can anyone help me with the syntax of running this module of the form Reg...more >>


Getting the User Data Path
Posted by Muscha at 12/17/2003 8:41:28 PM
Hello, How do I get the user data path ie: C:\Documents and Settings\Username\Application Data\ ? Because using Application.UserAppDataPath gives added information about the assembly name and assembly version. Is there a way to get this directory? thanks, /m ...more >>

Commercial App? 6 months later
Posted by mlc at 12/17/2003 5:34:58 PM
Are there any commercial (sold for money, not freeware or shareware) apps built with Windows Forms? I asked this 6 months ago and got a couple freeware things but no commerial apps. Any yet? ...more >>

Working out if Control button is down in MouseDown event
Posted by JezB at 12/17/2003 4:11:18 PM
How can this be done ? There's no Keys attribute in MouseEventArgs. ...more >>

Scroll Bar inquiry
Posted by Dave Jackson at 12/17/2003 4:05:03 PM
Hi All, In my quest to have two windows scroll 'in sync', I've turned to DataGrids which have accesible scroll bars. I've created my own class that inherits from DataGrid, and makes the scroll bars accesible: public class MyDataGrid : System.Windows.Forms.DataGrid { public MyDataGrid()...more >>

Generic control creation and setting propertis?
Posted by Özden Irmak at 12/17/2003 3:37:28 PM
Hello, In my winforms application, i want to be able to create new controls which their types aren't pre-defined. I know the way : Dim C as new CheckBox() which creates a new checkbox control but in my situation I don't have a knowledge on th type of the component except I only know the c...more >>

Popup event of a menuitem in context menu not fired
Posted by inho yi at 12/17/2003 3:32:06 PM
Hi I have one MenuItem in main menu, who has submenus. I setted Popup event handler of this menu item in order to check or uncheck its sub menus. I want to clone this menu item as one of menu item in my context, which is binded to a notify icon. So, I used .CloneMenu() MenuItem miStat...more >>

RichTextBox, ScrollToCarret, No Focus?
Posted by Jean-Francois Lord at 12/17/2003 2:55:54 PM
Hello, I have a multithreaded windows app that has a RichTextBox acting as an output console for the worker threads. I need a way of scrolling down to the bottom of the RichTextBox as text is added without stealing the focus from my other controls. RichTextBox.Focus() RichTextBox.Scrol...more >>



Sleeping Until Property Changes
Posted by James Hancock at 12/17/2003 2:22:31 PM
I often have to do a sleep until a property changes in the control I wrote. Right now I do an Application.DoEvents() on a while loop. (yes, the result will always occur, it's just a matter of time. The problem with this, is that the while loop takes up huge processor time, which I don't want. ...more >>

Disabling default spacebar key press event for a button
Posted by prema askme at 12/17/2003 12:34:22 PM
Hi In windows forms, when focus is given to a button, the spacebar is one of the default keys that can be used to trigger the button. I would like to override this behaviour. Does anybody know how I could do this? I still want the user to be able to click the button with an enter key but j...more >>

Microsoft standards for Windows programming
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/17/2003 11:07:56 AM
Hi, I'm looking for standards setup by Microsoft for Windows programming; UI type of standards. For example, it seems that "OK" and "Cancel" buttons should not have keyboard shortcuts assigned (e.g. "&OK"). What about "Browse"? For now, I'm just trying to copy other Microsoft apps, but is t...more >>

Datagrid keypress handling
Posted by apemen at 12/17/2003 9:30:34 AM
Hi, I need to handle keypress event to calculate total of a cells of a column. I used datagrid_onkeypress, placed a breakpoint, but it did not enter function when I edited the cell. Instead it enters when clicked row header. Secondly, I could not handle the "DEL" key. I must prevent user fro...more >>

Full screen Form
Posted by 4Space at 12/17/2003 8:48:36 AM
Hi, anyone know how to make a Form full screen?? I'm almost there, I just wondered if there's any way to have my form over the taskbar. Cheers, 4Space ...more >>

Getting list of dynamically created objects.
Posted by Mike Quernemoen at 12/17/2003 8:45:48 AM
Hello, I've got an application which creates a filesystemwatcher for each record in a datatable as shown in attached code. I'm wondering how I would get list of these dynamically created objects from a different function. Thanks, Mike This is my how I create a filesystemwatcher for each rec...more >>

Crystal report in .net
Posted by Hester Zhang at 12/17/2003 8:10:26 AM
Good morning, It was my first time to post the question in the news group, I need the help from you to resolve the issue I currently have. I created a test application with Visual Studio.net, this test application only has two forms: one is used to take the parameters from the user and...more >>

DataGrid & dropdown lists in a cell
Posted by John at 12/17/2003 7:53:59 AM
Is it possible to put a dropdown list in a datagrid cell for validation? I see that I can set check boxes and text boxes - but nothing else. Windows 2000/C#/dotNET Thanks, John ...more >>

IBindingList and DataGrid
Posted by Phillip at 12/17/2003 7:47:26 AM
I have a DataGrid bound to a custom collection that implements IBindingList. The collection returns true for AllowNew. The collections AddNew() method creates a new object, adds it to the collection and returns the new object. The SupportsChangeNotification property returns true and th...more >>

DropDownList in a client
Posted by Raúl Martín at 12/17/2003 4:38:23 AM
I explain myself: I have a DropDownList of "suppliers" that it has like 300 items, the question is that whenever the client makes any thing with the page then in the servant I recover every time the data of the DropDownList. Then, instead of recovering the data of the data base in each asc...more >>

Repaint Window when moving it?
Posted by Carlos at 12/17/2003 4:16:38 AM
Hello.=20 When a form must be repainted after changing its size the=20 property ResizeRedraw must be set to true. =BFIs there any property in Form Class to make the same=20 thing when the form is moved but not resized? thanks for all. Carlos...more >>

Need to make a MDIchild form transparent
Posted by Shukri at 12/17/2003 3:37:40 AM
I have an MDI application - and need one of the MDIchild forms in it to be transparent. Problem is I can only successfully change the opacity of the MDIparent form, or on a form that is not a MDIchild. Anyone know a solution. Thanks in advance!...more >>

DateTimePicker Control in DataGrid
Posted by Ken at 12/17/2003 12:17:00 AM
Dear all, I have read the article in http://www.msdn.microsoft.com/msdnmag/issues/03/08/DataGri ds/toc.asp?frame=true I copy the idea of creating the DataGridComboBoxColumn to DateTimePickerColumn. Everything just fine but the SetColumnValueAtRow. The original article can update the value o...more >>


DevelopmentNow Blog