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 > may 2007 > threads for may 29 - 31, 2007

Filter by week: 1 2 3 4 5

Call system application to open a specified file.
Posted by zlf at 5/31/2007 11:31:36 PM
Hi, In my program, client is allowed to select a image file from open file dialog. And I am required to provide a preview button, when clicking it, system program like paint should be called to open that file. May you tell me how to implement that. Thx zlf ...more >>


Label Printing Application
Posted by deciacco at 5/31/2007 2:48:50 PM
I need to convert a label printing application from Froxpro 9 to c# 2. The application is a simple sdi app with a small preview window of the label on it. I'm not sure where to even begin to do this with c#. Any ideas? Here is the screenshot of the current application written in Foxpro 9. http:/...more >>

DateTimePicker.Value
Posted by mahesh.nimbalkar NO[at]SPAM gmail.com at 5/31/2007 6:27:05 AM
Hi, I have DateTimePicker control on a winform. When user selects a date in that control, I am getting proper value using DateTimePicker.Value. But I want to know in case user does not select any date and closes DateTimePicker control by pressing escape key. Here in this case also I am gettin...more >>

sending message to parent form
Posted by Tarscher at 5/31/2007 2:48:21 AM
Hi all, I have a usercontrol I place on different parent forms. When I double click on something on the usercontrol I want to invoke a method on those parent forms. I also need to pass an object from the user control to the parent control when calling that method. how can I do this best? ...more >>

How to print a panel?
Posted by zlf at 5/31/2007 12:00:00 AM
Hi, I have many content panels in my application, client asks me to add a print button in those panels. Once clicked, the content of panels will be printed out. There is a control in .NET 2.0 could meet my requirement? Thx ...more >>

Form proprties - Is it a bug or .. ?
Posted by Tamer Ibrahim at 5/31/2007 12:00:00 AM
Hi, I have a simple winform with a background that work fine. When I set both the RrighTtoLeft to Yes and RightToLeftLayout form proprties to True, the form background disappear. How can I solve this ? Thank You. ...more >>

Backup database from code: Access denied on user specific directories
Posted by Robin at 5/30/2007 6:03:17 PM
I want to backup a sql express database from my windows forms C# code. I can do this by running a sql command "BACKUP DATABASE TO..." (or using SMO) and I can save the backup file to any subdirectories of C:. The problem I have is that I want the user to be able to save the backup file to any...more >>

using DateTimePicker with null entries
Posted by Ross at 5/30/2007 4:23:02 PM
Hi I have a windows form that includes a datetimepicker control. The form gets its data from a ASP Web service. The database field that supplies the data to the DTP control can have null entries. Unfortunately the DTP control either displays the correct date when there is data in th...more >>



Missing characters when reading from a file
Posted by Gaƫl_Rosset at 5/30/2007 3:41:40 PM
Hello, I have the following reader function : public static string[] fileReadAllLines(string strFileName) { ArrayList content = new ArrayList(); using (StreamReader sr = File.OpenText(strFileName)) { string input; while ((input = sr.ReadLine(...more >>

DateTimePicker
Posted by mahesh.nimbalkar NO[at]SPAM gmail.com at 5/30/2007 3:04:59 PM
I am using DateTimePicker control in my form and I wanted this control to be shown in open state (like user clicked it to open) when form loads. Any idea how to do that? Thanks! ...more >>

Cancelling Form.Load event
Posted by Mark Baldwin at 5/30/2007 2:36:29 PM
I load some data from the database during the forms load event. If this load fails, then I need to bring up the error message and abort loading the form. How do I do this in .NET 2.0? There doesn't seem to be a way of cancelling the forms construction from within the load event. Also if an er...more >>

Problems with the Windows Forms Designer
Posted by ewpatton NO[at]SPAM gmail.com at 5/30/2007 1:39:14 PM
Hello all, I've been working on a project in VC++.NET 2005 which contains a form with a custom control. Today when I opened the project, the designer complained: Could not find type 'VIAWorkspace.Toolbar'. Please make sure that the assembly that contains this type is referenced. If this typ...more >>

Controls Hide/Show display performance
Posted by jweizman at 5/30/2007 2:39:46 AM
Hi I have a quite complex GUI in C#, where i save space by using many Panels, Pictures which hosts controls. When the user needs a function, i hide the "olds" panel, pictures.. then show the necessary ones. All these visible=true/false are killing my app in terms of display performance a...more >>

Display html page in winform(.NET 2.0)
Posted by zlf at 5/30/2007 12:00:00 AM
Hi, I have some html codes, and I need to present the rendered html page to user in winform program. I cannot find a helpful control in .NET framework. How to do that in .NET 2.0? Thank you ...more >>

combobox with command items
Posted by Abhishek at 5/29/2007 11:12:08 AM
Hi I want to have a combobox with some commands in it and a data source. Basically the list should look like command1 command2 ----------- data1 data2 data3 To solve this problem i decided to derive my own combo box form standard ComboBox control. I exposed 2 properties in this clas...more >>

Shown method for User control
Posted by mahesh.nimbalkar NO[at]SPAM gmail.com at 5/29/2007 11:01:35 AM
Hi, Is there any event like Shown for User Control? I am instantiating User control once and adding and removing to and from parent form panel dynamically. I wanted a event which would fire every time the User control is shown (when added to parent from panel) like Shown event is for Form....more >>

Anchoring issue.
Posted by BennyEz at 5/29/2007 11:00:37 AM
Lets say I have a control at the bottom of my form and I have it set to anchor Top, Bottom, Left, Right That does exactly what I want it to do.... Ok here's my issue. I have recently taken the contents from that form and placed them on a user control instead. I set the output type to dll fo...more >>

need help on regex
Posted by AVL at 5/29/2007 8:08:04 AM
hi, i'm a newbie to regex.... i need to check if a given string has more than two occurences of . in the begiining of string for ex, if string has value .test is valid but ..test is invalid Can you help me out with the pattern for such strings?...more >>

How can I use C++ codes with .NET Framework codes?
Posted by Allen Maki at 5/29/2007 2:58:02 AM
I would be pleased if someone gives me a general idea; how I am going to do this. I am using visual C++ .NET 2003. I made a simple program using conventional C++ code. This program accepts data from the user, does some calculations and outputs the result back to the user using th...more >>


DevelopmentNow Blog