Answer Questions
Onisama Can you hide an item in the component tray at design time
Hello, We have a custom collection which is based on component. Everything is working fine except that the component tray gets cluttered up with custom components which don't need to be referenced indiviually. Is there any way to hide them similarly, at least in concept, to applying a Browsable(False) attribute to a property Thanks in advance for any ideas and/or suggestions! Hi, You can add the [DesignT ...Show All
Galea New Article on Optimizing Localization
A new article has been posted by Brian Pepin, one of the designer devs on the Windows Forms team. It walks through the code used in the localizaiton process and has a sample that will significantly reduce the size and load time of yo ...Show All
tomandlis flickering form on resize with a background image.
Hi, I have a background image to the form. The form is divided into two horizontal split containers the top container is fixed and both the containers are made transperent. i have a listview docked to fill in the container. when i resize the form i have a flickering issue and i see that the background image of form is being displayed during the time duration when the listview gets to the resized position of form resulting in a flickering. I h ...Show All
Josh Heitzman - MSFT Committing ToolStripComboBox
A dumb question, but how do you "commit" a ToolStripComboBox, either by clicking elsewhere on the form or pressing the Enter key ...Show All
Leo Pedersen double click for button
hi, i would to make my button to listen to double click event with the following code, but it seems does not work...or m i using a wrong method can anyone help me Private Sub Button1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.DoubleClick MessageBox.show("It is a double click") End Sub thank you First I would like to say that I don't rem ...Show All
steve13 it works with framework v1.0, but not v1.1 !!!!!!!!!!!
Hi, I'm trying to get one touch deployment working (downloading and executing a .net exe from webserver) across our intranet. I can get it to work if the client has framework version 1.0 on, but if i install v1.1, then the code doesn't ru ...Show All
ericjn Getting BindingContext to save current edits.
I have a form that uses BindingContext and CurrencyManager. It works fine, but when I click save, the current TextBox does not save its information (maybe it's not marked as dirty until moving to a different Position ). What's the simple, standard way of ...Show All
wwei48 Progressbar with mulitithreading
Anyone here got any code to sample. Me would like to create a progressbar on a form and this progressbar will be shown when my process trigger. Meanwhile my progressbar just hang there and stop loading. I tried implementing as background thread and the progressbar form did not dispose off after the process has finish.... can any kind soul give me some code for this Hi, Please see the below link. Hope i ...Show All
CESAR DE LA TORRE Registry Keys are removed during uninstall
During an uninstall, the registry-keys created by the installation are removed even when the property "DeleteAtUninstall" are set to false on all Keys. I found out (it is written in MSDN, but i didn't read properly ), that if there are values defined in the key, the key is always deleted at uninstall, even if the property "deleteAtUninstall" is set to false for the key. I'll use the insta ...Show All
edwin_pf i found it. Here it is if anyone wants to know.
I need to return the CD rom drive so I can copy data off of it. i dont want to prompt the user for the drive. How can I do this in .Net Thanks Malcolm BTW: Im not the author. Public Function GetCDDrive() As String Dim ...Show All
bwvick How can show the many instances of form opened in 'window' menu like in MSword?
In MSword, if I open five documents, the window menu shows all the five, and when I click the one, that instance opens. How can show the many instances of form opened in 'window' menu like in MSword Any web pages, clue or sample would be appreciated. Thanks, Jil. If you are using a Menu (i.e .NET 1.0 or 1.1) with an Mdi Form try setting the MdiList property on the menu item you want the list of child MDi items to show up on ...Show All
Fred76best Trigger fill dataset from other form
Hellow, This is the situation: I have one form (form1) and another form (form2). Form1 is the standard form that opens on application run. In form1, there's one datagrid, bound to a dataset (members of form1). When I click on a button "new row" in&n ...Show All
Skizznott DataGridView -> selected record -> column value -> parameter for query for second DataGridView
I'd like to use DataGridView -> selected record -> column value and use the value as parameter to a query to fill second DataGridView. How to implement this I'm using .NET beta 2 and c++. Hi, In your first grid's RowEnter event, place this pseudo-code: DataGridViewRow^ row = grid1->Rows[e->RowIndex]; String^ cell = row->Cells[ pk index ]->Value->ToString(); String^ sql = String::Form ...Show All
Critcho designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or m ...Show All
MGR DataBinding to ComboBox, setting to -1 index
I am making a database interface with VS 2003. I use a bunch of comboboxes so that the user can select from a list of items stored in the database. For example, a user chooses a Tester for a particular test, the list of Testers is in a seperate table. I am generating the combobox list with databinding, but I want to have it default to -1 index, just like a combobox does when you manually add items. I have tried setting th ...Show All
