Software Development Network Logo
  • Windows Forms
  • SharePoint Products
  • .NET Development
  • Visual C++
  • Visual C#
  • Windows Vista
  • Microsoft ISV
  • IE Development
  • Smart Devicet
  • Audio and Video
  • Visual Studio
  • Visual Basic
  • VS Team System
  • SQL Server
  • Game Technologies

Software Development Network >> Windows Forms

Windows Forms

New Question

Searching for specific text data in the datagridview control
Help...DatagridColumn Problem
about datagrid in vs 2003???
Read XML with XMLReader
problem
datagridviw cell color
PropertyGrid and ListBox
call form.show() in a thread that doing an unfinished loop
Formatting text with different fonts in DataGridView text cell
How can I make update version for application which was signed with certificate now expired?

Top Answerers

cosminb
Sweeps78
Marauderz
JennyMQuinn
hanjg82
Bravo_00
Adam Miles
ghead
bud1024
LuckyL
sitemap
Only Title

Answer Questions

  • smickell Test for Existance of Object

    Using C#, VS 2005, Windows app - on the main menu we have a menu item to open a mileage screen. If the user clicks on the "Mileage" option on the menu, the screen opens as per the code below. However, if they minimize the screen, or lose track of it below another screen and click again on the mileage option, it will open a second mileage screen. How can I test for the existance of the mileage object, and if it exists, simply bring the screen to the top private void mnuMileage_Click(object sender, System.EventArgs e) { Mileage mileage = new Mileage(); mileage.Show(); } Many thanks Mike Thomas This is how I do it - I know, this is vb, but it should give you the general idea.... Public Shared ...Show All

  • UA Jeremy TableAdapter and Binding Questions

    Need a bit of quick help here. I have a VB app that connects to a SQL 2005 Database. I am able to view data that exists in the tables through binding the object to the table adapter I have created. I Created the TableAdapter through the TableAdapter configuration wizard and it generated all of the necessary code for the SELECT and INSERT stored procedures. My intention is to Update Data in the Base Tables in SQL 2005 when the value of the textbox changes. I cannot seem to understand why this is not occuring. I get the following error message. "Update Requires a Valid UpdateCommand when passed DataRow Collection with Modified Rows." Any help would greatly be appreciated... http://forums.microsoft ...Show All

  • Raoul_BennetH Dialog result without closing / event handling

    For reference, I'm working in VS Express, C#.  I'll try to keep background short and need-to-know.  Also, my apologies on the font size - I tried to make it normal and apparently I have failed... In my efforts to follow a good OO approach to programming a project, I have created an abstract object called Item (as in an item on a test) with an abstract method Display (which displays the item and returns an int that is the answer given).  I also have a TestAdministrator class that selects the items in a test and presents them to the test taker. Furthermore, in an effort to keep load times to a minimum, I have created an ItemDisplayForm class that gets passed into the Display function.  The idea was to have ...Show All

  • Smalldust save, new, open facilities for data entered in datagridview!

    Hi! I have a GUI with a datagrid viewwith different columns with data ( numbers, strings and/or combination of both). After all the data has been entered i want the user to be able to save it as a file and eventually give it a name, open this file and make a new file when it is needed.  How do i implement this in Visual studio express edition .NET VC++ What kind of a file should it be ( text file or someothertype ) and how do i implement this Assuming the user has saved it ( somehow..) as a file( sometype..), how do i load this data back to my datagridview All inputs are welcome..Example to implement  this will be a blessing! Cheers! ...Show All

  • Hayd3n How To: Implement Single click navigation to a DataGridView Combo Box Cell

    I have a data grid view bound to a data view, with a combo box bound to another data view. The user's are complaining that they have to click twice on the combo box drop down arrow to get the drop down list to appear -- what's happening as near as I can tell is that the first click selects the row, and the second click is delivered to the combo box. Is it possible to modify this behavior so that a single click both selects the row and drops down the combo box I suspect this is not as simple as overriding WndProc in the DataGridView and passing the WM_CLICK message to the combo box :-) Thanks in Advance Alan Thanks RankoNS, this worked for me. This is the simplest solution of all. ...Show All

  • omniGames How to set false enabled button?

    I want to set false enabled button when I click another button but I don't know how to do that... this is my code: button1->Enabled(False); but it doesn't work...Any suggestions I'll try this...Thanks,pal.Can you help me about this problem: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=660007&SiteID=1 Thanks in advance... joeycalisay wrote: let me guess button1->Enabled = false; I also tried this but it doesn't work...Other suggestions let me guess button1->Enabled = false; button1.Enabled = false; ...Show All

  • Bluehunter Color attributes with checkbox.appearance=appearance.button

    After my checkbox has been set to have the appearance of a button, it does not respond to the setting of backcolor attribute. How can I fix that Hello, Thing is this should work. I tested it by doing the following and it worked fine using VS2005. 1. Created a new project. 2. Dropped a CheckBox onto the form. 3. Changed its appearance to Button via the property dialog. 4. Changed the back color to Red. Everything worked fine. There is probably something in your code causing the issue. I'll throw out the "Clean your project and do a complete build" spiel, but I'm not sure that would help. Ken Thank you, Ken. I did what you suggested and it w ...Show All

  • kenneth123 Adding a check box to a datagrid

    Hi, Can anyone help me in adding a check box to a grid view. I have searched in google and had a few sites that show how to add the checkbox, but the procedure is quite confusing. Is there a site that shows in a simple way how to add a check box and then delete the values from the database, based upon the checked values in the datagrid. Regards, Srikanth Hi, I would like to have the checkbox in a grid view, in a web form. Regards, Srikanth This question belongs in the WinForms Data Grid forum. I'll move it over. Please delete this thread. I have solved this issue. Regards, Srikanth ...Show All

  • JimmyFo MSHFLEXGRID PROBLEM HOW REGISTER COM COMPONENT IN VB.NET

    hi all how life is going in these days I using vb.net i add com component microsoft flexgrid control version 6.0 when i drag and drop to from then shown error message You do not have a license to use this activex control but in my c:\windows\system32\vsflex3.ocx file but is problem please help send me link where i read for msflexgrid thanks for response for advance Regards Irvendeep have you tried regsvr32 remco ...Show All

  • Jae Treating ToolStripMenuItems and ToolStripButtons as one

    Is it possible to somehow store a strongly typed collection of both ToolStripMenuItems AND ToolStripButtons Basically I want to collect all GUI entrypoints to Print/Export To Excel so that I can easily disable/enable them depending on the type of the active MDI child window. Thanks. Hi, Both ToolStripMenuItems and ToolStripButtons derive from a ToolStripItem class so I guess you could make a ToolStripItem generic collection: List < ToolStripItem > toolItems = new List < ToolStripItem >(); toolItems.Add( new ToolStripButton ( "My Button" )); toolItems.Add( new ToolStripMenuItem ( "My Menu Item" )); Andrej ...Show All

  • JohnGray Regarding use of panel

    Hi it seems panel and forms are same..what is the use of panel actualy when should we go for panel Thank you... They are not the same. The form can contain a panel, not otherwise. A Panel is a control that contains other controls. You can use a Panel to group collections of controls such as a group of RadioButton controls. As with other container controls such as the GroupBox control, if the Panel control's Enabled property is set to false , the controls contained within the Panel will also be disabled. While a Form is a representation of any window displayed in your application. The Form class can be used to create standard, tool, borderless, and floating windows. You can also use the Form ...Show All

  • Yifei Wu Can I DragDrop to Notepad?

    Hi, I am trying to drag a text or picture from my application to notepad or mspaint, Can anyone tell me how I can do that thanks in advance, idos I am using 2005, and I finallly found where the problem is. I wrote Console.Write() after almost every line in my code.. and the problem is that Somehow I dispose my object before I use it in the drag drop, So I comeout with this idea that an object doesn't become null after being disposed... Maybe someone can clarify my idea, anyway I am quite happy now that my program is working ... Thank you -idos- Here's a good article to get you started: http://www.code-magazine.com/article.aspx quickid=0407031&page=1 Clipboard Spy is useful for testing out clipboard an ...Show All

  • Venu Konda How to make a licience expire?

    Hi, I have developed a software but I need help on how to issue licences that expire after a given period of time. What is the best way to licence out a software and make it expire and unusable after an year Thank you Hello, This article may help you: http://www.dotnetjunkies.com/WebLog/debasish/archive/2005/11/14/133746.aspx Regards, Rasinec Ninoslav www.ApplicationAspect.com nras....@ApplicationAspect.com (please, replace dots with appropriate letters) That's why it is not 100% secure. You might want to consider to also count the number of times your app was used... I have tested some shareware applications and some of them even if I change ...Show All

  • StuartGM Looking for a Toolbox component that has two lists, with items moving to and from

    Is there a component that has two lists, with the ability to select items in one list and press an add button to move them to the second list You don't need a special control to do that, you can do it simply using ListBox control, here is the code : ListBox2.Items.Add(ListBox1.SelectedItem) ListBox1.Items.RemoveAt(ListBox1.SelectedIndex) PS : you can use ListBox2.Items.Insert() instead of ListBox2.Items.Add() Hope this solves your problem :) ...Show All

  • AlexU want to shift user-control below another user-control to reveal invisible part.

    i have 'n' same kind of user-controls which i want to place 'top-down' one below the other in a form. The problem is, there is an 'invisible' control in the user-control which is revealed when a button is pressed on the user-control and i want that other user controls below tht one should shift below to make way for the now visible control (it's a text-box) - much like Gmail interface. how can i achieve this i am using vs 2005, c# thnx. Odd question, if the other UserControls are already below the top one in the Z-order, revealing the TextBox won't be a problem. Use BringToFront() if necessary to change the Z-order. when i am doing this, the revealed text-box is hidden from view because of the controls below...i can only ...Show All

606162636465666768697071727374757677

©2008 Software Development Network

powered by phorum