Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

Change the color of checkBox within a checkListBox once it is checked

Hi,I have several checkBoxes in my checkListBox and I want to change the color of every checkBox whenever it is checked.Can anybody help me please?Thanks in advance.

View Article


how to update scrollabar offset in a flowlayoutpanel?

Hi to all, i've a question for you. i've a flowlayoutpanel without scrollbars. when i push a button a panel will be added to the flowlayoutpanel. This flowlayoutpanel has a fixed height and fixed...

View Article


C# Backgroundworker Invoke for Progress Dialog

Hi,   I have the following code & wish to call the 'OpenASite' method using the background worker while a progress dialog is displayed (form2 just has a 'Please wait...' message). The 'OpenASite'...

View Article

How to get string value from winfrom and pass to web browser textbox

Hi Everybody,                   I have web browser in my winform. When i click the button i want to automatically fill textboxes in web browserPlease help me...

View Article

combobox item search problem

Hey guys,I have a combobox in my form.When i get the focus to combobox, i want the user to type the first letter of item but i dont want that typed letter to display in combobox.After user typed the...

View Article


datagridview row header not visible in windows form application

Hi friends the following is my code for generate datatable and bind to datagridview.in this i set row header text in gridview but it does not appear in ouptput. DataTable result=...

View Article

Image may be NSFW.
Clik here to view.

How To add Row In TableLayoutPanel dynamically

Hi ExpertsI have One TableLayoutPanel in that i have rows and columns as shown in above image .. when user clicks Button i want to create same row and columns  with same controls below the row .. How...

View Article

Closing assertion window

Hi everyone!I write integration between our main application and fiscal device. Integration is done using manufacturer's COM library written in C++. In some cases when I call functions from that...

View Article


Starting timers from inside a callback function

Hi,I am working on a small application which grabs bmps from a video source.I have a function which responds to mouse clicks on a "Grab" button. From this function I can start a timer, and then stop it...

View Article


How to Set the Original Thread of a Control to another Thread

I have a special case and need help trying to figure it out in C#. Let say Control-A was originally created on Thread-A and I have another Control-B, created on Thread-B. Is there a way to change...

View Article

KeyCode, KeyData, KeyValue... What's the difference?

So the subjects says it all...Right now, I'm trying to set a method for when the user presses the 'Enter' key in a text box.Thus far, I'm thinking of putting it in the KeyDown event for the textbox....

View Article

Causes Validation Issue In Windows Application

I have two textbox  and two button on form such as Ok and Cancel.and i write textbox validating & validation event which is working well when i presses ok button . But In case of cancel button i...

View Article

Mapping Datagridview with dataTable.

~What i am doing.#I am retrieving data from excel file and storing it in dataTable.#this dataTable is then mapped with dataGridview for display.#To the visible Datagrid i add an extra column ( ex...

View Article


Image may be NSFW.
Clik here to view.

How to position ContextMenuStrip

I can't seem to figure out how to position my ContextMenuStrip below my dataGridViewCell. When I click the dataGridViewComboBoxCell I want my ContextMenuStrip to show right below the cell. Here's what...

View Article

Installshield 12 and Windows 8 Default user

Hello,I had ran a setup I created With InstallShield 12 on a Windows 8 x86 and x64 and found that the dialog asking whether I want to install for current user or for all users. Further more, when the...

View Article


Application Not Printing In Windows 7 and Windows 8 (But Functions Pefectly...

I've written a C#.NET (3.5 Framework) Application for a business - the Application prints invoices.I developed and tested the Application on Windows XP at my home using a shared network printer to test...

View Article

MainWindowHandle is zero!

I am developing a Windows Form application using Visual Basic 2010.  What I am trying to achieve is to open an application and have the application's Window displayed in a Form or in another container...

View Article


Cannot read ServerLevels key on Windows Server 2012

I have a Windows Server 2012 installation and I developped a C++ app that reads the server configuration type from Registry. There is a recommendation in MSDN in this link...

View Article

Need some idea to architecture my application

Hi All,My application is a windows Forms appl. I have 3 panels, one in left, next in middle and the last to the right.Left panel has an array of link labels, whose click event displays array of...

View Article

Image may be NSFW.
Clik here to view.

VC.Net How to use BitmapData to make a UserControl (OnPaint)?

I write a UserControl. The UserControl can show Speed. So I must use Bitmap.LockBits and then get Bitmap Start Address( BitmapData.Scan0 ). The code put UserControl OnPaint Event.The code like...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>