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

Need help with RichTextBox

I am building a RichTextBox in my codebehind.  Here is some simple code I'm trying to make work:                        FlowDocument mcFlowDoc = new FlowDocument();                        Paragraph...

View Article


Toolstrip Dropdown Menu Items Not Visible

I have a main form with a menustrip.  A toolstripmenuitem named "Resources" has four subitems called "Clients", "Locations", "Contacts" and "Products".  When I click on "Resources", only the "Clients"...

View Article


Why is text disappearing in RichTextBox?

I'm creating a flat file reader (simple hex editor if you will) in c# using RichTextBoxes. One RTB shows the hex values and another shows the ASCII values. My plan is to show one 'record' per line....

View Article

Listbox Delete and Remove from Total

Hi.I'm just building a simple order calculator in which my list boxes track the orders that have been placed. There are 3 separate list boxes; one for the meal, another for the number of items and the...

View Article

How to get CType to work for MaskedTextBoxes and TextBoxes on a Windows...

I have a Dialog form with a GroupBox that contains the following:66 TextBoxes, segregated into 8 Arrays (1 is a string and 7 are integer arrarys).MaskedTextBoxes titled mtbNbr_0 thru mtbNbr_6 which is...

View Article


Listbox SelectedIndex Changed Event

Hello,Depending on selection of listbox item i should display other two textbox values. For this i have writtenListbox1_SelectedIndexChanged event. When i click on listbox item this event is firing...

View Article

Dynamic Form building - Problem when used inside loops.

I am working on building a form based on user input on number of objects. The main form has a text box and a button. User inputs an integer in the text box and when the button is clicked a new form...

View Article

Quick pressing of alt+tab key triggers the next tab stop in c#

I have overridden ProcessCmdKey in a form having this code: if (keyData == Keys.Tab) {                    return true; } return base.ProcessCmdKey(ref msg, keyData); In listview_KeyUp: if (e.KeyCode ==...

View Article


How to customize Windows Form application for Windows 8 touch keyboard?

HiI have an existing Windows application developed by C# with .NET framework 3.5.  It was developed two years ago and did not have touch keyboard in mind when the application was built.  Now my client...

View Article


Image may be NSFW.
Clik here to view.

How to keep the tree node sort order when adding/inserting node to a treeview...

Recently I was working on a treeview, which has a customized TreeViewNodeSorter. I found I could not keep the original tree node order if the TreeViewNodeSorter presented. I'm wondering how I code this...

View Article

Hide All User Controls on a Page

Hi Guys,I have a set of user Controls that perform different Functions and display different details on a page. When a user clicks a button I wan't to hide all User Controls apart from one for...

View Article

Check a Url in web browser control

Hi, I am new VB.NET win forms, Can any one help me to check a URL in web browser control.I have a url inside a web control ex : http://www.abcd.com/employee/default.aspx, I want the people to see only...

View Article

Select Row with CheckBox in ListView

I have a ListView object which have CheckBox enable.  I need to select the entire row if a user activate the checkbox.  I know I can used the listView1_ItemChecked to monitor the check event but how do...

View Article


Prevent flicker of FlowLayoutPanel resize in fullscreen application

I'm developing a kiosk application that has my form running in borderless, fullscreen mode.  The application has a main FlowLayoutPanel that holds all the various User Controls that represent the...

View Article

Cant load all data from Access 2010 C# Winforms 4.0

I posted in the Access forum but they said to post elsewhere.  I do believe it is an Access issue but not sure.I have 2 versions of this application: OLD: Access 97 and VB6 - no issues NEW: Access 2010...

View Article


What is the different between FoxPro and Csharp ?

HelloI use Visual Studio 2010 and language is Csharp. And i want to ask some questions.1-) What is the different between Csharp and FoxPro ? 2-) What is the FoxPro ? a language ?3-) For winform...

View Article

What's the best way to design a WinForm to access complex data?

Hello,I originally designed a VSTO add-in for Word for a friend of mine. It would create Word documents based on data from an Access database. All the data "stuff" (entering, editing, queries,etc.)...

View Article


TreeView's SelectedNode Text Highlight should not be applied for entire text...

Hi,I have a strange requirement.1.Whenever TreeView's Selectednode is highlighted with default backcolor. i want to restrict the selection to some extent in the text2. Entire text should not be...

View Article

visual basic

oi gostaria que me ajudassem num programa em visual basic se fosse possivel , eis o enunciado :Faça um programa que permite ler uma matriz e verificar se esta é um quadrado mágico.aguardo resposta...

View Article

How to display a Word document (*.docx)?

Is there a better approach to display a Word document in my application than converting it to html and display it in an htmlviewer control using one of these two methods:...

View Article
Browsing all 12583 articles
Browse latest View live


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