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

How to speed up my code?

Hi,My program reads values coming from a microcontroller, writes them to a file and adds the values to a chart plot. The code is composed of a backgroundworker triggered by a timer. The user has the...

View Article


reverse string without using any C# function

hii want to reverse string just likeinput is "My Name is Khan"output is "Khan is Name My"my function ispublic sring reverse(){string str=" my name is khan";string str1=string.empty;string[]...

View Article


Environment.is64bitoperatingsystem is not a member of system.environment

if system.environment.is64bitoperatingsystem.tostring=true Thenmsgbox("this is 64bit Operating System")End if above given code is working in Visual Basic Express Edition 2010 as per the...

View Article

Tab mis-interpreted by RichTextBox

I have RTF that is being mis-interpreted.  `StringWriter` takes a `\t` and replaces it with some character that `RichTextBox` cannot deal with inside a table. string rtfBeforeConversion =...

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 Article


[C#] Modifying the Tab size in a RichTextBox Control

The default Tab size in a RichTextBox is rather large, I would like to set it to a size of 4 spaces.This is the current code I have:this.richTextBoxPrintCtrl1.SelectionTabs = new int[] { 40, 80, 120,...

View Article

reset scrollbar position in chart

when i first time lode chart and zoom it . then move scrollbar. after  second time load chart that time scrollbar go to last position how to reset or fix his possition first.

View Article

String Split

4-   AVL 9180   - ELECTROLYTE ISE -   NA-K-CL    - 02JAN13  15:11 P                Name: ..........      .......... Sample: SERUM Sample No.22036 Na=  171 mmol/L K =  5.5 mmol/L Cl=  122 mmol/Li want...

View Article


Downloading Win8 from dreamspark

This story is getting old,Since Windows 8 has been released by dreamspark (former MSDN) everybody seems to be having this issue and Microsoft is still not giving a f***.I bet you know what I am about...

View Article


How to convert PE(Portable Executable) format to ELF in linux

suppose I have a .exe file and i want it to run in Linux without using wine tool.  i want to convert PE->ELF.  can anyone help how to programatically do this? Thanks in advance. 

View Article

ListBox with Fixed3D Border causing a gap underneath

Hello. I have a simple application but I have a little bug also. Underneath my ListBox control, I have a gap which is part of Panel3. If I do not use Fixed3D border on the ListBox control, then there...

View Article

Karaoke text effect

How to make karaoke text effect using C# and .net framework 2.0 like this page Happy new year

View Article

ContextMenuStrip vanishes

Hi All,I have a custom control to display a graph , to add graph data i added a contextmenustrip, with submenuitems like("Add-->AddItem-->AddMin...

View Article


Single and Double click is not working together

Hi,I have written some code on single_click and Double_click event of the form, but it is always executing single_click code not Double_click() event code even though I am pressing double click.Here is...

View Article

C# Align Labels

Hello guys. I have a simple 2D array with 9 elements, and i loop through them and I'm trying to write them on a form. But they aren't aligned properly. I tried with PadLeft but it didn't work. Here is...

View Article


Is it possible to set a ctrl hotkey for a winforms button and get the same...

It's easy to set up an alt hotkey for a winform button by adding an & in front of the hotkey character in the text property of the button.  I'd like to add ctrl hotkeys for buttons and get exactly...

View Article

Cannot find Microsoft Terminal Services Control Type Library C#

I am following a Tutorial to make a Remote desktop type application and they said i need to add Microsoft Terminal Services Control Type Library but i cannot find it in my Project how to get the...

View Article


Image may be NSFW.
Clik here to view.

How 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 Article

Adding 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 Article

Android Application in .net

hi...I need a project for application development in android using augmented reality technique...can any one help me..??Mochumi

View Article
Browsing all 12583 articles
Browse latest View live


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