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

Image may be NSFW.
Clik here to view.

Select the right Border Points from the Latitude and Longitude to draw...

Dear All,I need to draw a polygon with the Latitude and Longitude Points. I am getting all the points in ListView in C#.Net.  How to pick the right Border Points to draw polygon. Thanks in Advance

View Article


Memory Leak Issue while using MDI form in .Net 3.5 framework(VB to .Net...

I am working in VB to .Net Conversion project. I have converted my existing VB application to .Net using Visual Studio Wizard available in VS 2008 . My Application has a MDI(Multiple Document...

View Article


Progress Bar when running a function with a big SQL query

Hi, I've created an application which shows a chart on a form.The data used to populate the chart is from a sql database query.The query takes about 15 seconds to run so i wanted to show a dialog box...

View Article

TabControl background color

I would like to set the background color of a tab control (more precisely the background color of the area next to the tabs). I guess I have to create a custom class inherited from TabControl where I...

View Article

App Fabric High Availability

what is the benefit of using an high availability cache.

View Article


how to PASTE (Ctrl+V, Shift+Ins) the data from clipboard to DataGridView...

Hi there,I was googling how to paste to DataGridView in C# from clipboard, an info, copied from Excel, and didn't find full answer.Collected couple of threads from forums and came up with this answer,...

View Article

Webbrowser.FileDownload - just download the file without a 'save' prompt

I am creating a utility that automaticly go to a hosting provider and creates backups of the client databases.  The hosting provider sends the backups via HTTP, which causes the webbrowser control to...

View Article

Change the DisplayName of property grid at run-time

Hi,I am trying to change the DisplayName and Description attributes of property grid dynamically. I changed it for Browsable attribute but wondering why it is not working for DisplayName property. I...

View Article


how to rotate a text or number 90° in windows forms (C++)

How,I want to rotate a text or a number of 90° in windows forms visual 2012 (c++). Do you know a easy way to do this? Thank you very much

View Article


How to change form backcolour during runtime through settings?

Hullo geniuses!It seemed quite simple to do, but I am getting incredibly frustrated, perhaps I am missing something?I would simply like to make a user scoped setting that saves the user's colour...

View Article

Access control from another form

Hope you can help me understand what I'm doing wrong.From the mdi form, on item selection in the combobox,  I want to make linlLabel visible in another form. See code below. Cannot set the visible...

View Article

How to deselect item when click outside list control box in mfc

I have created one list control box in MFC. I have clicked on Row and that Row is selected.Now If I click anywhere outside of this list control box on that dialogue, that Row should be deselected. I...

View Article

MenuStrip style

Hello, in the attached code I creating a style for menustrip. For example when hover a root menu item looks like pressed. The problem is that I want to keep it pressed while it's dropdown opened but...

View Article


How can i color in a richTextBox each word in another color ?

I have this class i did that color the text in a specific color:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Windows.Forms;...

View Article

Changing text labels dynamically

Hi Am using C# to develop a windows form application.I have a form with TextLabel controlsThe caption of each TextLabel is saved in a database table having two column Label_Id and Label_Caption. Each...

View Article


SSRS inconsistent results from stored procedure

I have a stored procedure with startdate and enddate datetime parameters which returns 6 records when executed in SSMS like:exec sp_XXX '7/1/13', '7/31/13'.  If I paste this into the SSRS dataset as...

View Article

Get a reference to another form without creating new instance

Hi,My Mdi Form contains a toolStripComboBox that contains a dataSource with a list of projects. Selecting a project creates an instance of a Project (child form). On closing the Project I need to clear...

View Article


newbee problems with update and set

Hi guys, super Newbee here i've been looking over my code for an update button and keep getting an error"syntax by set"private void btnUpdate_Click(object sender, EventArgs e)         {...

View Article

Getting wrong Screen Res from Win 8

On a Win8 hires display machine which has resolution of 3200 by 1800; using VS2010 to write a winforms app. Using .net 4.I use this call and get 900 by 1600 (about a quarter of the size...

View Article

How can i add a new line to richTextBox ?

I have this code:richTextBox1.Invoke((MethodInvoker)delegate { ColorText.AppendText(richTextBox1, "Server: ", Color.Green); ColorText.AppendText(richTextBox1, server+" ", Color.Red);...

View Article
Browsing all 12583 articles
Browse latest View live


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