Adding progress bar to status bar causes other panels to go black
I have an application, where I have added a progress bar to the status bar. I started to notice, that when I launch the application and at the same time activate some other window, covering the area...
View ArticleHow to make groups with Graphic things?
hey ,what I want is that>> I have several Graphic Circles on my form which they created from a Class and all of them(circles) have their properties like coordinate,ID,...and also they create in...
View Articlefetch data as needed / typed dataset ( oracle fetch-size )
Hi,I am working with dotNet 4.0 and ODP.NET ( Oracle data provider for .NET ). I need a mechanism to retrive some number of rows instead of the whole set. And when user "runs out of data" ( moves to...
View ArticleRefreshing or Updating ListView Contents After Renaming some ListView Items
In VB 2005, I'm using a ListView to display filenames.After renaming a file, I try unsuccessfully:ListView.Refresh(), ListView.Update(), ListView.Begin/EndUpdate(), and even .RedrawItems(,).The source...
View ArticleHow to Show/Hide Pages in Tab Control
i am developing windows form based application. I am having a tab control with 3 pages. In the first page, there is a combobox, based on the selection of combobox values, i have to show and the hide...
View Articleusing multi line textbox as a string collection editor
One of the forms in a winforms app (c#) is to list the different departments at the different locations. The first thing I thought of was a multi line textbox and entering each department on a...
View ArticleWidows form Master Page
Hi, i want to know how to make a master form in windows application
View ArticleTextbox.maxlength value in winforms from Entity Framework model
In our project we've many TextBox controls bounded to the database (Business Object Data Source). We use Entity Framework Code first with additional attributes in metadata to create database business...
View ArticleDataGridView TextBoxCell to ComboBoxCell
After converting the datagridview cell from textbox cell to combobox cell, the combobox cell at Row 4 and Column 4 triggers in an unusual way. It does not open thecombobox of that particular cell on a...
View ArticleWhat is the purpose of WinForms TreeView Click event?
The way I see it, it functions exactly the same as NodeMouseClick and MouseClick events. All of them are fired when the we either click on the node itself, or if we click right of the nodes.However if...
View ArticleWindows Forms C# create edit form for project settings that end users can...
I have a simple C# application that I have inherited. the original "developer" hard coded values into the application. For example, the name of a mail server. I am tyring to fix the application...
View ArticleHow do i change Background color without Clearing Existing Line and Rectangle?
I am trying to make Windows Form App similar to Paint. What should i do to change Background color of form, without clearing existing graphics like Lines, Rectangles? Result should be such that on...
View ArticleSetting SelectedValue of ComboBox with Binding Source
I have a form with several fields using a binding source to a dataset. One of my controls is a ComboBox that gets populated with values from a database and a default value is selected. When I call...
View Article"The parameter is incorrect" error in CreateGraphics
I got the error when running the following UI code in a certain scenario. What would make the error happen?DimtbAsNewListBoxDimgrAsGraphics= tb.CreateGraphics()Following is the stack...
View ArticleSave and Save As file dialog
Hi, I would like to be able to save the users data that is in richTextBox1, if not done so already. It will pop up the Save As Dialog.If a user has saved their work and clicks save, it saves to the...
View ArticleC# Print Textbox contents
Hi, I have a textbox called richTextBox1. I would like to print the contents of this textbox, but am unsure how to. This is for a school project and I have done alot of research, but the web, nor my...
View Articleprinting layout using drag and drop
i want to create something which provide manipulation on printing.. by mean i can arrange items on the page.using drag and drop i can arrange the items on the main printing page and if i print that...
View ArticleEvent handler should go back and do the same work ( Restart the event )
Hi experts, I am Raja from Bangalore. Please find my questions below, I believe you guys will give clear idea/defn for this question1. I'm working in windows application which is...
View Articleproblem with DataGridView columns
hii have 2 query that i need to fill in my DataGridViewquery 1:SQL = "select A,B,C,D from MyTbl" dsView = new DataSet(); adp = new OleDbDataAdapter(SQL, Conn); adp.Fill(dsView, "MyTbl"); adp.Dispose();...
View ArticleA generic error occurred in GDI+.
In Windows 2003 server 64 bit with Citrix running our 2.0 winform application, we are getting gdi+ error. It happens after locking/unlocking a citrix session, then the error occurs. I'd like some...
View Article