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

Software Development Network >> Windows Forms

Windows Forms

New Question

MDI OpenFileDialog
requested operation cant be performed on file with user-mapped section open
Small problem with a e.cancel in a KeyPress event Plz help
right-click event
updating datagrid
BackgroundWorker and exceptions
How to use windows form for a new project...
How to get last index of combobox
Anchor controls on Inherited forms
Disable the drill down feature in the datagrid

Top Answerers

MikeyB987
Chris Woods
Sajit
Todd Raymond
RGabo
zybernau
Webmaster www.greenrelations.com
beN!
Pairair
Malcolm Walker
MPEG4.net News
Only Title

Answer Questions

  • naffets DataGridView validation

    I've got a bound DataGridView, where the datasource is a collection of Customer objects (i.e. a custom object) The Customer class implement IDataErrorInfo and INotifyPropertyChanged. The Customer class has a property, Id, that looks like this: ----------------------------------------------------------------------------------- public int Id {    get    {       return id;   &nbs ...Show All

  • Warez_Willy Programmatic access to treeview control

    The help index in VS2005 indicates that it should be possible to change the selected node on a treeview control programmatically, but both the selectednode and selectedvalue properties are marked as read only so they cannot be changed.  How do I change the selected node programmatically to allow the tree to correspond to a web page that is opened from a Server.Transfer command (the default behavior is for the tree to remain pointing to the ...Show All

  • xxpor Collapsible and expansible GridView

    Anyone can give me some hits to make a collapsible and expansible grid to display a multi -level data. just like the local debug view in vs2005. Thank in advanced. If you are getting "Visual Styles-related operation resulted in an error because no visual style is currently active." and you want a workaround, create a Plus and a Minus icon as 10x10 bitmaps (or run the control sample with VisualStyles enabled and do a ...Show All

  • softgame How can I get the Virtual Dir form the Installation Address dialog

    I am developing a websetup project. There is a Installation Address Dialog in the User Interface. User can input the virtual directory in this dialog. I want to user the value of virtual directory in Custom Action. How can I get the value of virtual directory in Custom Action Pass the TARGETVDIR property into the custom action via CustomActionData. If it's an installer class, use something like: ...Show All

  • Selim Where Did My Bitmaps Go?

    My user-interface design has always been very basic.  "Spartan" some might say.  ("Skins We don't need no stinkin' skins!")  But with all of the visual improvements to the menu and toolbar controls in VS05, I think I've come around to the idea of adding some graphics to my UI.  My first step was to add some simple icons to the main MenuStrip items that I had extracted out of the My Movie Collection Starter Kit project.  ...Show All

  • Deurasian Databinding problem

    Hi everybody. I have a form which contains a user control. When the form loads, I'm populating some DataSet, and assigning the dataset refernece to one of the control properties. The control contains other control that are bound to various paths on that dataset, adding new rows, modifying, etc. Now, I want to update the changes back to the database with dataadapters. I can put a Update button on the control itself, or in the form containing ...Show All

  • Mike Hull DATAGIRVIEW

    Can you make a single cell a button in the datgirid view control Yes, you can. You can add any from DataGridViewCell inherited cell to any type of DataGridViewColumn. E.G a DataGridViewButtonCell to a DataGridViewTextBoxColumn. Regards Adrian ...Show All

  • AlexanderS Adding more than 20 columnHeaders to a listView

    Hi, I trying to add more than 20 columnHeaders to a ListView but I get the ffg. exception InValidOperation("Item cannot be added to ListView.").  This worked in VS 2003 but not in 2005.  Any thoughts or solutions would be helpful.  Thnx! for ( int i = 0; i < 21; i++ ) { lvOverview.Columns.Add( new ColumnHeader ()); } string [] clientDetails = new string [21]; for ( int p=0; p < 21; p++) { ...Show All

  • NileshGarje Localizaion problem of embedded Windows User Control in IE

    Hallo, I have a small localization problem. My Application My.dll will be loaded in IE Here the html code: <html> <head> <link rel="Configuration" href=" http://myserver/mycontext/My.dll.config"/ > ... </head> <body> <object id="My" width="230" height="150" classid="http:My.dll#My.MainCtrl" VIEWASTEXT/> ... </body> </html> The ap ...Show All

  • cmazur Listview with Imagelist

    Hi All, I am working with listview and imagelist, and I am able to populate listview with images and data,but in one situatation I need to remove all images(imagelist) from the listview,  when I remove images(imagelist) from the listview I want to make first column textalignment to left, in my code even if I remove images(imagelist) I was not able to align the text to left. I wasnt able to remove the space what earlier occupied by images(im ...Show All

  • Hummer Considering a bugreport about AutoScrollPosition property of the ScrollableControl class

    I used the ScrollableControl class in one of my projects for a while and I'm puzzled why the class implementer from MS decided to implement the AutoScrollPosition property in such an inconvenient and weird way. Here's from the WinForms 2.0 docs: AutoScrollPosition represents the location of the scrollable control's display rectangle. The X and Y coordinate values retrieved are negative if the control has scrolled away from its starting posit ...Show All

  • Christopher Gordon Is using this.object (C#) or me.object (Vb)more efficient?

    Just wondering whether more explicit code:  this.object.Property=true; is more efficient than using just:    object.Property=true; Many thanks in advance, It is exactly the same thing.  The pointer to the current object is implied when it is not&n ...Show All

  • LeGonzo DataGridViewComboBoxCell error when deleting in DataGridView

    In any DataGridView that has a DataGridViewComboBoxCell, I have this problem... If I click anywhere in the DataGridView, then click the Delete button on the DataNavigator, the deletion fails with: System.NullReferenceException: Object reference not set to an instance of&nbs ...Show All

  • Webzest How to display "&&" characters in Menu Items using .Net

    I am using .net version 1.1. I want to add the menu items dynamically. If the menu item having the text "char &&&&&& &&&&&&", it is displayed as char &&& &&&. How to display the character as normal text. I knew Mnemonic function avoiding the underscore to display. Please help me. I have moved this post from the .NET Framework General forum to this forum ...Show All

  • buaaytt Excel question, installer question

    Hello all, I just have two quick questions: If i open up an excel spreadsheet with my application does microsoft excel need to be installed on my machine If I create a deployment project do I need to include all of the .Net framework with my installation Thanks for your time, Padraic If you use excel to work with a spreadsheet you have a dependency to excel. It will need to be installed for your application to work. Yo ...Show All

787980818283848586878889909192939495

©2008 Software Development Network

powered by phorum