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

Software Development Network >> Windows Forms

Windows Forms

New Question

How can 1) select all the sheets from excel and 2) specifix column & rows from excel?
launch condition to check for available disk space
Docked tabcontrol flickers on resize
Duplicating MS Access Continuous Subform Functionality in .Net
Add Form Control Button
Parent/Child form data exchange question
Changing the font in dataGridView for specific cells.
ComboBox reverts to valuemember data not displaymember data.
How to Remove ListItem from a ListBox
update code works for modify but not add new

Top Answerers

Raptorix
Nayan Paregi
Syri
johnny_good
RBowden
Mirific201201
Michael Hansen
Aaron.W
Alexie1668
DonRajah
sitemap
Only Title

Answer Questions

  • a. Nova This operation cannot be performed while an auto-filled column is being resized

    When attempting to perform a ShowDialog to another form in the CellClick event in a DataGridView I am getting the error System.InvalidOperationException: This operation cannot be performed while an auto-filled column is being resized. at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl) at System.Windows.Forms.DataGridView.SetColumnHeadersHeightInternal(Int32 columnHeadersHeight, Boolean invalidInAdjustFillingColumns) at System.Windows.Forms.DataGridView.AutoResizeColumnHeadersHeight(Boolean fixedRowHeadersWidth, Boolean fixedColumnsWidth) at System.Windows.Forms.DataGridView.OnColumnHeadersGlobalAutoSize ...Show All

  • idos Context Menu Strip

    Hey, by the way my richtextbox is set up I can not set the contextmenustrip I want to use diectly on the control. I have to use the Form1_MouseClick event. So how would I make it so that it only does somthing if the mouse left button is pressed I tryed: private void Form1_MouseClick( object sender, MouseEventArgs e) { if ( MouseButtons .Left) { } } but that does not work... Thanks :) well I want it to apply to all of the textboxes due to the way it si cunstructed...so here is what I did(the load event gave me a runtime error): that is what Id id now, but still(becuase the timer is always actiavted and set to 1) I get a runtime error int he refactor of GetCurrentTextbox(): here is the ...Show All

  • notaclue C# 2005 Sort ListView by column

    How do i sort a listview by column Anyone have any idea all the tuts are for .net 2003, i dont have a icompare class ...Show All

  • pcompassion Multi threading

    Hi All. I have a question that im hoping to get a little help/advice with. Im writing a forms application (just local - not web or anything) that calls out to a com dll for data processing. The processing may take anywhere from 1 minute to a couple of hours. So of course I would like to be able to display a progress bar - to the user. I tried muti-threading (background worker) the call to the dll - but that doesnt seem to work - either to any dll or at least a com one. So im wondering if anyone can give me some ideas on how to handle this. Can i use multi threading thats a little more sophisticated than the background worker, or can I make the dll - multi threaded (unsure how or even if this is possible). BTW - I am the ...Show All

  • Can-Ann DatePicker in DataGridView

    Hello everybody How to embeed in simple and quick way DatePicker in any cell of DataGridView Thank you There is an example in the datagridview faq samples. http://www.windowsforms.net/Samples/download.aspx PageId=1&ItemId=220&tabindex=4 ...Show All

  • biscuithead Master-Detail insert question (Access db)

    Hello, I have implemented a form that usesa master-detail relationship to bind data from 5 tables together. I have created a strongly typed dataset with those tables in it along with the relations from the master table to the child tables. Updates (I don't allow deletions from this form) work fine I am having trouble with the Insert functionality. Basically, I do this upon clicking the new button: Add a new item via the bindingcontext for each table Clear the bound fields on the form I have implemented the RowUpdating stuff to return the autonumber for the primary IDs on all of the tables. I am also using the negative autoincrement method for the ID fields of the tables. Here's my code in the New button Private ...Show All

  • Urban Terror target OnBeforeInstall and installing EXE side by side with previous version

    I have a Studio 2005 Windows Installer setup project to install my app. Our customers require 6-10 months to validate each release of software (due to FDA rules) so my installer must preserve the existing EXE while also installing the new EXE. This way they can test the new EXE while still getting work done with the old validated one. When I used InstallShield, I could run a script that executed before any files were installed/upgraded to look for an existing EXE and move it to a safe place so it would not be overwritten. I would also create a shortcut to it in its new location. In Studio setup projects, it seemed like using a custom action DLL was the solution. I wrote handlers for the Install and Uninstall events, and most importantly I ...Show All

  • GetCode deploy nonav uninstall silently

    ok Geniuses, i want to create a program that uninstalls silently For example, there is a program out there called nonav which uninstalls symantec antivirus completely however there are prompts in that program which i want to take away, and have it take the default prompts anyone know where i can begin Thanks i have a way of doing this thanx to unsupported yet very friendly symantec measures. email me if you need the instructions. iggy07@gmail.com WOW - no one has a response for this this is still outstanding Man, am I glad I pick out the hard issues Phil, are you familiar with the Nonav application for uninstalling Symantec Antivirus v10 I use GFI Languard to deploy so ...Show All

  • AlexBB Connection String

    I'd like my app. to connect to the DB in the folder that will be in the user's computer when I install it. I don't want to have to change my connection string path everytime I install my app. on a new computer. Using ADO.NET, how do I make my app. to connect to the DB everytime it's run regardless of the app.'s location eg: Dim csWBoard As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Projects\Whiteboard\WhiteboardDB.mdb" Will the above code work If not, what will Thank you. This may sound stupid but, how do I go about doing that And maybe I should ask my question in a different manner: How do I make sure that when I install my app. ...Show All

  • Ramesh_Kumar_02a072 datagridview

    hi, i have a datagridview(vid=sual basic 2005 and sql server 2000 thru dsn im working). i want to 1)display data from a table to datagridview 2) add new rows 3)delete 4)update. i added a datagridview and added 15 columns to that ans set name and columnheader for each. i also want some of the columns to be calender etc...(i added genericdatagrid user control.dll) i have the following code in the form load but no data is coming. can u please help con.ConnectionString = "dsn=alphasql" con.Open() da = New OdbcDataAdapter( "Select * from Company" , con) 'da.SelectCommand = New OdbcCommand("Select * from Company", con) da.Fill(ds, "Company" ) DataGridVi ...Show All

  • rgalgon MDI or SDI

    I am creating a VB front end for a SQL Server Express database. My application will need to do the following: 1. Populate comboxes on form load from the database whislt displaying a splash screen 2. Navigate through forms on a sequential basis (e.g. Enter some data then move to form 2 and enter more data, miove to form 3 and do some other stuff), but i want to navigate backwards and forwards through the forms. 3. Be idiot proof e.g. only one form can be accessed at a time e.g. modal forms. 4. A menu bar would be useful, but i could use command buttons of a form. 5. Some data will be required to be passed between the forms. 6. All the forms will be the same size. My question is what is the best format to use SDI or MDI A MDI app will conta ...Show All

  • VoiceOfExperience Unable to move the position of custom control during design time

    Hi, I developed a WebCustomControl in c# 2003. Everything is fine but when I am trying to use this in VS2005 the control is not moving during design time. Actually it is locked. How to remove the lock for webcustomcontrol that was built in 2003. Or is there any way to make the control moveable through code that was developed on c#2003. Any help is really appreciated. I need it badly. Thanks, Sukanya. Try right-clicking the form and turning off "Lock Controls"... Hi nobugz and Tabas, I am not getting in any of the methods suggested by you.Is there any other option Sukanya. Hey I got that, In designer class I have taken the control ins ...Show All

  • AdriaanDavel WebBrowser control

    I have a pretty simple application that was created in VS 2005 and uses the WebBrowser control. It simply displays the HTML document in a loop, everytime the user clicks on a button. Here is the important piece of code: I have an update on this issue. After going through the crash dump of this issue, I found that the problem method is inside mshtml.dll Check out the folllowing snapshot: mshtml!CDispNode::GetDispRoot+0x12: 7dccd1cc ff5034 call dword ptr [eax+34h] ds:0023:00000036= Now if only somebody can tell me what GetDispRoot does ! ...Show All

  • zeifer Language Program

    I have no idea which forum would be best to place this, and I couldn't find anywhere to ask where it should be placed, so please accept my appologies if it's in the wrong place. First post. Hi all. I signed up after having searched the web for a place where I could ask for some professional help on my new project. I am training to be an interpreter between English and French, and of course, know so many words that I sometimes forget which ones I know! I'm coming on 22, native English, and pretty with-it when it comes to Windows XP computing. I'd like to introduce you to my simple idea, in the hope that someone could tell me how to create my own program (which would be very exciting for me) or, if it's so easy, someone ...Show All

  • artu Add Shortcut to START>All Programs with .msi

    I have a windows app and have added a setup project and built the solution. When I run the resultant .msi file to install the app on my machine the installer installs the program OK but does not put a shortcut to the program in my START > All Programs list. Is there a way to direct the setup program to create a .msi file that will automatically put a shortcut there Thanks. In the File System View (after you right click on the project and say view File System) Go to the Application folder and open it up. Find the primary output and select it. Right click to create a shortcut to it. Move the shortcut to the User's Program Menu You will need to provide an icon to use for display purposes assign it v ...Show All

99012345678910111213141516

©2008 Software Development Network

powered by phorum