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 15 - 21, 2007

Filter by week: 1 2 3 4 5

VB.NET 2005 - Dragging window over app leaves "trails"
Posted by skinjob242 NO[at]SPAM yahoo.com at 5/21/2007 1:21:33 PM
Greetings all, I'm at a loss for fixing this problem, so I'm hoping someone out there has seen this and has a solution. Basically, I'm working on an app written in VB.NET 2005 which uses a mixture of native and custom controls. The app works fine and everything displays correctly until I dra...more >>


How to instantiate an external application?
Posted by Andrew at 5/21/2007 11:27:02 AM
What is the best approach to start an external application from c#.net? Thanks....more >>

devexpress data synchronization (multiple gui threads, one data thread)
Posted by CBanu [IXIA] at 5/21/2007 7:11:05 AM
Hello, I am trying to get the following scenario to work: multiple gui threads, containing various controls bound to the same data source (BindingList<T>, with an exposed ICollection.SyncRoot), and a data thread that performs the updates on the data. The problem is that I cannot get the devex...more >>

Windows Process Hanging in WinApp
Posted by Pratik Mehta at 5/20/2007 11:09:00 PM
Hi All, I am trying to run following command to execute SQLCmd command in a seperate process in a windows application. This SQLCmd command is intended to execute SQL batch statements against the sql server database. Process process = new Process ( ); process.StartInfo.Arguments = "-S psi-...more >>

ComboBox.SelectedValue returns null
Posted by Fallen at 5/20/2007 8:10:22 PM
In the code below, m_list.SelectedValue returns null in MainForm.valueChanged regardless of which value is selected. Is this expected behaviour? However, SelectedItem *does* return the correct value. [code] using System; using System.Windows.Forms; class Attr { // a simple name value c...more >>

DataGridView CalendarColumn
Posted by Chris Gin at 5/20/2007 5:15:30 PM
I'm using the CalendarColumn from http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx I've found a problem where the date is not being retained if it's entered via the keyboard. If you enter a cell, type one number, then tab out, the cell loses its value. If you type TWO numbers (e.g. "12" ...more >>

Folders wont auto refresh view
Posted by Dickie at 5/20/2007 1:26:02 PM
Hi all I have a new laptop and lets say I am in my documents and I right click and choose 'new' and then 'folder', it should immediately show that new folder without me having to update the view under the 'view - refresh' drop down. My desktop running exactly the same Xp version SP2 does th...more >>

ComboBox SelectedValue is null
Posted by T at 5/20/2007 10:12:31 AM
m_list.SelectedValue returns null in MainForm.valueChanged regardless of which value is selected. Is this expected behaviour? SelectedItem *does* return the correct value. [code] using System; using System.Windows.Forms; class Attr { // a simple name value class string m_name; string m...more >>



Drawing over the top of controls like the when the Designer re-Dra
Posted by HaySeed at 5/19/2007 5:50:00 PM
I have created a design surface that users can drop controls onto. I want the user to be able tp select a control and drag the corners to resize. WHen the designer does this the dotted line moves seamlessly over the top of multiple controls. WHen I Draw this expanding rectangle it moves beh...more >>

Drawing A Dotrted Line
Posted by HaySeed at 5/19/2007 5:36:01 PM
I am needing to Draw a Rectangle with a Dotted line. Where do I find the Brush that will accomplish this?...more >>

offline files
Posted by elfajem at 5/19/2007 2:03:00 PM
i have offline files in my computer, i left the company so there's no source to the offline files, i was working in the files till i deleted the user that made the offline files in my computer and created a new user account. and now i can access the offline files anymore. please help...more >>

new to codedom
Posted by AMercer at 5/19/2007 7:56:20 AM
I have a problem that I think codedom will solve, but it looks like a real mess to me, and I don't know where to start. I'm using .NET 2003 FW 1.1 VB. I have a few selection criteria, and each is easily implemented in 5 to 10 VB statements resulting in a boolean output (indicating selected o...more >>

data binding questions
Posted by Z at 5/19/2007 5:48:04 AM
Hi, I have experience with windowsforms but not with data binding. Before I take up with the subject I would like to ask some questions just to make sure I am on the right path: A data source (array or similar) is bound to a datagridview. If I change from GUI the value inone of the cells,...more >>

Form.Load vs Form.Shown
Posted by mahesh.nimbalkar NO[at]SPAM gmail.com at 5/18/2007 1:49:12 PM
Hi, What is the difference between Form.Load and Form.Shown event? Thanks! ...more >>

ClickOnce Prerequisites Having Dynamic Locations
Posted by nautonnier at 5/18/2007 10:18:07 AM
Hello, I've posted this question on a couple of other newsgroups but no one has responded but I really need to know if this can be done and I can't imagine I'm the only one who wants to do it. I'm working on an application that is installed via ClickOnce. It has the standard .NET 2.0 prereq...more >>

Combo box items ( text with images)
Posted by sajin at 5/18/2007 12:12:50 AM
Hi All, I am new to windows forms C# 2005, How can i have a combo box with image and text meaning * 1Star ** 2Start *** 3Star i have experimented something. but it shows only images. Any help will be appreciated Regards -Sajin ...more >>

Flash Interface in Windows C# Form for Audio/Video Player
Posted by Abhishek A. Sharma at 5/17/2007 10:53:02 PM
Hi All, I want to use Flash interface in the C#.net windows forms, but in the manner that when ever i run the application i only wants to see the flash interface and not the whole form with background. Since I have done this thing with the static .bmp pics and it is wirking as i want, but the...more >>

DataGridView processing at run time
Posted by GaryDean at 5/17/2007 4:16:19 PM
I have a DataGridView on a form that will be required to show data from many different datasources so everything has to be done at run time. Primarily it will be bound by methods that return DataTables. I also need to create controls in some of the columns such as a combobox. I find docs ...more >>

How to fix a corrupted form?
Posted by George Shubin at 5/17/2007 4:11:39 PM
Yesterday, all was fine with my project. I closed it and turned off the computer. Today, I try to open up a form and I get the error message shown here: "ObjectDisposedException" Cannot access a disposed object named "TextEdit". After clicking on OK, the second error message appears: "There...more >>

Class derived from RichText control acts as though it should have a Design Time UI. Why?
Posted by Richard Lewis Haggard at 5/17/2007 1:55:56 PM
Environment: C# in VS05 I derived a class from RichText and added it to a project. There is something about the class that is confusing VS05. In the Solution Explorer, the icon associated with the class file is a gray rectangle with a small white rectangle with a red cross on it in the uppe...more >>

DataGridView, text cell edit mode and Delete key
Posted by Richard Lewis Haggard at 5/17/2007 1:38:29 PM
Environment: VS05 in a C# application. I have an unbound DataGridView that has a number of custom columns in addition to the default Text cell columns. In both the default standard text cells and my custom RichText cells, when a single cell is executing an inplace edit and some characters i...more >>

How to invoke smart client from vb6
Posted by ns at 5/17/2007 10:50:00 AM
I have a smart client APP developed in .net 2.0, i want to invoke that from vb6. i tried shell but it is not working. how can i invoke smart cleint from vb6 ? -- n...more >>

How to use panels
Posted by Dave at 5/17/2007 4:55:01 AM
Ok. I am new to desktop apps. I have a form with tool strip at the top and a split container below it. I have panels in the split container. When I click on a button in the toolbar, it opens up a user control in the left panel which consists of buttons. These buttons need to open user control ...more >>

Need to create new row in DataGridView
Posted by David Tilman at 5/16/2007 5:59:01 PM
I have a DataGridView on my Windows form with one ComboBox column. I have set the ComboBox to use the DropDown style, through the EditingControlShowing event handler: private void dgvSentences_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { ComboBo...more >>

DataGridViewComboBox issue
Posted by Tina at 5/16/2007 5:41:33 PM
I have a DataGridViewComboBox in a grid bound to a datasource. The column is called Status, it can contain "accepted" or "rejected." I set this up at design time by entering those two values in the Items collection. The records being bound all have "accepted" in that column. When it runs t...more >>

Binding a DataGridView in code
Posted by GaryDean at 5/16/2007 4:49:25 PM
Most of my .net experience is in ASP.Net. I don't understand why all of the dataaccess has to be different in forms but anyway... I have a DataGridView connected to a data source and I see it automatically binds (I don't like that). Now I have added more records to the datasrouce and I fi...more >>

Best way to create an ImageCollection?
Posted by David Thielen at 5/16/2007 4:26:01 PM
Hi; I need to create an ImageCollection for use in my program that is not part of any form. What is the best way to put the images in a resource somewhere and then build the collection? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://w...more >>

DataGrid MultiColor Titles
Posted by Paul G at 5/16/2007 12:39:00 PM
I am creating a windows .NET application (in C#) that uses a datagrid. I am using Visual Studio .NET 2003. In the title row of the grid, I'd like one of the headers to appear in two different colors. For example, the title of one of the columns is "Surplus / (Shortfall)". I would like th...more >>

closing the login form closes the application
Posted by Matt at 5/16/2007 10:11:00 AM
I have a C# Windows Application and the solution in VS 2005 contains 2 projects. The first project handles the login and password changes and the second project contains the main application. When a successful login occurs I open the main application window, but when I close the login window...more >>

Hybrid GUI
Posted by gdesou at 5/16/2007 8:59:58 AM
Is it possible to mix dynamically generated html code to be rendered in a control and interact backwards and forwards with the generated code? I'm planning to develop an application that uses winforms for data entry and once data is modified use xsl transformations to render a memory stream wit...more >>

How can I create a reusable 3 states treeview
Posted by zhanglr at 5/16/2007 8:55:00 AM
Hi, I am a new guy in C#. (I am a c++ developer long time already.) I want to write a resuable 3 states treeview(check, uncheck,semicheck). I want to handle Click event and BeforeExpand event in my resuable treeview , and I want to handle these events as the last event handler in the treev...more >>

UserControl, Focus() and missing cursor
Posted by Marius Horak at 5/16/2007 8:32:18 AM
I have a user control, textbox and treeview. After selecting a node textbox.text is set to selected node.text. The next command is textbox.Focus(). After that textbox.Focused is true but the cursor is missing. Tried Refresh, Update, SelectNextControl, nothing helps. The cursor is missing. Any id...more >>

control simialar to office text color picker
Posted by Stephan Elsner at 5/16/2007 4:08:47 AM
I need a control to select text foreground an background color, it should look and behave similar to the controls used in excel 2003. Does such control exist? thanks, /stephan ...more >>

TextBox autocomplete and Enter key
Posted by Clive Dixon at 5/16/2007 12:00:00 AM
I have a dialog with OK button as default, i.e. pressing Enter will close the form. I have added a TextBox to the form, with AutoCompleteMode = SuggestAppend, with a custom datasource. If I select an item in the suggest dropdown and press Enter, my dialog closes. How can I stop this happening?...more >>

webbrowser
Posted by SushiSean at 5/15/2007 5:01:01 PM
I need create some application which will use webbrowser control and make some action with content. It should be something like this. 1) open in webbrowser page - http://msdn.microsoft.com 2) in code (!) I should put something in search text box some string "C# webbrowser control" 3) make ...more >>

C# Transparent Form Problem
Posted by SeC at 5/15/2007 2:01:34 PM
Hello. I have a problem with transparent form. I set TransparentKey to pink, then in OnPaint I draw form background (some areas are pink in bitmaps I use to compose). All is OK, form is transparent in place where pink is. Problem is that sometimes, that "pink" is visible on form and there's no ...more >>

Saving and restring Font info
Posted by Bill Angus at 5/15/2007 12:37:44 PM
I'm having trouble with windows forms/controls and fonts. I want to allow font selection for a text-box, and then I want to save the user-selected font to a database. None of my database field-types obviously is "font". So I set up the database to store: -font_family_name as string -emSize as i...more >>

Reference to class
Posted by Mark F. at 5/15/2007 9:12:47 AM
I have a dialog the displays info. When called from the main form I need to access the property values in my CurrentProject class. The values are null when I attempt to access them from the dialog class. I'm not sure how to make the properties accessible to all other classes in the project. ...more >>

Product Studio query
Posted by AVL at 5/15/2007 7:23:01 AM
hi, I need to open Product studio from my windows application and log abug... how can I do it? Any good samples......more >>


DevelopmentNow Blog