Software Development Network Logo
  • Architecture
  • Game Technologies
  • Visual Basic
  • Visual C#
  • Smart Device
  • Windows Vista
  • VS Express Editions
  • Visual J#
  • Visual Studio
  • .NET Development
  • Visual FoxPro
  • Visual C++
  • SQL Server
  • VS Team System
  • Microsoft ISV

Software Development Network >> Windows Forms

Windows Forms

New Question

Combobox events
Toolstripdropdownbutton Radiobutton
datagrid changing datasource at runtime not working 2nd time
How can i get the serial number of Hard disk or mainboard
Challenging question on transparent windows forms controls
Swap values of two textboxes using drag and drop
event on scaning barcode
Eventlog problem
How print all record/selected record in data grid?
toolbar in vb.net

Top Answerers

RobertaK
happymozart
dana_lotus
Alfredo Guiral Gallego
Sten-Gunnar
Paul L
Vipul Modi - MSFT
TaylorClark
packagedeliverer
Chris_Bird
Tutorial: Introduction to
Only Title

Answer Questions

  • saiwa RichTextBox Control

    Hi! I'm currently working on App and I need to change the FontStyle Property of my RichTextBox control (SelectionFont.FontStyle). Now, what happens is that whatever is inside the Font class is ReadOnly and is only set when you create an instance with the constructor. So, every time I have to apply new formatting I have to create a new Font instance, copy the data that I need into it and selectively, based on the current Selection, apply the corr ...Show All

  • Peter Macej Label Font.Size

    I am placing a label onto a form programically... Label objId; objId = new Label(); objId.BackColor = Color.Transparent; objId.ForeColor = Color.Blue; // objId.Font.Size = 22; //Read Only objId.Text = "TEST"; pictureBox1.Controls.Add(objId); I can't seem to find the right way to simply change the font size. Thanks, Zath Thanks! Never had to change the font pro ...Show All

  • SoniaJulka DataGridView - need event to capture row delete

    Using the DataGridView in VS2005 Windows Forms, I need a way to capture the event when a record is deleted.  I see the "User Deleted Record" event which fires when the user highlights a row and presses DEL key, but that does not capture when the record is deleted by code--i.e. the user clicked a button to delete the current row. I have a User Control for the Add, Save, and Delete buttons for a grid so I cannot intercept that code to pr ...Show All

  • KP99 execute a common file in vb2005

    Hello again, i want to execute a common file from vb2005. Example: (i got a listview that contains the name of the file, and a label with the path of it)                listview1.selecteditems(0).text="common.txt"                label1.text = "C:\" so how can i execute "C:\common.txt" with th ...Show All

  • r_currie Using SplitContainer in MDI parent

    I have an MDI parent winform.  I instanate my MDI children when user press a button. I would like to use the new .NET 2.0 SplitContainer to divide screen area.  However, after adding the SplitContainer, my MDI children always stay behide the SplitContainer, how can I solve this problem Actually, a normal panel control will cause the same problem in MDI form. Thanks. Any control added to the MdiParent will become a sibbling of t ...Show All

  • Perry update button.text before api .wav plays

    I have a button that increments it's text value by 1 when you click it. It then plays a .wav file by  an Api Module  Public Declare Function sndPlaySound Lib "winmm.dll"  It works fine But I need to Know how can i update the&nb ...Show All

  • Jonathan Pickard UK Setting a datasource for a listbox causes a SelectedIndexChanged. NO!!!!

    I have a DB winapp using one form and a bunch of listboxes I re-assign the datasources of the listboxes as other listboxes are changed this causes the SelectedIndexChanged to occur. I do not want this. I want that event to only happen when the& ...Show All

  • alex_g_73 MaskedTextBox question

    I've never used this forum before, so here goes. I needed to force the user to only input numeric values, so I decided to use the maskedtextbox control. This control is supposed to inherit the modified property from the textbox control (or textboxbase control), however, it is not doing anything. The control is bound to a dataset value, so upon the initial load, there is a value in there, and I expect the modified property to be false. However, w ...Show All

  • MgManoj Date Time Picker

    Hi everyone, I am using a windows application where I use a date time picker. what is the event raised when I click on the date time picker so I see the calendar. thanks Here is my VB6 code: Private Sub mtvView_DateClick( ByVal DateClicked As Date )     txtDate.Text = Format(mtvView.Value, "mm/dd/yyyy")     mtvView.Visible = False End Sub Private Sub picDate_Click() & ...Show All

  • belgie Save datagridview layout to file

    Hi, I want to save a datagridview layout to a file. Not the data - just the columns, their formatting and the fields they are bound to. Can this be done (and how!) Paul. How could IPersistComponentSettings be implemented  Does anyone  ...Show All

  • gudmunh validate DataGrid bound to Array

    Good afternoon, I have a DataGrid bound to an ArrayList.  The ArrayList contains "segment" objects. Among other properties each segment object has a "value" and a "length".  The following must be true: segment.value.Length = segment.length In other  ...Show All

  • Jignesh Panchal trying to dynamically create a HTML page from a windows service

    I am working on a project which entails generating Account Statements depending on the frequency of need by the customer and sending it by mail. I am using a windows service, but the problem i happen to have is converting the results of a& ...Show All

  • marben79 Using an unsigned assembly in a strong signed project

    I need use of a windows browser (minimal needs for it) in a windows form. So i added the interop for IE using com ref addin in visual studio to add it as a componant the problem is that the interop is unsigned. I tried using the  ...Show All

  • catlyt Problems with RichTextBox

    Ok I'm having some problems with the RichTextBox Control... What I'm trying to do is create a console/terminal type window. I imagined the richtextbox would be a good start but it's been pretty frustrating. The difference between the KeyEventArgs and KeyPressEventArgs is confusing, besides the different key types and codes... I miss being able to look for '^C' or char(13), etc... 1) My KeyPressDown doesn't get CTRL-V, CTRL-O or certain o ...Show All

  • Tiger125 Trouble drawing theme elements transparently

    I'm trying to draw a windows theme element (the window close button, specifically) to an image, and whenever I do, the image has ragged non-transparent bits. I got this code from a sample that didn't do this (it was all owner-drawn, mine draws to an image.) Any idea why it won't draw with full transparency Bitmap output = new Bitmap(closeButton.Width, closeButton.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics fx = Grap ...Show All

97989901234567891011121314

©2008 Software Development Network

powered by phorum