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

Image may be NSFW.
Clik here to view.

RichTextBox control formatting issue

I have an extended RichTextBox control which is working properly in Windows 7. It is loosing formatting if I run the same on Windows 8. Please find the images I had for Windows 7 and Windows 8.RTF is...

View Article


Get Value From CheckedListBox

Hi ,I'm need to get values for all the checked Items. regretfully, I'm getting every time the value of the last cheked Item.//Populate Data Into myClbstrQuery = "SELECT code,title FROM tbl1"orclDa =...

View Article


I need to fill some infopath properties on sharepoint

Hello Team, here i put my problem.I am developing a VB.NET winform with no complexity to put some information and next to set into our Sharepoint Site, the problem is that in the sharepoint site is a...

View Article

How to add items to a listview with tile view from bottom to top?

Hi, very new to C# so please be simple!I have a listview created with tile view.  How do I add items to the listview from bottom to top, left to right? (or top to bottom, either will do)The size of the...

View Article

Power Shell to update Email Address

I've got a txt file that has 180 email address that need to be removed from user accounts within our AD and I'd prefer to do it via a Power shell script versus manually, mostly because I know there...

View Article


Clear all textboxes on a windows forms using C#

How can I clear all textboxes on a windows forms with a clear button event using C#?  The textboxes reside in a panel also.Code from designer file:this.panel6.Controls.Add(this.textBox14); Thanks,Ron

View Article

Clearing the contents of a NumericUpDown

I have two questions regarding the NumericUpDown control:1. I am using a NumericUpDown to store a nullable integer value coming out of a business layer class, using:nudDiscLimit.Value =...

View Article

I need to get a multi-line textbox to behave.

I am working with a windows form in C#.I have a textbox with multi-line set as true.  The textbox is sized to approximately 20 chars x 4 lines as the data will eventually be sent to a 20x4 LCD display....

View Article


What type of variable to use in order to store a resource file in it?

Hello,I want to store in a variable named "A" this value: "global::MyProject.Resources.en_US" (not as string of course), so next time when I want to use something from the above resource file, I can...

View Article


getting run-time added controls text property using eventhandler

I am drawing a row of labels at run-time and attaching the name property to identify them How do i get the eventhandler to get the selected/clicked run-time control property(text)   for (int yy = 1; y...

View Article

Make a DOS-like textbox user control

I want to write a dos-like usercontrol (i mean, the flashing _ caret)I wrote a usercontrol that contains a textbox and it will expanding when user enter text into it and follow by a dos-like flashing...

View Article

radio button como parametro en c#

usando C#.net Mi pregunta es como puedo enviar como 3 parametros  dos textbox valor 1 ,valor 2, y un radio button  de (+,-,*,/)desde un formulario a una clase operacion que haga el calculo y lo retorne...

View Article

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


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

How can I prevent the automaticly select of a textbox.

Hi,I have a form with an inputform that containt 5 textboxes. I have set the property TabIndex of the textboxes from 0 to 4. After starting the inputform textbox with tabindex 0 is always selected. How...

View Article


Winform enable false do not disable user actions

Hi,I was unfortunately thinking that disabling a form (winform.Enable=false) will stop any user action (like Parkinson trouble on button)... And to my surprise, it's wrong... And another draw back is...

View Article

Problems with selecting text in RichText50W with Hyperlinks

HiWhen I use the RichTextBox.Select(int start, int length) function to select text in a rich text box that contains hyperlinks, there is some shift in the selection when I try to select any text that...

View Article


Problem with Richtext box 6 middle mouse button scrolling

HiWhen I use Richtext box 6 (RichEdit60W), the middle mouse button scrolling is reversed. When I click middle mouse button, and move the mouse up, it scrolls downwards, and vice verse.Is there a way to...

View Article

Decimal in a string to Char in String problem

Good day. I am facing a problem. I am using Visual Studio C++ and wish to create a Window Form Application. The purpose to create this program is to show the encrypted text from a textbox in a small...

View Article

filterable combobox pulldown?

On my form I have a dropdown combobox and let's say I typed in the word "dog" but on the list I have "Allowing a dog to roam".  Normally it would go to the next in list only if "dog" existed in the...

View Article
Browsing all 12583 articles
Browse latest View live


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