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

Software Development Network >> Windows Forms

Windows Forms

New Question

receive of class udpclient in vs 2003...
Heavy operation and Windows.Forms.Timer
the executable file becomes too large.
Encrypt app.config settings
Editing in Datagridview!
How can you catch when tab pressed on a datagrid cell??
Dynamic Filling of TextBox AutoComplete not working
Control population - Best Method
Dropdown box where user cannot type in values ?
Datagrid problem

Top Answerers

ycjj
NessDan
Jamie Thomson
Olga Jaufman
Ravel
Adam Miles
bioan
BioGeek
Beorne
Benjamino
Xyleme
Only Title

Answer Questions

  • TechNoFear 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 Also, if you create one, it would be cool to upload it to this site so others can use it... http://www.gotdotnet.com/Workspaces/Workspace.aspx id=7e8e8cbd-b447-4a9d-a984-9379d1a0c190 Glad to help! When you go to install the Native Client from: http://www.microsoft.com/downloa ...Show All

  • KC416 installState exception

    I'm developing a project with Visual Studio 2005 for Windows Vista. I've generated a group of assemblies and a project to install them with an .msi package. I've included the assemblies i want to install as custom actions inside install/commit/rollback and uninstall folders. Also i have witten my Installer class overriding install/commit/rollback and uninstall methods and all of them has it's own base.install(savedState) and so on. When i try to install it i get the following exception: cannot access assembly.InstallState file. This file is not created, what i'm doing wrong Thanks I don't know if it's important, but i'm developing it under windows XP and then i try it in vista. Yes the dialog box asking for permissions appear. so i ...Show All

  • Steve Jackson ClickOnce Error Message

    Hi, I'm getting the following error message & detailed report: 'Cannot download the application. The application is missing required files. Contact application venfor for assistance.' PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file://(PATH)/SerialSNMPWinApp.application Deployment Provider url : file://(PATH)/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application ERROR SUMMARY Below is a summary of the errors, detai ...Show All

  • laboremus How to create usercontrol with a look up combo? The microsoft example does not work.

    Hi, I look at the the example available on msdn walkthrough http://msdn2.microsoft.com/en-us/library/ms233787.aspx for my requirement but it does not work for me. I am using VS2005 Pro on XP SP2 + SQL 2005 express. In my case the combo gets pupulated with data from the look up table but it does not change as I scroll through the work table. If I manually set the LookupMember property using Advanced data bindings, then it works fine. But I want to know why the code as shown on the site does not work But then there is another issue. Even if I put the control on the form, and set all the proprties, the next time i open the form, i get following error: Cannot set the SelectedValue in a ListC ...Show All

  • gridman duallist control

    Are there any free controls out there can you explain further What are you trying to achieve ...Show All

  • Dario Galvani BindingSource.Position = 0 doesn't work

    I'm having trouble getting data-bound fields to display any information when pointing at datarow 0. When pointing at any other row, it works fine. I don't understand what gives. Here's the situation: User selects a customer from a List. Using associated customerID, I attempt to display details of the customer record. In the following code snippet, the FoundRow DataRow always contains correct information. BindingSource correctly displays data except when FoundRow = 0. ' Locate the appropriate DataRow in dataset. Dim ActiveRow As DataRow = _ CustomerDataSet.Customers.FindByCustID(SelectedID) RowIndex = CustomerDataSet.Customers.Rows.IndexOf(ActiveRow) ' Tell the binding source ...Show All

  • Borshika Visual Studio 2005 Windows Installer Custom Actions

    I am in the process of deploying a project using Visual Studio's Windows Installer but would like to check software activation keys before doing the install. I've looked at custom actions but they are executed after the installation. Is there a way to to this Regards Does one of the Search Target Machine options work If there is a registry item then you could use that. If you want to do this before the install I would do the checking with a launcher process that calls the web service and then launches the MSI. The launcher can create a value in the registry that the setup project can check with a launch condition. Either that, or forget about a pre-install check - let the setup work and have th ...Show All

  • Lawrence 007 How do I animate a button click from code?

    This code preforms the button2 operation with button2.PerformClick(), but the user has no indication that button 2 has been clicked. How do I get button2 to go down and back up public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { Console.WriteLine("button 2 was clicked."); } private void button1_Click(object sender, EventArgs e) { button2.PerformClick(); } } Thank you B14 Thanks to everyone for their replies. Attached is working code that based on CommonGenius.com 's post. Some may find this solution too complicated. A classmate sugg ...Show All

  • imed-deborah IDataErrorInfo

    I've got a business layer class that implements IDataErrorInfo where the errors are setup on each property. This class is subsequently bound to a DataGridView. The missing data error works fine when the cell changes in the grid because the property code in the class is executed. But if a value isn't entered in the cell then the validation is never performed when the Save menu is selected. I have tried using this.ValidateChildren() but this doesnt work either. ...Show All

  • mastermind1429 Simple Form customisations

    Hi, I'm at the moment learning C# through Visual C# Express edition and have a few questions. My first is that in my custom web browser I am designing how do I alter it, so that after I type my URL in my text box, it makes my browser go to that site as well as being able to press a GO button form. Also how I make it so that when I press Maximize the parts of my form scale to my Maximized window. To me these will seem like silly questions to most of the experienced and knowledgeable programmers on here, but I am only 15 so please be kind! Thanks for the Help. Hi, Here step by step instruction. With the empty form in design mode, drag a new WebBrowser control, a text box and a button. Place the web browser to cover the bo ...Show All

  • kmishle Does a menu (strip) and a datagridview can exist together?

    Does a menu (strip) and a datagridview can exist together on the Windows form (2.0) When I involve a menu on a windows form with a Designer it is placed directly onto the DGV’s header (I used programmatically formed DGV from an excellent Mark’s example “ Sample Code: DataGridView progress bar column ” and an empty form to place a menu). To dock DGV on bottom (or top) is not a good idea but the header line is visible in this case. Any suggestions Thanks AFT Thanks Scott for your help! Regards, AFT Hi AFT, The answer to your question is yes. When you are adding the DGV programatically, it is the last item added to the form, and its Z-order (what dete ...Show All

  • bmnoorulameen How to change a sql string "on the fly"

    I am using vb.net 2.0 visual studio professionel. In my dataset i have a sql command that look like this: SELECT jumboId, nr, navn, tekst, aar, dato, pic FROM tblJumbo ORDER BY nr created with the TableAdaptor configuration wizard. I wonder, is it possible to change that string, or add a new one, when the program is running It is called like this: .TblJumboTableAdapter.Fill(.JumboDataSet.tblJumbo) If i want to change the select command to: SELECT jumboId, nr, navn, tekst, aar, dato, pic FROM tblJumbo WHERE nr = 2 ORDER BY nr (This is only a simplified eksample, the real one is much more complicated). The string is depending of the users choise. Anybody know how to do this Maybe i am blind, i just can seem to ...Show All

  • Price Brattin Microsoft SQL Server (SqlClient) connection for Visual basic

    why when i try to add a datasource in visual basic 2005 the option for Microsoft SQL Server (SqlClient) is no show...only for Microsoft SQL databasefile Help please Maybe reinstall the SQL Server and VS can solve this issue. I am not sure about that, I checked sql express and i know with windows application that i could only connect to sql db files (.mdf) . basically i created my db in sql 2005, i have express at home, and i connect to it as file -> I use sqlexpress and Visual basic 2005 express I use visual web developer, in this case i can add datasource with sqlserver client what version of vs and sql server are you using/ May ...Show All

  • B. Ritter How to display progress form as modal form

    Hi, I am trying to use Backgroundworker, which is new in .net 2.0 Here is what I am trying to do.... I have a main form, in which I am filling data requested by a user. While getting the results , I want to display a modal dialog form with a progress bar in it. Once the main form's grid is filled with results close the progress form window. On click of GetResults button I have the following code BackgroundWorker bg = new BackgroundWorker (); bg.DoWork += delegate { GetRequestedData(txtbox.Text,records); }; bg.RunWorkerAsync( null ); ProgressForm pf = new ProgressForm (); pf.ShowDialog(); backgroundWorker1.RunWorkerCompleted += delegate { pf.Close(); }; With this approac ...Show All

  • thomas_woelfer Reorder tabpages

    Hi, If have a tabControl with tabpages. |1 | 2 | 3 | 4 | I want to be able to reorder the tabs. E.g. move 3 one position down: |1 | 3 | 2 | 4 | As I understood it, the z-order was responsible for the order the tabs are displayed in. So this should work I thought: tabControlMain.SelectedTab.SendToBack(); However, it doesn't. Is there an easy way to reorder the tabs or do I have to rebuild the entire control with the tabpages in the right order thanks, Ton A not-so-efficient way is to remove them and adding them in the order you want them to.. Am sure there are better ways than this... Yes, actually I had an unexpected brainwave... TabPage tmpTab = tabControlMain.SelectedTab; if (tabControlMai ...Show All

192021222324252627282930313233343536

©2008 Software Development Network

powered by phorum