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

Software Development Network >> Windows Forms

Windows Forms

New Question

RichTextBox Disable Autoscroll
The designer could not be shown for this file because none of the classes within it can be designed
Where can i get the issuevision's c# code??
Inherited User Control Question
ADO Control
Text Box - Garbled - Paint Issue
Visual Studio 2005 help required
How to find the window handle which window proc is subclassed
How to code "Find" feature in .NET Browser control?
How-to embedded Win32 DLLs and .NET DLLs in my Application

Top Answerers

DavidThi808
Sergey K.
Amritha
Nishant Sivakumar
Antropoid
xavito
Derek Sanderson
Jarod.Net
Daikoku
alex121
TCDesigner Code Generator
Only Title

Answer Questions

  • jrsearles update database from datagridview

    Hi, Is there any way to save the changes done in a DataGridView, filled with a DataSet (When I say "changes" I mean new rows added, or modifications in existent ones) I fill the DataGridView sql = "SELECT NEst, Data FROM eEstR" da = New OleDb.OleDbDataAdapter(sql, Conn) da.Fill(ds, "Estat") DataGridView1.DataSource = ds.DefaultViewManager DataGridView1.DataMember = "Estat" And i would like to know, if is there a fast way, to "save" the DataGridView into a DataSet, and from the DataSet update the DataBase... Or there is a faster or easier method for do it Thanks! I have not used this control yet (still in VS 2003) but if it is anything like the DataGrid, it is simply a visual representation of the table it is bound to. An ...Show All

  • RAB36 Sql Native Client as Prerequisite

    Hi, I am about to deploy (clickonce) an application that makes use of the SQL Native Client to connect to SQL Server 2005 Express. What are my options here, is prerequisites the only (best) way to make sure the driver gets installed properly and prior to the application If so is the case, is there any material somewhere to read about on how to create a prereq. for SQL Native Client Kind Regards, Robert When you go to install the Native Client from: http://www.microsoft.com/downloads/details.aspx FamilyId=DF0BA5AA-B4BD-4705-AA0A-B477BA72A9CB&DisplayLang=en http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/sqlncli.msi You get this in the installer: ...Show All

  • cremated How to add my database to be includen on the setup?

    i have my app already finish and know i need to make the installer. im useing visual basic .net 2003 for it. the problem is that i don't know how to include the database file so when the app is install on any other machine the app works fine. I have thebootstrapper plugin and the sql 2005 express to include it on the cd, but when makeing the setup proyect how do i have to make refrence to my database so that when the user install it he just have to install the app and the sql 2005 express nothing more. Okay... there are two parts here. One is installing the database system or engine. The other is installing the database data. For the database system, it's not clear to me which database you are using. I f you are using MSDE ...Show All

  • ZychoFlow When I open win form app project via VS.NET, controls will be bigger...

    Hi, When I open win form app via Vs.Net, I found the main form larger and all controls that it contains will be bigger and gone to other positions. I have very little experience with win form app development and I could not even understand the problem. Thank you Hi gokhanmutlu , Which version of the IDE are you using I have used InterDev, VS2003 and VS2005 but have not come across this personally. When I changed the DPI value from 120 to 96 , restart computer and then problem solved. It was so interesting and I did not understand the reason. Problem has gone but I still dont like resources and I am forced to work with 96 dpi with my expensive flat mon ...Show All

  • pragati22 How to show the caps lock is on balloon warning like Windows

    Does anyone know how I can show that balloon that windows shows when you are trying to logon and your caps lock key is on There are some VB examples out there of how to show balloons, but I need to show one using C# not VB as a warning to users when their caps lock key is on and they are trying to logon to an internal system. Anyone have any links to how to do this in C# or some C# code that will do this I would appreciate it. Thanks, Nathan Nathan, I haven't tried this yet myself but it may help you with future conversions. It is a site that allows you to convert from VB.Net code to C# code and Vice Versa. Hope it helps.. http://www.developerfusion.co.uk/utilities/ tattoo ...Show All

  • glavian SaveFileDialog how to use?

    I have a richtextbox1 on a child form inwhich I write a small bit of text in. I then want to save the text from this richtextbox into a .txt file. I have got the saveDialog menu at the bottom of my screen But I am unsure how to correctly make this all work. I know there should be some dialog.filter and index for txt files code somewhere but I dont know where. The code i have done so far is :- private void saveToolStripMenuItem_Click( object sender, EventArgs e) { DialogResult dr = saveFileDialog1.ShowDialog(); if (dr != DialogResult .OK) return ; else { StreamWriter sw = new StreamWriter ( "filename" ); sw.Write( ); //What should I put in the Write function } } Also is ope ...Show All

  • Xargo CollectionEditor questions Names in left pane

    Hello all, CustomItem is a class which inherits Component. I then created a strongly typed CustomItemCollection which inherits CollectionBase. Next, I wrote a custom editor which inherits from CollectionEditor. It works well except that I can't figure out how to access the (Name) property in the PropertyGrid. I would like to change the names in the left pane away from Class0, Class1, Class2, etc. based on one of the properties in my CustomItem class. Thanks in advance for any ideas and/or suggestions. If your CustomItem has defined a Name property it should already be in the PropertyGrid on the right panel. So the only thing you have to do is to show that name in the left panel. You have to over ...Show All

  • Mikey Stevey Form does not refresh if It loses and regains focus

    I have written my first Win Form application in C#, that writes several hundred records to a database. It has a single form with a datagrid and a textbox for displaying status. In the loop I update the text box with the record number being processed: tbxStatus.text = recNo.ToString(); tbxStatus.Refresh(); This works just fine as long as the application has focus and is on top. However if the application loses focus (by minimizing or moving focus to another application), upon regaining focus it seems to freeze (shows an hour glass but no updated status) . If I look at the Windows XP task manager the application shows 'Not Responding', even though I know that the process is still running. (I know that because all the records d ...Show All

  • Annihil8 How to add delay among the callings of application, which is related to click on the button.

    Dear all, I met one problem. My scenario is as follows. There is one form1, which contains a tabfolder, and one button embedded in the tabfolder. Their relationship can be expressed as Form1(TabfolderOne(buttonOne)), where brackets stand for "include". And button One will call Application One for ten times in the loop, in this following way. for (int i = 0; i < 10; i++) { ApplicationOne.Start(); ApplicationOne.Close(); } Moreover, I wanna add some time delay among each time of calling application A. e.g. 2s. How should I implement it I have some ideas. Howerver, I don't know which way is better, or none of them is better 1. do sth in the "for" loop when ...Show All

  • UmairKhan Passing Over the DataGridView Cells While Tabbing..?

    How can I pass over the some cells of the DataGridView control while tabbing.. I couldn't found a TabStop property for DataGridView Columns/Cells. Thanks. Hi, I have 5 columns in my DataGridView Control. What I want is that move to third cell when I press the TabKey. In other words, all I want is that to be able to navigating only third and fourth cells pressing TabKey. I dont want to be able to navigate other cells. Thanks. Hi, Have you tried the StandardTab property Hope it's what you want. ...Show All

  • JoshuaR Suppress Click event in VB 2005

    Hi I have created a parent form which opens a child form to take input from user using ShowDialog() method. I am using DialogResult on two buttons in child form, OK and Cancel. When user click OK button first data is validated. The problem is that I dont want to close child form in case user data is incorrect. So is there any way to suppress button click event. Thx First, set the DialogResult property of the OK button to None. Then, in your Click event handler, validate the input and if validation succeeds, set the DialogResult property to OK. Tony Thx for the reply I have already tried this solution. It works but I have to click OK button twice. Than ...Show All

  • Chidu Splash Screen with PNG

    Hi all, i need to do a splash form using a PNG image, how can i do this !! what i want todo is a splash screen similar to the photoshop !   anyone have a sample ! thks JSB   thks, it realy work fine !! but is not doing what i need !!!, my problem is with the transparancies and shadows that is in png file. there ara others in the the code project quite good, but they all have the same problem !!! when i open the splash it looks fine, but it captures the screen behind and when i minimize the back programs, the image contains the information that it was when it was open jsb hi, I guess its refreshing problem on your splash form...am i cor ...Show All

  • AdriaanDavel How can I install windows service using VS.net setup?

    How can I install windows service using VS.net setup create setup project in Visual Studio add project output of your windows service project files/folder section add the same output in install and uninstall folder of setup project Now the setup should be able to install your windows service Note: your windows service should have installers included This should work fine. That does work well, a dialog pops up asking for username and password to install the service with. Do you know if it is possible to pass these properties via the command line or maybe configure the service to run as a LocalSystem Acount It would be good to do this for a slient install. Cheers, Matt ...Show All

  • AlucardHellSing CPU usage

    Hi, I am looking for a simple way to diaplay CPU usage and (if possible) memory usage on a windows form. Cameron. import the System.Diagnostics namespace. then declare globally:  private PerformanceCounter theCPUCounter = new PerformanceCounter("Processor", "% Processor Time", "_Total");  then to get the CPU time, simply call the "NextValue()" method: this.theCPUCounter.NextValue(); this will get you the CPU usage as for mem usage, same thing applies I believe:  private PerformanceCounter theMemCounter = new PerformanceCounter("Memory", "Available MBytes"); .. .. this.theMemCounter.NextValue();   does this help   overall I could make a solution which allow ...Show All

  • Tecumseh minimize child form

    How can i minimize all the existing child forms in MDI application Set each child form's window state to minimized, already hinted in this thread ... Here's the VB code: For Each form As Form In MdiChildren form.WindowState = FormWindowState.Minimized Next Andrej ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum