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

Software Development Network >> Windows Forms

Windows Forms

New Question

Dataset Partial Class - Binding
Colour Control Lag Problems
Missing Attribute on Exchange 2007 Server Object
Creating icons and .ico files.
Deployed install wont run application
Merging MDI Child and Parent menus
Windows Application and Access Database
handling exceptions
Creating Professional looking applications
Getting a value from a control at another form

Top Answerers

ottogbg
Peca55
shiveta
Bagles1
Elham Sarikhani
ernieracer
jamesIEDOTNET
Raulsassaa
Rhubarb
Snkscore
sitemap
Only Title

Answer Questions

  • spattewar Maskedtextbox and SelectAll()

    Hi,   If have a problem with the maskedtextbox. I want the select all the text when the the maskedtextbox got focused (via "Enter" event). and then using the maskedTextBox.SelectAll () funtion. It works fine without putting a mask. But when i put the mask = "00000", the SelectAll() funtion doesnt work anymore. Little side question, whats the difference between the mask "00000" and the mask "99999". Can anyone can help me with this thx ! BambooZelD This is great. I not only had the same problem as BambooZelD but I have always wanted to know how to execute code after the code returns to the event's owner. Also, as a side note, the "why " of anonymous de ...Show All

  • Blkbird How to change the default form

    I created a form in a seperate project in my solution called "BaseControls". The only thing the form does is it has a gradient background. The only way to use the form right now is to create a windows form and then go into the partial class and change the inherits Winows...forms to my BaseControls.frmGradientSteelBlue. Is there a way to set it so I can just add the form thru the Projects Add New Item context menu. Is it possible to put it into the Visual Studio installed templates Thanks, Phil Hi, how about using the "Inherited form" template item from the Template list on Add New Item dialog Project | Add New Item -> choose Inherited Form item, press Add, chose your b ...Show All

  • Roy mm VS2003 deployment makes folder read-only

    Hello, I am using a deployment project as an installer for my application. However, my app writes log files etc in the app folder. This works fine as long as I am logged in as Administrator (Win XP), but if any other user (with restricted access) try to use the app it generates security exception when trying to write to a file. Is there any way around this Thanks a lot! / Rolle The reason for the exceptions is that the user the application is normally run under does not have write access to that directory, while the Administrator account (which you presumably installed the app under) does. Rather than running your app with elevated credentials, you’ve got two options: 1. Change the permissions o ...Show All

  • Exploder OnLine strategy and the foorprint

    Hello, OnLine strategy is used in clickOnce , What is the footprint of the online application on the end user machine. In case there is no foot print so How the run (online) mode execute Where it stores the dll and exe it execute on end user machine 10x. Yaron Karni www.attunity.com http://dotnetbible.blogspot.com/ ...Show All

  • Monah84 Column Types in the DataGridView Control

    Is there any way to tie-down input in DataGridView column according to type values which that column represent. For example type column1 is numeric, column2 is alphanumeric, column3 is date, etc. How allow entry legal values and forbid entry illegal values to cells of DataGridView Thanks in advance for any help with this question. Oops, you are right - they named them far too simmarly. Ajax isnt going to be much use to you in windows;) Ross Dargan's response assumes you are talking about web "GridView" System.Web.UI.WebControls. GridView My response assumes you are talking about windows form's "DataGridView" System.Windows.Forms. DataGridView ...Show All

  • paramjeet Accessing a MDI function from a child form

    Hello all, I need help in how to access a function in a MDI form from child forms. I call a function in the MDI everytime a child form is lauched to check if is already open. If its open it makes it active or opens it in case it not and assignes its parent property. It also resizes the new child forms based on the screen resolution and keeps count of the child forms open I would like to use the same function to open a new form from a child form to set the form properties correctly and keep track of all the open childs. The problem is that i cant access that function from the child forms. i tryied to make it static but I get several errors when i compile. Any ideas Thank you Hope this helps... ...Show All

  • Luiz Américo Validate Field - Help

    Hi, I am stuck... 1. Can I declare the OLEDB Connection in class or just within the button 2. I validate empty fields first, then with the login database. The open connection is supposed to be placed where ----------------------------------- public class LoginForm : System.Windows.Forms.Form { private System.Data.OleDb.OleDbCommand oleDbSelectCommand1; private System.Data.OleDb.OleDbConnection oleDbConnection1; private System.Data.OleDb.OleDbDataAdapter oleDbDataAdapter1; private System.Windows.Forms.Label labelID; private System.Windows.Forms.Label labelPwd; private System.Windows.Forms.TextBox txtUserID; private System.Windows.Forms.TextBox txtPassword; private System.Windows.Forms.Button btnLogin; private System.Windows.Forms.Button b ...Show All

  • Marshes Incremental autocomplete from database

    Hi All, I'm trying to find a way to set up an autocomplete in an incremental fashion - I can't pre-populate the data due to the size of the data (~50,000 rows and growing). The process would be user types, timer is set to fire after 0.5 second of inactivity to query database and populate autocomplete, user refines entry via autocomplete, query again and so on until a complete match is made. Is there anything out there that can handle this Or what path should I go down to start rolling my own Any help is most appreciated. Thanks in advance, Scott I've whipped up a control - still needs a some work but the core of it's there. If you want a copy of it, send me an email (bit big to post he ...Show All

  • leclerc9 Error when adding a user control to a form

    I've created a user control that consists of a text box and a list box. The listbox is populated by a data table that's created in the MDI parent and copied to each form as needed. In the load event of the user control, I set the datasource of the listbox to the tables defaultview, then add the sort, display and value properties. When I try to add the control to a form, I get a 'Failed to create component' white screen of death, with the message that the column name for the sort property can't be found. If I comment out the load code, I can add the control to the form. I can then uncomment the code and run the app, and the user control does exactly what it's supposed to do. First, why is the designer finding what would be a runtime e ...Show All

  • ssboyz WinForms

    Hi. I'm with a problem I have a form and I need to open Maximized. the example of my code here: private void InitializeComponent() { // // ChessForm // this .AutoScaleBaseSize = new System.Drawing.Size(5, 13); this .ClientSize = new System.Drawing.Size(492, 466); this .Name = "ChessForm"; this .StartPosition = System.Windows.Forms.FormStartPosition.Manual; this .TopMost = true ; this .WindowState = System.Windows.Forms.FormWindowState.Maximized; this .Load += new System.EventHandler( this .ChessForm_Load); } Whay is happening Thank you a lot! Thread moved to the appropriate forum you haven't stated what is happening QUOTE: ...Show All

  • Vincent Fournier System.Data.ConstraintException

    In my first ADO.Net 2.0 project I'm trying to create a Windows Forms application that allows updating customer records. These records are in an SQL Server 2003 database, and I am using the VS.Net 2005 DataSet Designer to create a typed DataSet and Customer TableAdapter. To start, I just output the internal IDs of fields to TextBoxes on a form. So far, so good. One of the fields is for Language (English, French, Spanish, etc.), and there is a database table with language names and IDs. So I add a new Language TableAdapter and Relation to the DataSet Designer. The Relation is: Parent table: Language Child table: Customer Key Column: Language.languageID Foreign Key Column: Customer.languageID Both Relation and Foreign Key ...Show All

  • Doogshnooglis Click on a link programmatically using WebBrowser control

    How can I click on a link using C# and DOM The page is loaded within my WebBrowser control. Thanks I am not using webbrowser control. Through console application I have opened IE and one web based application in that IE. Now i want to click on links present on that application. how can click on links Someone correct me if I am wrong, but I don't think this is possible in .NET.  I don't know if it would be of any help, but you could use the Navigate() function. Hey, thank you very very much. Your code will help me with my project....thanks. ;-) I need to get all data from a website, so I need to walk through all the links. Your way worked, but if someone knows another wa ...Show All

  • DLG007 Filtering a datagrid view

    I have two datagridviews (A & B)filled by 2 different datasets and I want to filter datagridview B based on cell X on the current row of the datagridview, any sugestions on how I can do this I read through the documentation and the properties of the datagrid but nothing poped out at me as the correct property..... Jankowiak you could also use a DataView to set your row filter based on the datatable you give it in the constructor, then either add that to a dataset and bind it or do whatever else you like. DataView view = new DataView( dataTable ); view.RowFilter = " FieldName = ' Value '"; this.theDataGridView.DataSource = view; this will show the results based on the filter ...Show All

  • Lawrence 007 Windows Media Player Control Box Mimic

    Hi all, How can I mimic Windows Media Player 11 control box UI (the one that has Vista control box feel) How do I hide the "Classic Menu Bar" Can it done with C# on Windows Forms 2.0 Thanks. In VS2003, you set the uiMode to NONE to hide the classic control. Anyone knows Thanks. ...Show All

  • Pipe2Path c# visual style

    I am using .net 2.0 The project has an mdi and several child forms... running win xp pro. I do not get the new visual style in .net 2.0 Any ideas please This is the code present is Program.cs static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new CodexMainForm()); } } Is the machine running the standard blue and green (fisher price) theme or the Windows classic (Windows 2000 look) theme Windows classic ...Show All

192021222324252627282930313233343536

©2008 Software Development Network

powered by phorum