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

Software Development Network >> Windows Forms

Windows Forms

New Question

IndexOutOfRangeExceptionwhile deleting multiple rows from a bound DataGridView
TreeView object
TabControl: Selected event ignored in Form Load event
disalbe items in listbox
saving a connection string in app.config
migrating to 2.0
Rogue browser control - AxSHDocVw in Windows Forms App
Problems canceling changes
Strange Timer Check
How to select a control within a control in design-time?

Top Answerers

Ashwin Panse - MSFT
jazjef
fixmycomputer
tim00
OwenG
Shane T.
Sebastian Paulussen
jwagner20
tao84
K.Sridharan
Sci-Fi Wire
Only Title

Answer Questions

  • daisylh Updates only with ClickOnce

    I have an application that can not be published with clickonce because it needs to install assemblies in the GAC. So I can build an MSI package to take care of that, but then is there a way to let the program get updates with clickonce Thanks, ryan There really isn't a way to install an app with Windows Installer (MSI) and then hook into ClickOnce updates. You need to install the app with ClickOnce to get the ...Show All

  • steveo9916 How can i create a drag-and-drop hierarchical grouping ?

    hello, i would like to know where to start to create sort of column grouping, by dropping them on an empty space. just like the columns you drag on the top to create a filter, look at these examples : http://www.biblioscape.com/btx_group.gif http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/S_Grid_2/sgrid2.png i really have no idea from where to start, i played a bit with DataGridView but couldn't DoDrag outside of it, ...Show All

  • Coldwar Problems serializing a collection out of Windows form Collection Editor

    Hello All, A. I have a class named Plural2SingularItem B. I have a class named Plural2SingularItemCollection which inherits CollectionBase. C. In a custom control, I have a property of Type Plural2SingularItemCollection I set everything up the way I did so that I would be able to use the default ObjectEditor in design view. Everything works as I would expect EXCEPT that nothing is Persisted when I click the OK button in the Editor. ...Show All

  • Umesh.N DataGridView , DataSource and myGridView.Rows return null (same for .Columns)

    Well, I was very happy to be able to set up a complex query to fill a DataSet and use that DataSet as a DataSource for a DataGridView. But the issue is that the DataGridView displays the data in a very raw mode and that I need to apply many different style depending on each cell. But the Columns property returns null and the Columns.Count return 0 Same for Rows and Count. I have had to create all the columns manually from code to be able to ap ...Show All

  • gongo move a form without the title bar code taken from microsoft game example

    Public Class MainForm Dim matrix As Guid Dim score As Integer = 0 Private mouseOffset As Point Private paused As Boolean = False Private isSoundOn As Boolean = True   Private Sub Form1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase .MouseDown mouseOffset = New Point(-e.X, -e.Y) End Sub Private Sub Form1_MouseMove( ByVal ...Show All

  • bialasw TabControl - Disable/Enable tab page

    I have a tabcontrol with 2 pages. OnLoad the 2nd Tabpage shall be disabled (grayed out and not selectable). Later with code I need to enable the 2nd tab. Any Ideas how this can be done please. /Morten > You snobs are interested in some abstract purity. But I'm a down to earth engineer. Visual basic was designed for people like me. We know much better than you what makes average users confused, and know ...Show All

  • hallr Stored Procedure Failure

    I have the following stored procedure to insert new users into a database. CREATE PROCEDURE spWebUsersInsert @strUserID char(10), @strPassword char (10), @strDescription varchar (50), @strAccessLevel varchar(20) AS INSERT INTO WebUsers Values(@strUserID       ,@strPassword       ,@st ...Show All

  • Jon Liperi ClickOnce deploy for Windows Me

    Hi all, I've developed an application that I've published on my website. So far all users have been able to install it. One of my users however is still running WinMe..... (I know, I know) and he's having problems installing the application. He did manage to get framework 2.0 installed, but when clicking "install" on the web page, it doesn't launch. He says there is also a "launch" button (which I don't see anywhere) ...Show All

  • MikMak DateTimePicker and DataBinding, 2005EE, VB

    Hi all, I have a database with a date field. Automatically 'Details' insert it to a form like a DateTimePicker_Ctrl, bound to the field. The property Value is set to the today's date from VS2005EE. But unfortunely if I save a new record with the Navigator_Save_Button the DateTimePicker deliveres Null, so an error appears (Null not allowed, I need the date). Only if I select a date - not the shown today's date - the date will corr ...Show All

  • TapsaKoo Web Browser Control causes memory exception on application.close

    I have a web browser control on a tab control in a windows forms 2.0 application deployed through click once using C#. The web browser control works fine until I try to close the application. Actually, it never ever fails for me, but fails always for everyone else. I think it is because I do not have MS Office installed on my development machine. every time I close the application I get a windows memory exception, could not write to xxxxxxxx ...Show All

  • PatrikB. What is the best way to Load/Store Form Location and Size?

    Hello, What is the best way to Load/Store Form Location and Size   Also what it the best method for Load/Store of other elements on a form such as a MenuStrip and ToolStrip when that are placed in a ToolStripContainer Thank you for your help, Your options are the registry, and a config file ( but the Microsoft config file stuff does not support writing ). I think it depends on how much there is, officiall ...Show All

  • ultramods A Smart Client Intranet

    Hi everyone, My company is interested in developing a new intranet and I wanted to run an idea by you to help me decide if it's feasible and/or to iron out some wrinkles.  Here are some of my thoughts and how I came up with the&n ...Show All

  • madura Full screen

    Hi, I am using window XP. I am making a full screen form. I maximize the form by: Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Width = Screen.GetBounds(Me).Width Height = Screen.GetBounds(Me).Height Left = 0 Top = 0 End Sub However, the title bar is still exist. How can I hide the title bar Change the Form’s FormBorderStyle pro ...Show All

  • Sandeepji Choudhary Formatting Textbox

    I am creating in C# a databind form. How I format in textbox a datetime to "dd/mm/yy" (acttualy is shown "dd/mm/yy hh:mm" - datatype datetime from table MSACCESS ). Thanks in advance,  Alexandre Sorry, left out a Next at&n ...Show All

  • sweens319 Help with controls

    Does anybody know how to check if a control has an event handler or not Unfortunately, Galin's code won't work in this scenario. You can only retrieve the delegate like that if the event is a member of your own class - you can't do it to another instance. If you try Galin's code you'll get this error: error CS0079: The event 'System.Windows.Forms.TextBoxBase.Click' can only appear on the left hand side of += or -= Indeed, the t ...Show All

97989901234567891011121314

©2008 Software Development Network

powered by phorum