Groups | Blog | Home


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 > october 2004 > threads for friday october 22

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

access a control on a form from a class
Posted by Max at 10/22/2004 8:03:21 PM
In winforms I'm lost as to how to get access to a control on a form from a class or module. I cannot access the instance of a control: myApp.MainForm.pbOnlineIcon.BackColor = Color.LightGreen "Reference to a non-shared member... blah blah" -Max ...more >>


InvalidPrinterException for Print() or PrintPreviewDialog()
Posted by bill at 10/22/2004 5:49:53 PM
I got an exception when trying to start a PrintPreviewDialog or print for a specific network printer. The code works for other network printers. That printer works perfectly for all other applications. The exception happens when PrintDocument.Print() is called or PrintPreviewDialog.ShowDialog() i...more >>

Submitting updates from a datagrid
Posted by Cory Burkhardt at 10/22/2004 5:43:53 PM
I have a datagrid that the user can use to edit a dataset (through a dataview that prevents adding rows). However, there is a problem in that the row that the user is currently working with does not get submitted to the dataset until another row is selected. If the user modifies a row in the d...more >>

Single use of ICON in all forms
Posted by Ken Allen at 10/22/2004 3:37:31 PM
I am developing a C#/.Net app that contains a significant number of forms (about 32). In testing to date the size of the debug EXE is about 400 KB and the size of the release EXE is about 325 -- cool. A friend developed a neat icon file (all sizes and masks) for use by the app. I replaced the...more >>

HELP: setting focus to mdi child
Posted by Daniel Friend at 10/22/2004 3:30:13 PM
Hi, I have a mdi program which a mdi child (MDI1) opens another mdi child (MD2). What is happening, the MDI 1 stay focus, after MDI2 appears. The user has to double click MDI2 to get focus, but the weird thing is that MDI2 is on top. As you can see from the code, I tried everything to make s...more >>

Confusion: Threading & COM Interop
Posted by Z D at 10/22/2004 11:48:22 AM
Hello, I'm having a strange problem that is probably due to my lack of understanding of how threading & COM Interop works in a WinForms.NET application. Here's the situation: I have a 3rd party COM component that takes about 5 seconds to run one of its functions (Network IO bound call...more >>

Can not see the folder.
Posted by ca___t at 10/22/2004 11:37:18 AM
hi guys I have an windows form application that with one button and one folderBrowserDialog Control in this form. I use folderBrowserDialog control to open a folder Browser in this windows form that can appear. but when I set the BackgroundImage property of windows to System....more >>

MDI child sizegrip shows but doesn't work.
Posted by patrick t music-images dt nl at 10/22/2004 11:02:50 AM
Hi, I'm developing a MDI based application, but when I enable sizegrip it shows, but I can only resize by dragging the edge of the form, as if there is no sizegrip. The same behaviour occurs when I use a statusbar. Do you have that problem to? Thanks, Patrick Vollebregt....more >>



Generating an email programatically inside a windows client applic
Posted by Fred Herring at 10/22/2004 10:25:02 AM
I am interested in having my client application generate and send emails to the server administrator when certain events occur. Is there a way to code this in windowsform vb. Fred ...more >>

Need Help: Problems with FolderBrowserDialog
Posted by Vivek Srivastav at 10/22/2004 9:50:29 AM
Hi windowsform gurus, I am struck with a minor problem. The folder browse button, when pressed opens an empty blank panel with only the description. What am I doing wrong? Following is the code: private void btnOpenDir_Click(object sender, System.EventArgs e) { folderBrowserDialog = new...more >>

Init code after form visible
Posted by Paul N at 10/22/2004 9:32:03 AM
Maybe this question has been answered before, if so please refer to answer: I want to run some initialization code in my main form, after the form is made visible. My current solution is to end form_init with the following: me.show() MyInitCode() Is this a correct solution? I fear advers...more >>

Force MDI Child form to Maximize with Parent
Posted by Chris Calhoun at 10/22/2004 7:27:15 AM
So in other words when I maximize the parent form. I want to force any child forms already opened to be maximized as well. Or when opening a new child form while the parent is maximized I would like those child windows to be maximized also. Does anyone know how to accomplish this. Thanks in...more >>


DevelopmentNow Blog