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

Hexadecimal manipulation

Hi,I feel a bit stupid asking this question. It actually a match questions.I have a hex number in format 0x (00 - ff)67 example 0x1067 or 0x1167  and I want to convert this into 0x0067 how would I go...

View Article


Data Validation on Details Form Data Binding

I have a windows form which has detailed view of a dataset...using Binding Navigator to navigate between records.How do you validate the data? and restrict users from moving onto another record, adding...

View Article


Include Tab Key in the barcode value

how to include tab key control in my barcode.Example;bacodeValue  = "field1" + "\t" + "field2" + "\t" + field3when I will scan the barcode, it should automatically filled the values on the other...

View Article

How to use spelling and grammar check in my C# textbox, in .Net 4.5?

How to use spelling and grammar check in my C# textbox, in .Net 4.5? i want to know if this is possible. To check for spelling and grannar in my textbox. I am working on .NEt 4.5. I have looked into...

View Article

Handling windows messageboxes (dialogs)

Hi,I have one SaveAS dialog used for creation of two files with different extensions. In File name box I enter only file name, lats say "list", and in Save as type box there is only one option to...

View Article


How to Create Custom Timer Control for Multiple Textboxes?

Hi All,I am trying to create my own timer control that can be used for changing the backcolor of multiple textboxes. I want to pass the txtbx to the timer when the textChanged event detects the...

View Article

change the color of rectangle

i want to change the color of rectangle when we drag another rectangle over that rectangle.it should be done on mouse up event.same as in visual studio there when we drag a rectangle over the controls...

View Article

Treeview node cropping

Does anyone know how to prevent a Windows.Forms.Treeview node's text being cropped if the node's font size is increased or changed to bold? The text seems to be cut off roughly where the text would...

View Article


wrapped MFC control reflection

Hello, I'm trying to use a custom MFC control (derived from CEdit) on a .net Windows Form but the message handlers (ON_CONTROL_REFLECTION) for EN_KILLFOCUS and EN_SETFOCUS are never called. The only...

View Article


Fill combobox2 with data filtered by textbox variable.

Hi - I am a pretty remedial visual studio express user.  I recently understood how to do cascading comboboxes using the binding sources of the related tables, eg tbl 1 Make, Table 2 model, so as eg...

View Article

Image may be NSFW.
Clik here to view.

VC.Net How to use BitmapData to make a UserControl (OnPaint)?

I write a UserControl. The UserControl can show Speed. So I must use Bitmap.LockBits and then get Bitmap Start Address( BitmapData.Scan0 ). The code put UserControl OnPaint Event.The code like...

View Article

C# winform listview. i want know the number of columns in the list view with...

HI Everyone, I have a requirement of getting the number of columns in a .Net(Winforms) listview using windowhandle. After the application is up which has a .Net(Winforms) listview, I need to run this...

View Article

Maximize button on a Form

I have a Form that has following document outlineToolbar Statusbar HorzSplitter (HS)+++HS.Panel1 | |+++StackPanel (SP) | |++SP.Panel1 [Contains few text boxes and labels] | |++SP.Panel2 | |...

View Article


Vb.net WinForm Set custom text size (DPI)

I have an existing vb.net winform application which does not scale for a change in font size (Control Panel \ Appearance and Personalization \ Display \ Set Custom text size (DPI).I  believe I have...

View Article

Installing MVC App in IIS Issues

I am putting this here since I do not know where else to put it. If you know better then please let me know. Thx.I installed an asp.net mvc app in IIS Default Web Site. I configured the bindings for it...

View Article


Image may be NSFW.
Clik here to view.

Windows Form Display Issue.

HI All,I have developed GUI based tool, which query lot of WIN32 classes and other stufs. The GUI looks like this.But, if i launch any other appliations or even open windows explorer then the contents...

View Article

Panel scrollbars not showing (autoscroll = true)

Hello,I have a panel with AutoScroll set to true. But when I dynamically add child controls until the extend of visible area, no scrollbars are shown. Resetting Autoscroll...

View Article


FlowLayoutPanel scroll to bottom

I have a flowLayoutPanel on my form.Then I'm adding custom controls to flowLayoutPanel.When there are lots of controls in flowLayoutPanel then scroll bars appear.How do I scroll to the bottom of...

View Article

MaskedTextBox is converting Mask to date format, but it shouldn't

H,I am trying to force the user to input a specific format, the company Registration number (1234/123456/12). I've set the mask to 0000/000000/00 and every time I set the Text property of the Textbox...

View Article

How to alter sub total and grand total values in VIBlend?

Hi,     I'm using viblend for displaying datagrid in my vb.net windows application.  I usegridname.BoundPivotValues.Add(New BoundValueField("margin'", "margin", PivotFieldFunction.Sum))to display 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>