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

Software Development Network >> Windows Forms

Windows Forms

New Question

IE Print Background Activate
how to limit number of instances of a form being opened?
Disable Close Button... on a Winform
Problems with handling WM_NCCALCSIZE and setting Form.ClientSize property
how to create a user defined Events work for the following topic
Listview Custom Draw problem
Opening a file with double click
Client/Server App
Checking Value in the Registry.
PocketVision Errors

Top Answerers

BillWenmingSun
Frank Natoli
sassankz
Theo du Toit
tester12
Stijn.Adriaensens
Daniel at SCANA
Tami
bvimcp
Lilia Vratch
The Webmakers Lounge
Only Title

Answer Questions

  • tspitz DataGridView Soring

    I really like the new DataGridView control, however, it always seems to sort columns containing numbers and dates as if they were strings.  The Windows Forms 1.x ListView control did the same thing so what I ended up doing was to create an ...Show All

  • mehdi62b Scheduled time-list..

    Hi guys!  Is there any control which can give me a scheduled day-list like theone in outlook Regards Fredrik You might want to look at the controls created by dbi tech. They have a bunch of date/time related controls. For more i ...Show All

  • Mike Fang data binding to a photo with sql server 2000 in c#

    hi all, the question as above anyone can solve the problem The easiest way is to let the designer do the work for you.  Add your Table as a DataSource (Data -> Add New Data Source...).  This will create a DataSet and a TableAdapter for your table and add it to the ToolBox.  You can then drop your DataSet on the form and fill it using the TableAdapter (e.g. tableAdapter.Fill(dataSet.Table);).  You can then manually s ...Show All

  • Anand Raman The property 'ClientID' on type 'System.Web.UI.Control' cannot be serialized

    I am trying to serialize a web control and get the following error:- The property 'ClientID' on type 'System.Web.UI.Control' cannot be serialized because it is decorated with declarative security permission attributes. Consider using imperative asserts or demands in th ...Show All

  • TopDog resize a richtextbox

    How do I resize a RichTextBox control to be as high as its content There appears to be no way to do this . I've seen several "solutions" which all basically revolve around this code: RichTextBox1.Height = RichTextBox1.Font.GetHeight * RichTextBox1.Lines.Length   that is; count the number of lines and times it by the height of the font. Unfortunately, this counts the height of the first font on the rich text control that it enco ...Show All

  • pvb Really confused about ToolStrip color (BackColor?)

    This seems way too elemantary, but nevertheless, I am having a problem with it. (in a new VB.NET project) Setup in Designer:  - Form.BackColor = SystemColors.Control  - ToolStrip.BackColor = SystemColors.Control   Result in Designer:    - ToolStrip color is "lightish blue" (but the dropdown tool in the ToolStrip (for adding buttons, etc) is colored SystemColors.Control) Setup in Designer:  - Form.BackCo ...Show All

  • Shahid Shaikh Default Font Size for Labels

    In VB.NET is there somewhere that the font size for all labels in a project can be set Thanks, Tony dont' waste your time.  just create a base form, set it's font to bold 12pt and set it's forecolor to darkblue, then have&n ...Show All

  • mikalush Diagram Editor

    Hi! I was wondering if anyone can advice me or point me to samples that can help me to build a diagram editor. I'm thinking of something like a simplified version of Visio for my code generator. Any ideas On inheritance based&nb ...Show All

  • Will K listbox?

    hi,    i have a dropdownlist populated from database,button when pressed whatever is selected from the textbox will be the items in my listbox and i also have a delete button incase the user changes his mind to delete the items in the listbox and a submit button which will insert the items from the listbox to a new database.   my code is working fine. My database table looks like this: ActivityName(text) | Act ...Show All

  • YKen Why the DataGridViewComboBoxColumn values are lost?!

    Hi everybody! I have DataGridView whose sourse I set to a datatable with 4 columns containing data. I then remove two columns, create a DataGridViewComboBoxColumn and DataGridViewCheckBoxColumn and insert this into the same location as the columns that were removed. I want to set as the selected value in the combo box of every cell in the DataGridView a specific value. I have done it, but once the debugger leaves the file with the c ...Show All

  • Kelvin Tse Imports System.Web.Mail error

    I am trying to add a reference to System.Web.Mail in VB.NET application and getting an error saying Namespace or type 'Mail' for the Imports 'System.Web.Mail' cannot be found. How can I fix it or it is only accessible in ASP.NET application   Thanks ...Show All

  • Pablo Espada XML Data Export to an Access Database

    I have an XML file being view to dataGridView in a Windows Form application. What is the best way to get the data in the dataGridView into the access database private void button2_Click( object sender, EventArgs e) { string FileLocation = "C:\\POINTEXP.xml" ; pointDataSet.ReadXml(FileLocation); dataGridView1.DataSource = pointDataSet; dataGridView1.DataMember = "PrimaryReportData" ; } ...Show All

  • Demid scroll to a point/rectangle in a usercontrol programmatically in c#

    hi, i wrote a usercontrol, and put that into a winform that has less size than the usercontrol my usercontrol (e.g. displaying a big world map) has many points (a city), i have a listbox that references to the points. when i click an item  ...Show All

  • Helio D creating a datatable on the fly

    I'm trying to create a blank datatable, and then fill it with rows copied from a datagridview using only the selected rows in the datagridview. I can loop through each of the selected rows of the datagridview, but I can't find a way to convert them to a datarow datatype, or add them to a datatable. Does anyone know how I can do this smtraber dataSet1.Tables[ "TableName" ].Columns.Add( new DataRow ( "Column ...Show All

  • mango_123 unable to import a vb6 dll component into my c# project

    my vb6 project can use the dll, dont know which language it was written.  now trying to add into my c# project as reference, the err msg said that it was an invalid dll or compoment.  can any one advise on this Regards, YX ...Show All

606162636465666768697071727374757677

©2008 Software Development Network

powered by phorum