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 > january 2008 > threads for january 1 - 7, 2008

Filter by week: 1 2 3 4 5

How to Add Costume Prerequisites in Click once deployment
Posted by harshad at 1/7/2008 2:27:47 PM
I create one smart client application that require some COM Component . so I create .msi setup for above application how to add in Prerequisites for smart client once click Deployment. Harshad Prajapati NIC,Gandhinagar ...more >>


How to capture form
Posted by Gregory Khra at 1/7/2008 12:24:00 PM
I use Windows Forms and VS 2005 to draw a plot on the form. How can I save this plot to a graphics file (preferably jpg)? I couldn't find appropriate class in the Framework. Thank you. Gregory Khrapunovich ...more >>

Any idea how to track the mouse moving speed?
Posted by Sowen Zhang at 1/7/2008 10:11:17 AM
Hi, Suppose a user presses the mouse on an object, then drags the object around. When the user releases the mouse, I want to tell what's the average speed of the whole movement. Any idea how to calculate that? Because the user can drag the object to any direction, it could go right, then...more >>

no response for cancel button click
Posted by linda.chen@faa.gov at 1/7/2008 6:42:19 AM
We have a window appliccation, which is written in .C# (.net 2003). One of the feature of this application is to allow users to download data from our repository database (Oracle) and then display the data. The "download" dialog is simple: a window form with a progress bar and a cancel button....more >>

Array of db connections with string subscription
Posted by John at 1/7/2008 12:00:00 AM
Hi Can I have an array of type OleDb.OleDbConnection that has strings as subscription values? The reason I need this is my app reads a configuration file with db names and their locations and it then creates all connections and if subscript is the db name as string then it is easy for the a...more >>

What event do I use to indicate that data has been edited?
Posted by dbuchanan at 1/4/2008 11:32:28 PM
Hello, I need some help in understanding what events to use to detect if the user has begun to edit the data on the form (dialog). I want to detect this because I am intending to change the configureation of the form depending on its current state. (For one thing, I want the "Save" butto...more >>

Order of evaluation in an If statement
Posted by Victory at 1/4/2008 9:35:55 PM
Hi, I am running into a problem which is best described with an example: Dim aList as ArrayList = Nothing ... if (aList IsNot Nothing) And (aList.Count > 0) then .... This always gives me an exception. I have also tried switching the order like: if (aList.Count > 0) And (aList IsNot No...more >>

windows app in vb.net
Posted by Wendy Elizabeth at 1/4/2008 7:52:00 PM
I am new to visual studio.net 2005. What I need to do at my new job is to write an application where users can enter data into 'screens'. The data that is entered will end up in excel spreadhseets. Once the data is entered into the excel spreadsheets, I will then export the data to vartious sq...more >>



Playing TV.
Posted by Mufasa at 1/4/2008 4:00:06 PM
Does anybody know of a way to play television (from the Internet) in a window/object? TIA - Jeff. ...more >>

Drag from UserControl to ActiveX in same form
Posted by MarkR at 1/4/2008 11:57:01 AM
I have a form with a user control that supports being a drag source. I put an ActiveX control on the same form that is a drop target (implements IDropTarget, etc.) When I drag from the user control to the ActiveX control, the IDropTarger::DragOver never gets called in the ActiveX control. H...more >>

Collaps a menu?
Posted by Peter at 1/4/2008 9:46:01 AM
Hello, i've a windows-form with a menustrip containing toolstripmenuitems with sub-menus where one sub-menu contains two toolstripcomboboxes. The selected values of these comboboxes are used as criterias for a database selection - the database results are shown on a grid on the form. Everyth...more >>

FileNameEditor: How do I control the returned value?
Posted by Jeff Johnson at 1/3/2008 4:49:47 PM
I have a need to derive from FileNameEditor to provide the ability to select multiple files. It's not hard to make the OpenFileDialog function that way by overriding the InitializeDialog() method, but the problem is that the RETURN VALUE is still only a single file name. Is there any way to co...more >>

How to trap <Ctrl+Tab> is DataGridView
Posted by John B. at 1/3/2008 2:40:15 PM
Please forgive my rant, but trapping keystrokes in .NET couldn't get much worse if someone tried. Sorry to vent my frustration but I've had no end of problems with this for the past 18 months. The entire system is a convoluted mess and really needs a complete overhaul. With that off my chest, ...more >>

Use of Data Binding while using Model View Presenter pattern
Posted by David at 1/3/2008 9:47:02 AM
Does use of the model view presenter pattern negate using data binding on controls? I believe with this pattern that the view only knows about the presenter. By using data binding (controls on the view to data in the model), the view would have to access the model as well. Am I right? ...more >>

Trouble with strongly-typed Image resources at design-time
Posted by Jared at 1/2/2008 10:36:47 AM
I'm working on a custom control in VS2005, and I'm experiencing a problem using Image resources from the Resource Manager. My control has a child collection, and each child has an Image property. My solution has two projects, one for the control and one for the test app using the control. I c...more >>

are dotnet windowsforms best choice for my scenario?
Posted by rockdale at 1/2/2008 5:37:49 AM
Hi, all: I hav been doing C#.net coding for quite a long time, but mostly on asp.net. now I need to program an application that will save on flash driver and when the user plug in flash driver, my application will auto-run. my application contains user interfaces that user can read / edit/sav...more >>

Trying to nunit test a form
Posted by David Thielen at 1/1/2008 3:33:00 PM
Hi; I have some simple nunit tests for my forms. When I run nunit from Visual Studio they run fine. But when I use the nunit command line app to tun it I get the following: 21) net.windward.autotag.controls.TestTagEditor.TestSet : System.Threading.ThreadStateException : ActiveX control '...more >>


DevelopmentNow Blog