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

Software Development Network >> Windows Forms

Windows Forms

New Question

Searching for a file.
C++ Drag and Drop
Plz i need WebBrowser Control Help
Inherited form question
VS.net 2005 Installer: Not enough storage is available to complete this operation
Installer package
Item cannot be added to a read-only or fixed-size list
why are the forms properity reset itself?
ListBox - Number of visible items?
Nested Parentable Control

Top Answerers

j_o_h_a_n_n_e_s
donbox5
Andy Burns
graymon
Yuki Chen
F.Costa
wms103006
KFrostILEM
DiskJunky
Fahd
Link City International Limited
Only Title

Answer Questions

  • VistaHelpNeeded Adding a checkbox to a DataGridView column header

    I have a dataGridView with a checkbox column to allow the user to select rows. I want to display a select all checkbox in the column header. Can anyone steer me in the right direction. Thanks! Thanks everyone for helping me. Try this Well I'm not sure if it is possible to change the data type of the header to a check box. If I were to face such a problem, I would create a seperate check box and place it on top of the grid, where I want it to be. Then just: private void checkBox1_CheckedChanged( object sender, EventArgs e) { foreach ( DataGridViewRow row in dataGridView1.Rows) row.Cells[0].Value = checkBox1.Checked; } But ...Show All

  • moo10032 Error Message on Phone Dialer Startup

    I have begun getting an error screen with the following message when I try to start Phone Dialer (C:\Programs\Widnows NT\dialer.exe, v1.50) and it completely prevents me from dialing to a number ot IP address: "NAME = Operation: One of the application components (AVTAPI.DLL) is missing or not properly registered; use regsvr32.exe from the command line to register components. Details:" I use Windows XP Home with all the latest updates.  Upon checking, the file AVTAPI.DLL is in the C:\WINDOWS\system32 folder.  When I execute regsvr32.exe, I get an error screen with the following: "NAME = No DLL name specified. Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname /u - Unregister server /s - Silent; d ...Show All

  • WilsonR Datagridview and wrong ID

    Hi all, I've developed a quite complex application using VB 2005. I'm using an Access database. I noticed a strange problem with a datagridview. After deleting a record, closing my application, reopening it and adding a new record using the datagridview, the system gives to "ID column" a wrong value (for example, a value already used by another record). After saving the new record, and "refilling" the datagridview, the correct ID for the new record is displayed. How could I solve this problem Thanks in advance for your help. I think maybe you have not delete the row completly,make sure you have deleted the row in database,dataset and ...hth No, the record seem to be correctly de ...Show All

  • Stefan Ghose How to determine which control is at the front

    I have a panel which holds a number of fully docked child controls, so only one can be visible at any time (which I set by calling BringToFront). Is there a way to determine which control is at the front without keeping track of it myself i.e which control is currently at the top of the z-order Thanks for both replies. Andrej - that looks pretty easy to implement so I will go with that. Hi, If all the controls are contained within the same panel, you can check that panel's Controls collection. The first control in that collection (panel1.Controls[0]) is always the top one, and the last in the collection is the bottom one... When you change your controls' ...Show All

  • JoachimLaursen How to improve the drawing process of my panels?

    Hi, I have some panels with a lot of labels and buttons. Each time I bring a panel to the front, it takes several seconds to be drawn. This is very annoying, since while it is being drawn lower layers, sometimes even the desktop, shine through the panel background in the label and button locations. Are there ways to either: - speed up the drawing of a panel and all its controls; - prevent lower layers from shining through the panel background while the controls are drawn; - draw the entire panel while it is invisible and then show it all at once Will things improve if I don't use controls at all but write/draw directly on the panels (and then identify the 'sender' of an event by checking the location o ...Show All

  • Kevin Tough Intercept Window Messages

    Is it possible to intercept window messages of an external application using C# similar to how spy++ does. I have placed my C# form into an external application using the SetParent function (user32.dll) .  However I need to dispose my form when the user clicks on any of the navigation buttons of the external application so that they can continue using the functionality of the external application. I am able to use the SetWindowLong function to trace any messages on my form. However if I replace the handle parameter in the SetWindowLong function from the form handle to the external application control handle, it does not trace any messages. The spy++ utility is able to trace all the messages sent to the required cont ...Show All

  • Ryan_H When getting the manifest is null but no error

    Hi. I am working out this code about using ClickOnce Applications Programmatically: http://blogs.msdn.com/winformsue/archive/2006/02/02/523414.aspx My problem is that when arriving to the loading of the manifest the iphm_GetManifestCompleted() says that there is no error (e.Error != null),but the DeploymentManifest and the DeploymentApplication are null then the program stops. What is the problem Thanks. Loernzo If you want to get the application manifest and deployment manifest from GetManifestCompleted(), you should get it as e.ApplicationManifest and e.DeploymentManifest. Is the application already installed You should be able to get the application manifest and deployment manifest if the applicatio ...Show All

  • xlordt SystemColor.InactiveCaptionText do not work with Vista

    Hello everybody, I develop an application in C# with Visual Studio 2005 Professional and I want to set the SystemColor "InactiveCaptionText" as backgroundcolor for a navbar. It works perfect with Windows XP ( "lightblue" or something like that :-) ) . With Windows 2000 the backgroundcolor of the navbar turns to the "control-colour (grey)". This is ok, too. But with Windows Vista the backgroundcolor turns to dark-grey / black. With this color it is not possible to see the other elements of the navbar. :-/ Does anybody has an idea how it works with windows vista Best regards EmJay 71 ...Show All

  • tviel DataGridView Seek

    Hi, Is some way that I can make a search in a datagridview not whit Loops (For, while). I remember that the datagrid in VB 6 has a Find or Seek method that does this. I don’t remember the correct syntax but it was something like this: DataGrid1.Seek = “field LIKE ‘” & textbox1.text & “%’” Datagridview has that method or is some way that i can do this In this case I'm not sure. I understand you want to highlight the rows perhaps - this can be done using the Rows[] property of the datagridview, and setting the "Selected" value to true to highlight that row. The query above as said will show you all the matches found in the criteria and will only sho ...Show All

  • Rattlerr selectedtext changed event

    Hi, vb6 offered for the Textbox control the event SelectedTextChanged. How is this done in .net Cheers, Frank that part is done via the Mouse_Up event Cheers Hi, I'm wrong about my statement. The vb6 textbox control doesn't have an event that fires when the user selects text in the textbox. This is a feature in the RichTextBox control. It would be nice for the textbox control to have the same RichTextBox1_SelectionChanged event. Cheers, Frank for the textbox, there is a textchanged event. Simply select the textbox in question in designer view, view its properties, select the events icon (lightning symbol) and scroll down t ...Show All

  • ron nash Menu Merge Bug?

    I'm having an issue with menu merge...What I have is an MDI application, where I've got a menu item on the parent MDI form whose items are dynamically populated by handling the menu item popup event. The issue I'm seeing is that the UI does not properly reflect the dynamically populated list. Here's some code to demonstrate the issue. On the MDI parent form, I have a "Recent Windows" menu item. Whenever I open a new child window I add the MDI child title to a list. In the "Recent Windows" Popup event, I dynamically add submenu items based on my list of recently opened windows. As a point of comparision, the main form also has a "Windows" menu with the MDIList property set to true. I would expect that my dyn ...Show All

  • AlfonsAberg Submit Data To Sub Sub frame

    My project has a webbrowser control I want to create an automatic control for a web site but the target website is created by frames and one of the frames has frames inside it and I want to submit a form in that sub sub frame. As I know that one of the overloaded Navigate methods allows to post data to target frame but not to sub target frame. Any Help please to work around this and if this site is secured, will I loose the session if I use Navigate method Note: I use visual C# express. ...Show All

  • Coleby 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 OK, I can write the date into the registry when they first install the software, but then how can I keep track of how long they have left before it expires What if the user changes the windows date Look at the Shareware Starter Kit Example ... it might have what you are looking for. It might give you some ideas on implementation. Hello, This article may help you: http://www.dotnetjunkies.com/WebLog/debasish/archive/2005/11/14/133746.aspx ...Show All

  • prujohn Form to Form

    Hi I am trying to change label text the form1 to form2 and the form2 to form1. I don't know to do it. I use C++/CLI 2005. Any idea Ok, and now , i can not to put in form2.h Form1 ^Windows1 = gcnew Form1; this give me error. Or how do i for change textbox1 in form1 umm, thinking... I don't quite catch your mead, maybe you want some code like this Form2 form2 = new Form2 (); form2.Label.Text = "Something" ; form2.Show(); You have to use something like this when you have a chance that an include file may appear in more than one header files. #ifndef MYHEADER_H ...Show All

  • braz Is there a way to enumerate (and suspend) all binding sources on a form?

    Hi, I'm working with Windows Forms bound to custom business objects which support the IEditableObject interface. When the users clicks "Save", I'm using a BackgroundWorker to handle the database updates on a separate thread. To prevent cross-thread exceptions from databound controls, I'd like to call SuspendBinding() on all the BindingSources on the form (of which there are now 15-20 to cope with various drop-down lists, etc.) Is there a way I can programatically enumerate every binding-source on the form (short of recursively scanning all the forms child controls and looking for DataBindings ) in order to suspend/resume them all Thanks Dylan Hi Dylan. Please take a look a ...Show All

707172737475767778798081828384858687

©2008 Software Development Network

powered by phorum