Answer Questions
Ruma Pal A simple combobox question
In VB6 I used a combobox to allow users to choose the units (mm, inch etc) of the data they entered. The combobox only showed the units names at run time, and would use the constants (1, 25.4 etc) in the second column in any calculations. I'm now trying to rewrite the prog in VB.NET and cant find out how to add more than one coloum of data to a combobox. Does anyone know how to do this. below is the code i used in VB6 and VB.NET. VB6 ...Show All
Prius Menus not fading in/out in VS2005 / .NET 2.0
Hello, I'm using VS2005 Pro July CTP with the .NET Framework 2.0 that ships with it. Things are generally working well but I have noticed that I am not able to get the fade-in, fade-out style/animation on my menus... including menus from a MenuStrip as well as context menus. Of course, the feature is enabled at the OS level, and all other menus fade in appropriately (including Office 2003). Is there some default option that I am overlooking, or ...Show All
Wolf Logan Sorting CategoryAttributes for PropertyGrids
This is my first post, and I just want to say that I am so excited that I found this dev forum. It will come in very handy for development. Thanks everyone for being a part of it. I wanted to talk about Sorting Categories in property grids. I have failed to find anything that tells me how to do it. I have made a properties sorting class, but not category. I have come across a way to do it. Pardon my stupidity ...Show All
Pranjal Syntax highligth in rich textbox
Hello, i want to make a syntax highlight using RTF, but the method that i'm using, requires to select the word that i want to highlight, and that fact produces a flickering. I am searching for a method that doesn't produced that flickering. Anyone have any idea My profile: C++ managed programmer. Well I got this mess if it helps Public Class RichTextBox ...Show All
Paul Hendley There is no SelectedIndex property for DataGridViewComboBoxColumn
There is no SelectedIndex property for DataGridViewComboBoxColumn. Not even .Text i ve attached dataset to the DataGridViewComboBoxColumn Like.. BindingContext objBind = new BindingContext(); comboSource.BindingContext = objBind; comboSource.DataSource = objDS.Tables[0]; comboSource.ValueMember = strValue; comboSource.DisplayMember = strDisplay; But then when i wanted to select any value from the ...Show All
DHarve Improperly Formatted
I am using Visual Studio 2005 Beta 2 and I am having trouble deploying my application. I receive a 'Application Failed: Unable to continue. The application is improperly formatted. Please contact the application publisher." I used to not have a problem with this. Does anyone have any solutions Thanks in advance. nate. Thanks a lot it worked fine , i just removed space from my assebly name ...Show All
StevePee Very strange ComboBox databinding problem
Hi, this problem really drives me nuts. I have a custom ComboBox, which derives from the normal ComboBox control. I'm setting the DataSource of the ComboBox in my code to a DataTable and also set DisplayMember and ValueMember. So, the binding in general works fine, but here's the odd part: Depending on what is selected I color the background of the ComboBox differently. To achieve this effect when the DataSource changed i overwrite the OnDataS ...Show All
victorj Conditional deployment
Hello everyone, I'm deploying a windows application. In the very beginning of the installation process, I added a checkbox dialog to let the users specify whether they have a particular software (our cstomer software) installed on their machine. What I want to do is, if there is one installed, display a textboxes dialog to do some settings; otherwise carry on without displaying any dialoge. I'm not sure if it is possible, any comments appreciate ...Show All
bashka66 Windows installer and self updates
How can I create a Setup project for a VB.Net 2005 Windows Forms application with self-updating capabilities. The app needs to be installed in the Program Files folder for all users. Any advice/help will be appreciated. There's nothing built in to do it. You have to do it by writing self-udating code. There's some you can use, the AppUpdater component, at: http://msdn.microsoft.com/library/default.asp url=/ ...Show All
Prabhu Sadasivam Lookup table's not updated
When i chance a record in the lookup data in de database it's not updated in de app. yes I'mworking online and did restart the app. Remco ...Show All
Mickey49 Could not find file C:\Inetpub... GescomCustomActionInstaller.InstallState
Hello I am trying to make custom actions to install the database and I have this. Is there a way to debug an installer step by step public override void Install(System.Collections. IDictionary stateSaver) { base .Install (stateSaver); string databaseserver=Context.Parameters[ "databaseServer" ]; string databaseuser=Context.Parameters[ "username" ]; string databasepassword=Context.P ...Show All
terry_weasel Publishing a project with ClickOnce in Windows Vista Beta2
When i tried to publish a simple Hello World kind project in Windows Vista Beta2. It stops with "Frontpage Server Extensions doesn't installed on IIS". How can i solve this problem (I already know FrontPage Server Extensions won't include in IIS 7) Thanks Ayhan ERGENC ...Show All
Brian Knight Amazon Web Services / VS 2005
Hi, I have just added the Amazon Web Service web reference to my project: http://webservices.amazon.com/AWSECommerceService/UK/AWSECommerceService.wsdl Can anyone tell me how I can fill a datagridview with the results of an itemsearch Thanks Mark ...Show All
Phuoc UserControl expose datagridview columns collection in design time
Hello, I have a user control containing a toolbar and a datagridview, I want to expose the datasource (all ok) and the columns collection (not so ok). I get a basic columns editor, complete different from the one you would expect, I end up having text columns only and I can't add any new columns. Anybody any idea, I just spend 2 hours googling, msning, ... Thanks, Peter The DataGridView column editor is a private designer, so there isn't ...Show All
MikeApplied Listview VirtualMode AutoGroup
Hello, I have a form with a listview and since I have a lot of items to read into my listview, I have to use the property "VirtualMode". But when I set this property to TRUE, my code to group the listview doesn't work anymore. This is my code Dim aItems(0) As ListViewItem ' Fill array of listviewitems If Not aItems Is Nothing Then Array.Clear(aItems, 0, aItems.Length) ReDim Me .aItems( Me .ds.Tables(0).Rows.C ...Show All
