Autocomplete Combobox with ComboBoxStyle.Simple
I am making a WinForm in C#3.5 and am trying to create a combo box that will let the user type in their input my code : cboCustomer.DropDownStyle = ComboBoxStyle.Simple;...
View ArticleAdding buttons to SplitContainer
Hi All,I am trying to add collapse/expand buttons to the splitercontainer. I create a custom control and put the below code in. The splittercontainer custom control is set to horizontal orientation and...
View ArticlePopulating reports dynamically via code
Im using visual studio 2010, and would like to know how to create dynamic reports which display all the rows in the dataset as per the their availability. So far it only displays contents of one row. I...
View Articleconect to sql server with a cmdbutton
i want command and structure to connect to sql server whit command in visual studio plztanks,Salmanian
View ArticleFlicker-free painting
A frequently heard complaint at this forum is Windows Forms' tendency to cause "flicker" on forms with a lot of controls. There are two causes for this kind of flicker: 1. Windows sends a control two...
View Articleisdigit
What is the differencebetween the "isdigit" and "isnumber"methods?thanks a lot.
View ArticleHow to fill a MaskedTexBox with money data type from ACCESS
Hi, i want to fill a MaskedTexBox with a money value provideed from a OleDbCommand to a ACCESS file. My problem is when do: maskedTextBoxPrecio.Mask = "9,990.00"; maskedTextBoxPrecio.Text =...
View ArticleMDI Forms Search Child form data from MDIparent
Hi everyone,I'm trying to develop an application using mdi forms, (I'm new in Programming), I have more than two child forms where on each form, I want to search by Student number using the textbox in...
View ArticleWrite output to text file - Append or Overwrite confirmation at runtime
Hi,I am working on a .NET windows application.Program writes output data to text files. Following code is used to write Data to text files.I want to check if the output file with the same name already...
View ArticleHandle Thread Exception
Hi all, I have a question about "Handling Thread Exception": What is the difference between "Handling each thread exception" and "Handling Application Thread Exception" I'm making a...
View Articlefolder tree view
http://www.codeproject.com/Articles/301943/TreeView-Explorer-using-VB-NET-2008 Full detail open time
View ArticleProblem with ListView.OnDrawColumnHeader method
Hi, I have a couple of problems:I am trying to custom draw the column headers in C# and I am getting nowhere.Firstly:Certain parts of it work but others do not. In the documentation here...
View ArticleBypass read only cells in DatagridView when pressing TAB key
Can anyone show me some code of how I could bypass read only cells in DatagridView when pressing TAB key?
View ArticleUnwanted bottom-border on a Flat button
Hello I have a simple button but it seems to contain bottom border. This seems to be linked in with my Panel2 Paint event (the button is inside panel2).private void panel2_Paint(object sender,...
View ArticleCenter Screen not working
hi, I have a form with 2 panels. when first panel showing form have some defined size and need to show in the middle of the screen. When i click one button the panel hide and the second panel...
View Articlehow to add gif image to system tray to the application
I want to add the gif file as soon the application loads.When i start my application, the icon comes and sits in the system tray,when during the application run/application load, another icon comes...
View Articleicon still appears in the system tray even after uninstalling the application
When i uninstall my application,the icon still appear in the system tray.only after clicking the exit menu from my application it disappears from the system tray and no more in the system too.How to...
View ArticleApostrophe problem in datagridview
Hi,I m using VS2005 and Sql server 2000I have a problem with datagridview.I m importing some data from excel sheet to datagridview and save it to sql server 2000 database using sql query.Now if any...
View ArticleUserControl.ActiveControl is getting cleared
When I switch between forms, the ActiveControl is getting cleared & so losing focus. UserControl is handling things to set ActiveControl updated. When I switch to other Form, the Form many not be...
View Articlehow to do Billing using data grid view C# Winform?
Hi friendsI need to creating form which should perform the billing. i need to do billing by using data grid view. how to do it.For example.I have four columns in data grid view. that are Item,...
View Article