Answer Questions
AShika ListBox MultiSelect
Hello, I have a listbox, from where I have say 3 items selected, how can I find which are selected.... Basically you have to cheat everything This is what I did and it works.... ListBox box = new ListBox (); box.DataSource = dsLine; box.DataValueField = "LINE_CODE" ; box.DataBind(); for ( int i = 0; i < box.Items.Count; ++i) { string item = box.Items .Value; ...Show All
Vitaly K How can I set the Scrollbar Color for a TreeView?
Is it possible to set the color of the integral scrollbars on a TreeView at either design-time or run-time ...Show All
Soc32183 httpwebrequest
helllo i have made a windows application,and a web application as a middle tier for the users to make a web request through the http protocol within my web application i have a method that returns a datareader object. so my question is how can i use the httpwebrequest within the windows application in order to return the datareader object from the web application to the windows application i need help thank you for the suppo ...Show All
RuiFavas Special Characters
Where can I find a composite list of special characters that I can use when printing out info on a windows form For instance, if I wanted to tab over, what would I use What about a carriage return/single-line break Not in ...Show All
Derek Ju Copy string to clipboard with inserted line breaks
Hi, Have a collection of numbers in a listbox. I want to copy these numbersto the clipboard and pasted inside a notepad text file. I loop through the items in the listbox adding them to a string variable separated with "\n". The pro ...Show All
mcomroe Good practice : Using dataset with 2 tables
Hello, I take an example, I have 2 tables, a products table and a products details table. In the main table, there are information about the price. In the second table, information about the description and name, these informations are language depending. Concretely : T_PRODUCT (PROD_ID, PROD_PRICE, ....) T_PRODUCT_DETAIL (PRODD_ID, PROD_ID, PRODD_NAME, PRODD_DESC) Could you tell me the good way to bind the informations to GUI and if it's possib ...Show All
asena Simple Unistall Question
I have created a configuration file in the Application Folder of my project after the installation. Since this file was not part of the installation, it is not removed when I unistall my product. How do I write a custom action to do this I haven't been able to find a good example when looking through the threads... Thanks! You could do this by adding a row to the RemoveFile table of your msi, with the Insta ...Show All
hyan Cursor related with color
I got a problem, i got this expression so far: if(mousePoint.X == 1 ... How can i relate the mousePoint.X = 1 with a color in that coordinate. Like when a color appear in the coordinate 1;1 a messageBox will apear. I dont know how ...Show All
Nagas Many XP problems
I just restored my computer. now many problems are coming up. 1. My automatic update is not coming up. ever. since i just restored my computer I need SP2. 2. when restoring my computer i thought all my stuff would be deleted. but it did&n ...Show All
knowthyself Skinning resources
Anyone know any good skinning resources I'd like to make an app that is skinnable but don't quite know where to start lookin at how to design a skinnable interface for the app.... Thanks in advance! What the heck!! Sorry ...Show All
jph290 property grid item collection
hi, we want to develop a property grid item on the property browser like treeview's node property ( has a browse button that opens a new editor). is there any special name for this kind of property we think that this kind of property takes&nbs ...Show All
Lee Nelson DataGridViewCellStyle properties and databinding
Is there anyway to use databinding to set properties of the referenced type (for example, DefaultCellStyle and AlternatingRowsDefaultCellStyle). With properties like Font, I can use ConvertFromString to do this, but the converter for DataGridViewCellStyle does not seem to support this. Thanks in advance for any help. ...Show All
SNNicky Click event in child controls
Hi everyone, I have a User Control and of course it has child controls on it. Most of them are created dynamically. I need my user control to handle situation when i click on it (no matter where i clicked or which control was under th ...Show All
Gu&#38;&#35;240&#59;mundur Data Sources window & Custom Objects
Is there anyway to keep a Property (on a custom object) from showing up in Data Sources window I want to reduce the clutter of Data Sources window on my custom entity objects and would like to hide my IDataErrorInfo.Error and IDataErrorInfo.Item property implementations (along with some other common properties). Thanks, SValentine Found my answer at: http://msmvps.com/blogs/bill/archive/2005/10/ ...Show All
Aluri TabPages.Insert Bug?
Is anyone else out there having problems inserting TabPages I thought it might be a problem in my main project, so I created a new WinForms test project, dropped a tabcontrol on the form, and added a line to insert a tab at position 0. Nothing else. My constructor looks like this: public Form1() { InitializeComponent(); this .tabControl1.TabPages.Insert(0, "Test" ); } But when I run I onl ...Show All
