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

Software Development Network >> Windows Forms

Windows Forms

New Question

If anyone can spare the time to help my cbo prob
Thread Safe Application Level Storage?
DateTimePicker Control question
Visual Source Safe Hell
DataGridView
Combobox Set selectedItemIndex by value
Maximum Zoom
default IDE control font
Picturebox control
WinForm Class Library and AppUpdater component

Top Answerers

MTarris
juan carlos ceresola
Andrea Williams
Frank153
Nxbber
ARTY1125
DaveRogers
kbailey
mvermef
kenambrose
RSS: Lightweight Web Syndication
Only Title

Answer Questions

  • xfx DatagridviewComboBox Datatype

    I want to use the DataGridViewComboBox column to allow users to select from a list such as: 1. Oil Seed 2. Dairy ... Once selected, I want the cell to only store the integer value at the beginning of the string. The cell data type is integer. I get errors when I try to display the string even though the value member is integer. Is there any way around this   In other words, can the displaymember be string and the valuemember be integer ...Show All

  • Nathan Cole On hide column in DataGridView, "Index was out of range"

    I'm trying to hide a column in my DataGridView immediately after assigning a DataTable to its DataSource. Here's the code: dgvCodePropagations.DataSource = MyDataTable ; dgvCodePropagations.Columns[0].Visible = false ; I'm getting an index out of range error. When I look at the DataSource in VS.2005 with a breakpoint on the second line of code, the DataSource is empty (not surprisingly, based on the error). Why isn't the DataSource & ...Show All

  • nt3 Range Validation in a PropertyGrid

    Hello - I am wondering if there is a way (perhaps through Attributes) that I can indicate to a PropertyGrid that I want a certain Property (which is an int) of a class MyClass to be limited to a given range, say 0-10. I know I could put Runtime checking into the Property's set method  itself and throw an error if the new value is out of range, but I don't want to throw an error, I just want the PropertyGrid itself to limit the valid range ...Show All

  • SlinkingFerret Force update of unchanged datarow

    Hi, How can I force to strore unmodified rows to database My goal is that after pressing save user should at least get a warning that this row is concurrently modified... Regards Peter ...Show All

  • Yabby SerializationException

    I downloaded the "Outlook calendar look and feel" sample, compiled it and ran it just fine. I then tried to add another form and add drag and droped the calender control onto a new form, and I got a SerializtionEception. It states that the assembly is not marked as serializable. I am just curious what is going on. The control works fine on the form that came with the demo, but I can't drag it onto any other form. I did have the visual studio bet ...Show All

  • MikeTheMechanic Problems while publishing project

    Hi, I am using VS 2005 Express edition on windows XP machine with 5.1 IIS. when i publish my application it get sucessfully. But when i to intsall it i get following error. Please help me out how i can fix that. PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727. ...Show All

  • rockclimber ListViewGroup Expander?

    I am trying to Create an Expander to my groups in a listview. Much like in Outlook there is an expander for if a message was sent a week a month or a day ago. how can i do that There is no good way to detect that click was made on group or to intercept group painting operation. This is what makes it hard to make an expander. So I think you have nothing to do but to simulate groups and expander by yourself. ...Show All

  • Xanthius How to populate a listbox with a complicated query

    How to populate a listbox with a complicated query  I created a query in the KeywordSetTableAdapter SELECT KeywordSets.KeywordSet, KeywordSets.ID FROM KSGroups INNER JOIN (KeywordSets INNER JOIN KSGroupKSAssignments ON KeywordSets.ID = KSGroupKSAssignments.KeywordSetID) ON KSGroups.ID = KSGroupKSAssignments.KSGroupID WHERE (((KSGroups.ID)=5)) ORDER BY KeywordSets.KeywordSet Fill a datatable method: FillByKSG5 Return a datatable method: ...Show All

  • Mohsen Kokabi Image size in milimeters

    Hi, How can I get image (bitmap) size in milimeters Thank's Alexei Hi, I didn't mention that I want to make millimetres to pixels, sorry. How is that working I must have a small mistake. Hi, why is this 1.4 cm then //Documentauflosung int xres = ( int )e.Graphics.DpiX; //Uberschrift Variabeln int xheader = ((10 * xres) / 254);   Hi, where do you have this from Why is it working this way Hi, ...Show All

  • ComputerSolutions PocketVision - References problem

    When I first open the project there are exlamations next to the web references. When I hit update web reference I get 30 build errors in the web references code relating to missing references such as System.ComponentModel.Toolboxitem but when I look  ...Show All

  • KurtM How to Check for Active Listbox

    Good afternoon, I am generating dynamic listbox controls based on a loop but out side of this function how can I check which listbox control is active or in focus Is there a away to scroll through all the listbox controls and do this test   I am not sure what the code would look like to do the scrolling through the listbox control, any help EXAMPLE: //Creating a Listbox for (int x=0; x<4; x++)  {   ListBoxContro ...Show All

  • Gordon Donald Welcome to Gridview Hell

    Ok this should be Sooooooo Easy that it is insane All I want to do is return a datatable and have the gridview display 4 rows of 3 images. I also need the gridview to page through the Datatabe if there are more than 4 rows of images (Easy so far, Can and have done this in my sleep... Perhaps thats the problem). But when you click on an image, I need to populate things on the right side of the page.. Details like the non-thumbnail version o ...Show All

  • AdrianG Populating Textbox from Combo Box Selection

    Friends, Looking for suggestions on how to populate a textbox based on a combo box selection. My instinct tells me that I will need to have two seperate data tables...One to populate the combo box with values from a data table and another against the same data with a query parameter. For example, my combo box contains values from data table called Departments. In the combo box I would like to display all the department numbers available... ...Show All

  • John Clien Using VisualStyleRenderer.GetTextMetrics()

    I would like to use VisualStyleRenderer.GetTextMetrics() to measure a font of my choosing instead of the default font for some object. Is this possible or will I need to use PInvoke to measure a font on my own Currently, if I Try and use PInvoke to set the current font on a Graphics object, attempting to call GetTextMetrics will throw an exception that the object is currently in use elsewhere: Here is my current code: public static doubl ...Show All

  • TonyGreen Global Variable in Windows Application

    I have created an MDI based application using C#. How and where can I create a global variable that can be used anywhere in the application Suppose I want to create a database connection programatically. How can I make this connection available throughout my application No, the program.cs file is a static class called Program so all the members are required to be static as well.   Is there a reason why you cannot use a ...Show All

293031323334353637383940414243444546

©2008 Software Development Network

powered by phorum