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

Software Development Network >> Windows Forms

Windows Forms

New Question

TabControl
Create a Strong Name for Com DLL so ClickOnce will work
Problem in smart device cab
MDI windowlist formclosing bug
datagridview columns databindings
How To Extract Icons From Exe Or Dll Files Using ExtractAssociatedIcon ??
Trouble adding a ComboBox column to my datagridview.
StatusStrip - SizingGrip problem
subscript / superscript?
What is the best way to build applications databinded

Top Answerers

Hanel O
trobin
redshock
Rakesh Bhambure
CaptainSmudge
Hoopla
Imesh
Satal Keto
benjamin b
BrunoAMSilva
Thomas Erl's SOASpecs.com
Only Title

Answer Questions

  • Scorchio creating project similar to outlook

    hi i am creating a project similar to outlook i mean the option will be in vertical form and the respective forms will be displayed in other part of outlook based on selection in vertical form .I found that i will create only one main form and the usercontrols will be replaced based on the selection of vertical buttons . Please suggest me if any other options are there thanks in advance Regards nagireddy t Nagir There are several ways to do this type of interface: Use an MDI container with two MDI child forms. The navigator (Vertical form) is docked left and sets it's width to some percentage of the parent (like 20%). The worker is docked fill. The navigator can consist of a series of button controls tha ...Show All

  • SOAC Mouse hover DataGridView

    Hello, I want to change the cursor type when the mouse goes over a certain column in a dataview. I've the following code: Private Sub DataGridView1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.MouseHover If DataGridView1.CurrentCell.ColumnIndex = 7 Then DataGridView1.Cursor = Cursors.Help Else DataGridView1.Cursor = Cursors.Default End If End Sub The problem is that when entering the DataView, the cursors goes over the headers and I receive an error because there is no CurrentCell! Can annyone help me please Thanks, Joao Pinto I would use a datagridview HitTestInfo to see what cell the mouse is over. I dont think it is like ...Show All

  • lurch_man Help - problem with datagridview on tab control that is not active during data load

    Hi, I have this problem in my application development (C#, windows form). I have a datagridview in a tab control on the form that the tab it belongs to is not the active one during data load. In that datagridview, I have defined some unbounded check box columns which I manually (programmatically just after the data load) set to true or false based on a text box column (bounded) in the row. The problem is if I set the tab with the datagridview in it to be the active tab before the data load, the check marks on the checkboxes show properly. But when the tab with the datagridview in it is not the active tab before the data load, check marks does not show on the checkboxes. This problem I have is kind of hard to explain so I created a test ...Show All

  • ZopoStyle No Server Explorer or Data Sources

    I hope I have done something simple and easy to fix. Nothing happens when I select Server Explorer or Show DataSources. Is there some setting that I have inadvertantly set Using Visual Studio 2005 creating a Windows form in C#. Thanks for any help. Shannon The windows may be not at the places you expect. (look again ) Try the build in function - to reset the settings of your Visual Studio 2005 . Tools - "Import and export settings" then choose reset all settings (or import selected environment settings) Try the VSWindowManager of the Power Toys for Visual Studio . If this doesn't help, a reinstall might be a solution. Not a real solution, but worth a shot to get the precious ...Show All

  • Quack! Master/Detail relation where Detail is a TextBox

    I have a master detail relationship where the master is displayed in a Datagridview and the detail in a multiline TextBox. The data binding is set up with the foreign key relation as a Datasource for the Bindingsource for the detail, so it updates when you scroll trough the master table. When a row is added in the master table, a row is not automatically inserted for the detail table. I created a little example with the pubs sample database, where the publisher table is the master and the pub_info is the detail. When the Textbox is entered, I create the row myself and add it to the dataset like in the following example. private void pr_infoTextBox_Enter( object sender, EventArgs e) { if (pub_infoBindin ...Show All

  • leclerc9 Working with C# and VB.net in same Project

    Hi 2 all, Can I have a ".vb" form and ".cs" form in same project If possible, How can I do this I want 2 work with c# and VB languages in same Project. Please send me a solution. Thanx In advance... you cannot have a vb class in a c# project. However you can add a new vb project to the solution and add vb class files to this vb project I don't think so. You split that in separate projects which can be used in one solution. E.g. make one a class library project used in the other project. -- SvenC ...Show All

  • Nipam N. Patel Need samples of datagridview visual basic 2005

    I need samples of Datagridview with updating cell and with combobox in cell and giving the datasource to the datagrid in code without use dataset Thanks and for c# thanks, matti There are a bunch of datagridview examples on the vb-tips website . yes i know i can dowload samples from http://www.windowsforms.net/Samples/download.aspx PageId=1&ItemId=220&tabindex=4 but in this sample use dataset for datasource i search samples with code for the datasource here are some c# and VB samples: http://www.windowsforms.net/Samples/download.aspx PageId=1&ItemId=220&tabindex=4 ...Show All

  • Kathirvel 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

  • ximadyn Newbie needs help: Accessing a row of a datagrid (C#)

    Hi, ive searched online and through the forums for a couple hours and i havent found any help for my problem, so i decided to start a thread. Im programming in C# (still learning it) and here's the situation: I have a form with a combo box and a datagrid. Ive populated the combo box with names from a column in a MS access db table named Employees. When someone selects a name from the combo box, i would like for that employee's information (a single row from the Employees table) to display in the datagrid. I filled a dataset object, and then a datagrid object with the Employees table. I can find the index of the name selected by using the combo box's SelectedValue property, but i dont know how to access that particular index in the ...Show All

  • Michael_75 Bindingsource.Find problem

    Hi all, I have a problem with the bindingsource.find methode. When i do this Me.GemeenteBindingSource.Find("Gemeente", txtGemeente.text) It wil return the index of the value of the txtgemeente.text box, but what must i do when i want to find a partcial nam An example : If txtGemeente = "Veurne" , i found the record and everything is fine, but when i search after txtGemeente = "Veur" then he doesn't find anything. How can i resolve this problem Thanx in advanced I just tried messing around with it and I don't think it's going to work. What exactly are you trying to accomplish Maybe we can find another way to do it ... oke, this is what a wanted, so BIG thanx. ...Show All

  • eric_from_nj help with DataGridView

    hi all. can i use button inside a column, and let the user see text next to the button. ** when the user will press the button, it will open a modal form, and when he will close that form i'll insert the data to the current cell, so the user will see the data and the button, and he can press it to edit the data. ''' <summary> ''' ''' copy and paste all code, ''' Press a button, enter some text in textbox, press enter, value should change on ''' dgv, in a cell on same row, ''' ''' </summary> Public Class Class2 Inherits Form Private Sub InitializeComponent() Me .DataGridView1 = New System.Windows.Forms.DataGridView Me .Column1 = New System.Windows.Forms.Dat ...Show All

  • joslat Modeless Dialog boxes that are Always in Focus

    How do you make a modeless dialog box so that it is always in focus with the parent window Like the floating menus in Photoshop, for example. Whatever I do, I haven't found a way to keep more than one window in focus at a time. If you open a modeless window, with an MDI parent container as the main dialog, and pass the instance handle of the parent to the show method: MyToolWindow.Show(MdiParent) You'll get what you're looking for. A form border style of tool window will prevent the window's title bar from showing a gradient on XP with themes, and you want ShowInTaskbar = false. That being said... Only one window can have the "focus" because the message pump (WndProc) can't go to m ...Show All

  • qzam Application Start Event for Windows Application

    Hi All, How can I get the application start event for Windows application developed using Visual Studio 2005 in C# languag I could get the event for a VB.net application but not the C# applciation. Regards, Santha In my main i show a splash screen and load several things before my application really start. It really starts at Application.Run(), so I guess that whatever you do before that, is similar to your Application_BeforeStart(). [ STAThread ] static void Main( string [] args) { Application .ThreadException += new ThreadExceptionEventHandler (Application_ThreadException); Application .EnableVisualStyles(); Splash splash = new Splash (); ...Show All

  • MrKynes Problem With retrieving data from SQL Express

    Hi all... I am using SQL Express Db in my VB .NET Application, the DB is in the Application folder... The Problem is : When I insert a new row in any table, the row do not appear in the application until I close it and run it again. Discribtion : After the insert Statement completed you can find the new row in the DB, but when I call a form to display Data in the table using Grid or List Controls which is binded to the table, the new rows do not appear until I close the application and run it again. Note : Controls are binded to the table using Wizard (Dataset, Adapter, DataSource) Do you know how to solve or go around this problem Thank you very much The dataset is not connected to the database. Meaning you store ...Show All

  • allison_h Smooth Progress bar

    Hi I have the following code, but when i run the form the progress bar is not smooth i was wondering if anyone can help me 1. to make is smooth 2. to make it faster I am a beginner to c# so could you please give me as much as information as possible. Thanks in advance { public partial class Form1 : Form { static int count=0; //time count public Form1() { InitializeComponent(); this .timer1.Interval = 1000; // set timer to tick each 1000ms this .label1.Text = "LOADING ..." ; //"Loading ..." text } private void timer1_Tick( object sender, EventArgs e) { if (count < 15) { count++; //each 1000ms increase time count pro ...Show All

757677787980818283848586878889909192

©2008 Software Development Network

powered by phorum