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

Software Development Network >> Windows Forms

Windows Forms

New Question

Draw translucent rectangle over top of child controls
Encode email as HTML
Unselect item from a listbox
Method to set datagridview row background color
Simple binding c# 2005 very strange problem (bet you cant solve it!)
Submit a file to a printer in C#
VS 2005 Winform designer Issue
Is it OK to update application configuration file during installation process?
Calculate Width of a String in Pixels
Hosted Designer Smart Tags not showing up.

Top Answerers

Phil at AUT
MarkWHarrison
bdagman
James Y
Loup
JanusKH
Allard Martinet
Nima Amin
zhuyanjun
abelegreen
Independent Programmers Laboratory
Only Title

Answer Questions

  • kslim "Post-requisites" in ClickOnce Deployment?

    Hi, Is there a way to execute a process after deploying my application using ClickOnce technology Something like what prerequisites do but should be done after all files have been installed on the target machine. I'm sure there is a way if its an .MSI file but if it is ClickOnce deployed how could we achieve this TIA. I don't think there is an easy way to do that. If you are full trust app then you ma ...Show All

  • nOrphf DataGridView and ContextMenuStrip

    Hello all, 2 questions about using ContextMenuStrip in conjunction with DataGridView: 1. How can I get a ContextMenuStrip to open only if the user right-clicks on a cell, and not a cell header/row header/background/etc My current solution is to associated the CMS with the columns, and not the DataGridView, i.e.: datagridview1.ContextMenuStrip=Nothing For Each c As DataGridViewColumn In datagridview1.Columns c.ContextMenuStrip = dgvContext ...Show All

  • groovieblonde Getting User's Windows Groups

    The following return the the current user. Dim PPSUser As String = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString() How can you get the Groups the current user is a member of I would like to add: How do you get the First Name, Last ...Show All

  • thdwlgP DataGridView DisplayIndex doesn't keep positions

    I have a problem with the DataGridView. I place a DGV on a form and add some databound columns. Then I add some non-databound colums. Then I re-order the columns in the column designer using the up-down buttons. Everything ok so far. But when I run the application, the order of the columns are shuffled. How can this be The only workaround so far, has been to set the DisplayIndex of each column in code. But I would expect the designed colum ...Show All

  • icesun Is a DataSet the best for my needs here.

    I have a scenario where I need to cycle through all the words entered for a description in my project, and then test each word against the Keywords table to check for its existence. It may be possible that there be 10 words for a description and around 1000 words in the keywords, so there will be (in this example) 10 calls to the database, and then cycling through all these records to find the correct word. What I want to know (esp as I am devel ...Show All

  • hotfoot982 accessing controls

    Hi, I am collaborating/taking over a project from another developer in my office. One part is a Windows form with a CheckBoxList controls on top and rows of ComboBoxes on bottom like this: cbo1_1 cbo1_2 cbo1_3 cbo1_4 cbo2_1 cbo2_2 cbo2_3 cbo2_4 etc... If ther ...Show All

  • kangur replacing "session" in web application

    session is used in web application to store information across diff webpage.. but is there any other way of replacing it into window application form thanks and regards. ok.. i am suppose to do a login for user. so throught the  ...Show All

  • omarf DrawToBitmap Transparent Background

    When using DrawToBitmap, is there anyway to enforce the fact that my control's background is transparent When I use DrawToBitmap, it shows the standard gray background. If I recall, in C++, I would just send the control a message to erase its background first, is there anyway to force this in .NET Unfortunately, that's not an option. In any case, I've discovered that DrawToBitmap is horribly broken and I stron ...Show All

  • Sys Manager ClickOnce overwriting user settings on update

    I'm working on a VB app using ClickOnce deployment. When I deploy a new version to my update location, the clients will install the update and migrate user settings (My.Settings stuff) and data files correctly. However, if I change the update location to a different path on the server, the new update will not migrate the user settings or data files and uses the defaults included in the deployed package. Step by step: 1) user installes app from \ ...Show All

  • Sunny9001 tab and IsInputKey

    Good afternoon, I have a form with a textbox tb in which the user enters text. When the user hits tab or enter while in tb I want to fire an event. I know I need to overide the default behavior for the tab and enter key so&n ...Show All

  • Janice Lam Trapping active window titles

    Hi I'm building an app that extrapolates the file and App name from the active windows title. I've been looking at Windows Hooks to accomplish this but its been slow going so if anyone has any ideas/sample code that would help I'd be most grateful. Thanks You can use System.Diagnostic.Process and the MainWindowTitle and MainModule.FileName properties. -mark Program Manager Microsoft This post is provided "as-is ...Show All

  • Remi Thomas Warning MSB3331

    I have a Windows VB application built using VS 2005 Beta 2 that includes a reference to DAO (3.6) but when I do a build I get the following warning. I can't find information on the warning in MSDN or google. Can anyone explain what is causing this and how to correct it. ============================= C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets : warning MSB3331: Unable to apply publish properties for item "dao". == ...Show All

  • Bornis Datagrid goes back to default parent view when dataset refreshes

    Hi, I have a datagrid with childrows. DataGrid is bound to a dataset. Whenever I refresh the dataset using DataAdater.Fill() the datagrid goes back to its default parent view. Sometimes if a user is looking at the child rows in the datagrid and if the dataset refreshes at the same time, the child view closes down and the datagrid goes back to parent view. Is there any way I can stop this from happening so that if a user is viewing child rows ...Show All

  • tha0 Windows Form Height property (.NET developpement)

    Hi guys, my question concerns the "height" property of the Windows form : I would like to know wether it's possible to set the height property of the Windows form object (namespace System.Windows.Forms.Form)  more than 780 pixels    I've tried the&n ...Show All

  • kookoo_dan Problems with Batch Update...doh!

    Hi- Here's the scenario. I'm retrieving data from two different tables. Once I get this data I am looping through the data and I have to update a couple columns in the same table. Doesn't anyone know of where I can find a good exampl ...Show All

626364656667686970717273747576777879

©2008 Software Development Network

powered by phorum