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

Software Development Network >> Windows Forms

Windows Forms

New Question

ListBox - Number of visible items?
Setting Transparency Key
deselcting text in combobox textfield after selectedindex has been changed
compiling 2 projects
Can I deploy word document on a Panel?
"Window class name not valid" error in designer
Deployment/Installation
Generate barCode
Duplicate component name 'iDKontaDataGridViewTextBoxColumn'. Component names must be unique and case-insensitive.
Newsticker in c# windows program

Top Answerers

OmegaMan
Simulacrum
AdeptBlue
Rudemusik
KarlZheng
Winnie.Wang
No.1 Of Mew
Superchick
Erik Schröder
Nobody1234
sitemap
Only Title

Answer Questions

  • ahmedsaad4 Ending Backgroundworker

    I'm just wondering if there are any specific functions that should be called from within the BackgroundWorker process in order to clean it up properly, or if you can just let it exit like a normal function No, you simply exit the DoWork event handler like any other function. The BackgroundWorker itself must be disposed but that's something you do from the thread that created the background worker in the first place, not from DoWork. If you added a BackgroundWorker to your form using the designer there is no need to dispose it, the generated code will take care of it. Thanks Mike. ...Show All

  • Roy in Acworth TableAdapter Problem.

    I am using VB.Net 2005, my windows application bind to two data tables which is member(memberId, name, phone, joinDate) and payment(paymentId, memberId, year). I need to implement the following SQL into tableadapter: SELECT memberId, joinDate, phone, name, FROM member WHERE (joinDate > ) AND (NOT EXISTS (SELECT 1 AS Expr1 FROM payment WHERE (humanId = member.memberId) AND ([year] LIKE ))) But when I finish created the tableadapter, it only accept one parameter, FillByFee,GetDataByFee(joinDate) What’s wrong What should I do How to create an tableAdapter that can accept two p ...Show All

  • Predator14567 ListBox question

    If I have a Listbox with data coming from a database, and say the Listbox is showing 'Cowboys, Raven, Eagles' as choices. How do I caputure the information on the Listbox if the user selected 'Raven' Thanks. HKEC wrote: Would I use the following code to get the information out of a Combobox (I have switch to combo box) label.Text = MyComboBox.selecteditem ; Or I need more than that. I can see the data on the combobox, but I still don't know what to get to save to a variable. Thanks. For ComboBox Hmmm, Try one of the following: label.Text = MyComboBox.SelectedItem.ToString(); or label.Text = MyComboBox.Text; One should work, Sorry I'm not sure and cant ch ...Show All

  • Seefer Public Terrarium Server?

    Sense the client wont connect to the old server url( cause its not there anymore apparently ), is there anyone out there running a public Terrarium Server I could join ^_^ I was running a public server, but it just didn't get enough clients. :o( I recently (last month) trashed my machine and had to rebuild it from scratch, so I'm no longer (nor will I be) running a Terrarium server. There was one other person who had set up a public server (some time ago), but I was unable to find their post about it and I couldn't find their server using Google either. It could still be available, but I doubt it. ...Show All

  • JCopus Reference Collection TypeConverter?

    Hey all. Hopefully this is the right section... I'm working on a component that will manage a number of controls on a form. In order to use this effectively, I want to be able to specify which controls the component should manage at design time, using the property grid. In the past, I have specified the ReferenceConverter TypeConverter for a component properly in order for this to work, but now I want to be able to specify any number of controls. So basically what I need is a 'ReferenceCollectionConverter'. Does such a TypeConverter already exist within the framework, and if not can anyone please give me some pointers towards implementing one myself Thanks. I have moved this thread to the Windows Forms ...Show All

  • Denvas Embedding other controls inside a cell / inheriting DataGridViewCell

    The datagridview is excellent, and it's obvious your team put a large amount of work into this. I've read the samples and FAQ, and although you haven't specifically addressed this, I am curious for your thoughts. It appears that most of the provided cell types "display-ability" are based ultimately upon text and images, including the button cells. You also provided a nice sample for the datetime picker. But when it comes to controls with more than one edit option or a user control, it would be nice to find a way to embed such a control. I want to embed a datagridview inside a cell, and as the grid is heterogenous, I do not believe I need a column for this as other cells in that column may be simple text. I might fathom h ...Show All

  • Clemson Change display direction in windows CheckBoxList

    Hi, I have a CheckBoxList in windows forms. CheckBoxList is displayed vertically (by default). I would like to display it horizondally (Similar to CheckBoxList.RepeatDirection in System.Web.UI.WebControls) . Kindly suggest me how to achieve it. Thanks & Regards, kalai Hi, I guess, inheritng the control and overloading its paint program could do a job... cheers, Paul June A. Domag Hi, Explain a bit more about overloading paint method Cheers, kalai ...Show All

  • Asday List information..

    Hey guys, I am creating my windows appilcation and would like to have something like a log to capture each move of the user. In vb6.0 i normally use a listbox, can someone tell me how is it done here in VB.NET 2003 The ListBox control is still around. .NET also supports the System.Diagnostics.Trace class. ...Show All

  • asalcedo 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 I would sugget to store connection string in a configuration path of the application. In this case you could configure your application as you wish without hardcoding. It will allow you to move database in ...Show All

  • FC-Shiro WebBrowser NewWindow event...Cancel IE and send URL to my...

    In my application I have a webBrowser control.  When the user clicks a link that calls for a NewWindow to be opened, I need to cancel the action, retrieve the link they clicked, and send it to MY new window.  So far all I have been able to do is cancel the new Window from being opened: private : System::Void OnNewWindow_CONSUME(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) { // Implement method to capture IE window and use this window instead // Cancel the IE window from being opened e->Cancel = true ; } Now what I need to do is get the url of the link that the user clicked so I can then send it to my webBrowser.  I have no idea how to get the url of the link the user clicked though, ...Show All

  • LTD edit button

    hi, i have create a grid view and with the edit button on each row in VS 2005 web form. but my row didnt change into a textbox inorder for me to edit. Anyone have idea protected void GridView1_RowEditing( object sender, GridViewEditEventArgs e) { GridView1.EditIndex = e.NewEditIndex; GridViewRow Row = GridView1.Rows[e.NewEditIndex]; } oh that's the problem i had. How do i actually create a textbox in that column inorder to edit the data in the row. Any idea CIndy the code you give does not say much to me. Did you set the column to be textbox and editable ...Show All

  • Ioanna Binding 2 Forms

    Hi All I'm sure this question has been asked a 100 times over but could someone please help me with this in a detailed way. I have a form, with a datagridview which is linked to binding source. For our purposes let's call it BindingSource1. This datagridview shows a list of patients which are currently in my database by displaying only patient numbers. What I would like to happen, is i select a patient number from the list and click a button on the same form which which opens up another form which will display the information about the patient. I only want to display this information and not allow the user to edit it. How do I go about passing the information on the patient, ie. the unique_id or whatever is used to the second form ...Show All

  • OrpheusTheBard ShowGrid and UseSnapLines

    Hi, I have got a custom designer in which I want to see the grid, but use the snap lines. It seems for me that only one option is possible at the same time. So this means I can decide if I want to see the grid or if I want to use the snap lines. My question is, how can I enable both I want to see the grid and want to use the snap lines. Any help would be appreciated. Cheers, Franz Hello All. Franz: I don't think you can use both at the same time, because they are exclusive. If you use the layout mode "SnapLines", then you can place controls free-form, and the snap lines let you align controls relative to other controls. If you use "SnapToGrid", then the grid is shown, and co ...Show All

  • ponchoelchico ComboBox DataBinding Workaround Requestet

    VB.net question. We use Visual Studio 2005. I am trying to setup a combobox to databind to a lookup DataTable using the DataSource, ValueMember and DisplayMember properties. This DataTable in particular has 3 columns: ID, ItemText, ItemInactive. The values stored in our database tables are actually the lookup ID itself, not the ItemText. Throughout the life of our database we have have had to "inactivate" some of these IDs so that users cannot select them anymore (for example one of the lookup tables has names of employees, some of which no longer work forthe company). In order to prevent users from selecting items that are inactive, the DataSource is set to a DataTable that has been Filtered so that it does not include the ...Show All

  • stak32 Single Key Shortcut for Menuitems

    Hello, We want to implement a single key shortcut for meuitem i.e menu click event gets fired when any single character is pressed. For example, typically menu short cuts have CTRL+A but we want A as shortcut. Regards, Sachin But how do you know if A has been pressed, which of the menu click method has to be invoked Surely you saw my post in this other thread you posted to This is why nobody uses a plain "A" as a shortcut key. Technically, you could find out by calling the control's IsInputKey() method. However, it is declared "protected" so you can't call it. It is not really a problem because you know which type of controls you've used on your form. If you happen to ...Show All

232425262728293031323334353637383940

©2008 Software Development Network

powered by phorum