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

Software Development Network >> Windows Forms

Windows Forms

New Question

Visual C# Express - Toolstrip positions on a TopRafting
Simple Add New Record
keyevents in datagrid
How to Deploy a ClickOnce Deployment
ClickOnce works on .NET2.0 installed clients but not on .NET1.1 installed clients
Datarepeater
How many Authenticode Certificates Will We Need?
Force background update
Please… urgent help about the BeforeNavigation2
Weird Error

Top Answerers

andrew_wang2
rungsan
Yehuda Tuvia
stan catalin
Vbeginer.net
mike@nrt
Data-V
Eric from Plainwrap
_Ed Noepel
han
Chicago Sun-Times News
Only Title

Answer Questions

  • Anonymous Date Clean shutdown of app

    Hi, I am trying not to allow user to run 2 instances of the same application. I am handling it like this   If Process.GetProcessesByName(Process.GetCurrentProcess.ProcessName).Length > 1 Then             MessageBox.Show("Another Instance of Application is already running", "Multiple Instances Forbidden", MessageBoxButtons.OK, MessageBoxIcon.Warning) Now, I cant seem to shut ...Show All

  • bennybig Setting propertygrid attributes at runtime

    I've been looking for a very simple, straight forward C# example of how to set propertygrid attributes at runtime.  It's the readonly attribute that I'm mainly concerned with.  All of the examples I've come across are just way to confusing for my little brain.  Basically, I want to turn the readonly bit on or off for a particular property depending on what another property value is set to.  So, if property a == x then ...Show All

  • uk_boy BackgroundWorker and exceptions

    Hi together, I am using the BackgroundWorker component to do some long time processing work in the background of my form. Do when the DoWork event is finished it calls my RunWorkerCompleted event - Everything seems fine. When the working thread throws an exception I can get the exception in the RunWorkerCompletedEventArgs of the RunWorkerCompleted event. But afterwards I still get the "Unhandled exception has occured in your application ... ...Show All

  • Ken Grissom Cannot call Close() while doing CreateHandle()

    If I load the form below as an mdichild and try to close it again, say after a condition failed I get the error Cannot call Close() while doing CreateHandle(). I tried to pu then check condition that close the form in MyBase .Activated event by its still comes back with the error Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Try Dim f As New frmTranSetup If f.ShowD ...Show All

  • Perry G Problems sorting the DataGridView

    I am adding 20 columns to a DataGridView grid and setting the DataPropertyName so that it binds correctly. I am also setting the sorting to "automatic" for each column. When the grid first appears, the column headers appear. I can click on any column header and see the ascending/descending glif appear - but since there is no data in the grid - there is no sorting. However, as soon as I bind the grid to my data, my data appears in ...Show All

  • Anujoy08 Capture Icons

    Hello all i want to know how to capture the icon of a file or folder , or at least create shortcut icon for it , and then use it in my application thx all:) thx eli for your quick response and your interest but for sorry! the topic that u sent to me not covers my question any way the article that u sent to was a very good one and i will try to find an answer to my question and if i found it i will tell u let me tell u what ...Show All

  • Ronnie Miller Modal dialog turning into modeless

    This is the issue: When a parent window is disabled while a modal dialog is being shown, the shown dialog ends up behaving like a modeless dialog on re-enabling the parent window again. Any ideas why this behaviour Sounds like a MS .NET framework bug! The summary is like this: 1. A main form spawns a thread. 2. The thread method displays a modal dialog (by calling ShowDialog() on a Form object (let us cal ...Show All

  • Brian Jimdar Deployment: Security question

    I'm guiltiy of breaking two cardinal rules of programming: 1. Don't develop as Admin role, and, 2. Don't setup DB connections using Admin role. I did both when I recently developed a simple Winforms client/server app using VS2005B2 and MSSQL. Now that I'm deploying the thing, every domain user has to be assigned to the Admin role in order for my Winforms to work. If they aren't, the ADO.Net connections fail complaining about insufficent credenti ...Show All

  • bkshilo Test Certificate Signing problem

    Hi, I have created a test certificate using VS 2005 and installed it in the Trusted Root Certification Authorities and Trusted Publishers. I have set my manifests to be signed by this certificate. Then I am publishing it into an intranet zone ie http://<machinename>/<appname> When i try to download the application from the same machine, I get a "The publisher could not be verified" prompt, and the publisher name is coming as "Unkown ...Show All

  • Cesar Francisco dataset to listview

    I am drilling down through a database and would like to put some of the results into a ListView.  I am using something like this:  me. ListView1.Items.Add(Me.DsMinor.Item(1)).  It returns an error sayinh that is cannot convert to a string. &nbs ...Show All

  • bigluzer Form Grab

    Ok. I have a PictureBox object. What I would like to know is when a user clicks on holds onto the picture box, for it to move the form. Kind of like the top blue bar of a basic form. Here's one method: http://www.dotnetrix.co.uk/misc.html  --> Move a borderless form. ...Show All

  • bbsfor How to attch another form to main form

    I have main form A. When click button on Form A , it will show Form B. I like Form B to show in a split panel on Form A , so user do not feel difference to work on different forms. How I can attach Form B to Form A Please help! Here are typical steps you would follow to create a MDI app. in C#: 1. Create a new Windows Application project. 2. Add a form which will be a MDI Container. I'm calling it MainForm.cs. ...Show All

  • autistic_clown Pause execution

    Hi, Have an application with heavy calculations keeping the CPU so busy that it prevents the GUI from updating. Can I in an easy way pause the execution so that there is time enough for the GUI to be updated while the calculation continue ...Show All

  • Erling Paulsen printers

    how can I get the list of all system printers I want to shoose one and to change ists properties or do a screen print thank you !  I mean what is in stead of common dialog box showprinter method (vb6) in vb 7  thank&nb ...Show All

  • Thomas Logan MSFT How to add new blank row between 2 rows in datagrid

    Hi All, Same as subject. Please advise. Thanks ...Show All

93949596979899012345678910

©2008 Software Development Network

powered by phorum