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

c# compare listview

Dear Exprt,I am trying to compare listview item base on checkbox selection, i have tried with below code does not help me canu plz assist if (listView2.CheckedItems.Count > 0)            {...

View Article


Windows printer unavailable - app hangs

Hello.This is how I do the printing in my winforms application.Lots of documents get printed every day cca 200 docs with 50 lines.But sometimes it happens that printer is not available and application...

View Article


Image may be NSFW.
Clik here to view.

Could not delete from the specified table c#

i have a problem.. I already deploy my system to be ready for use by another user (another computer), but i got a problem once i want delete the data from the database.. The error is like this (This...

View Article

RichTextBox to BitMap when Display = 125%

C# - Winforms - Visual Studio 2012The code below works perfect as long as the Windows Display is set to normal or 96 pixels.But when I select 125% for the Display size or 120 pixels the text in the...

View Article

What are the differences between version 1.3 and version 2.0 resx files?

Hello,are there many differences between version 1.3 and version 2.0 resx files?I want to generate a resx file in Dot Net 2.0 and the version of the resx filethat is going to be generated will be...

View Article


Editing data on a table from a different form in C#

I have a table for contact details ( made using in VS using C# 2010)I want to have the table displayed in the form (called form1 for the purpose of the question), with various buttons (add new, edit,...

View Article

Display image in panel control with scroll bars

I have a panel control on a form and have set the panel1.background image = BMP where BMP is a bitmap that is larger than the panel control. Code snippet:panel1.background image =...

View Article

Desktop icon click of visual studio project.

Hi,      I m working on a visual studio .net project.I have created a desktop icon for my project exe.Now i want to open a local folder on that icon click like drop box but i m not able to do...

View Article


Need help, picturebox visualstudio2010

Hi,I'm a begginer in c#  and i'd like to create a game 4 in row. I had an idea to use pictureboxes. I created 2 tokens(paint) RED and BLUE, and a whole map how would it look like. So the idea. Use the...

View Article


Reference a Control on Another Form

I am using C# to build a dialog form which will search and find strings in cells on a DataGridView which resides on a different form. What syntax should I use to reference the DataGridView?Rob E.

View Article

Cannot Upgrade From Windows 8 Enterprise to Windows 8.1 Enterprise

This is my first post, hopefully someone can help me!I had downloaded and installed Windows 8 Enterprise x64 en_US from MSDN a few months back, and now I can only keep "Nothing" when trying to upgrade...

View Article

Trying to enable ListView group collapse and sendmessage fails

Thanks for any help or ideas on this.  I'm trying to get the group collapse enabled on a ListView control for the Win Forms app.  It works if a ListView control is placed on the form but if I derive a...

View Article

Continuous stream of WM_PAINT messages to main Form in Windows 7

Hi,I'm facing a very strange issue in Windows 7 64 bit machine. I have an application(Win Forms) which runs perfectly fine on Windows XP. Recently, I had to port this application to Windows 7 which we...

View Article


parent form should not come to front

Hi,I am opening a child window.but while some other task in going on focus is coming back to main window.i want to retain the focus on child window the main window should updated as normal

View Article

Chat Server GUI hangs after execution, c#. Why?

 public static Hashtable clientsList = new Hashtable();        private void Form1_Load(object sender, EventArgs e)        {        }            public IPAddress ip;            public string GetIp()...

View Article


Display Unicode characters(i.e chinese characters) in Richtextbox control

Hi,I have a Richtextbox control & want to display chinese characters present in a label upon a button click, which displays "?" question marks instead within that richtextbox control.i am using the...

View Article

How to make an outlook style application

Hello, I want to make a simple thing. Create one bar of menus in the left like Outlook and when I click in something then open that option in the right, I guess I have to use the splitcontainer control...

View Article


System.Windows.Forms.ToolStripMenuItem strange behaviour ?

Hi , I have 2 methods that one will invoke other. The one load data and created ToolStripMenuItem, then pass to second method. Inside 2nd method the menu will bind into treenode. The strange is all...

View Article

C# File Previewer needed asap.

Hello fellow posters and readers, I've been searching for a good File Preview Control, but so far no goods for me :(I've been searching for ages.. Google is my best friend but not when it comes to...

View Article

Dynamic checkboxlist generation, checking it and retrieve it-- windows forms

Hi, This is windows forms application.     I have a Dictionary<int, string> , from that I need to generate the checkbox list. So i did the following codeBindingSource bindingSource...

View Article
Browsing all 12583 articles
Browse latest View live


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