Answer Questions
en ListBox
Dear Friends We are using C# for our project and for If i use list Box and want to remove few items without using for loop , how can i do that because we want to add we can if we want to remove we are not able because i didn't any such fuctionality .can u please help me in this regards. Hi, You have not mentioned earlier for multiselect. You just need to loop through. Here is C# sample... foreach ( obj ...Show All
sqluser What is the AddNew method of BindingContext???
I need to try this question again: Does anyone know what the AddNew method of BindingContext Class is It is not documented in the Class Members. Here is the code that generated this question. This code is found on a form displaying one ...Show All
Fatou How do I : Set a Bound Combobox to a different value other than the first item.
How do I : Set a Bound Combobox to a different value other than the first item I am using VS2005 RTM. The ComboBox is bound using a Custom Business Object (Messages). I would normally use BindingSource.Find(), but I can not use BindingSource because of a problem in BindingSurce I posted yesterday in this news group. See (BindingSource CurrentChanged Event fires 4 times on startup Why ). I have the ComboBox bound in code like this: C ...Show All
TunnyFish Using COM Interop on my Component
I've created a component and I've checked the box in VS.Net to "Register for COM Interop". The only problem is that every time I bulid the solution (even if I don't change method signature), I get a new CLSID associated with my ...Show All
Ann Zhou Windows Help
Hi - This is a newbie question. I am making a Windows Forms Application and want to use Microsoft's HTML Help in my program. I want the help to act as it does in Visual Studio .NET 2003 where the table of contents comes up in one place (A Task Pane in my case) and then have the content show up in another window in the middle of the screen. In other words i want the Index, Search and Contents functionality offered by Microsoft Help, but I want i ...Show All
jn1412 Create CodeGroup Policy for BOTH Frameworks
I am able to create codegroups and save them and permissions, but it is only for framework v1.0. This doesn't bode well for my usercontrols that are embedded in Internet Explorer. Because I also have v1.1, the usercontrol in IE I have check permissions, ...Show All
kumarkadali non-rectangular controls in Windows Forms
I'm trying to develop simple non-rectangular controls for use in forms: ellipses, diamonds, etc. The last released version of System.Windows.Forms clearly had problems in this are, and now version 2.0 also seems to handle things incorrectly. Specifically, even if I set the background color to Transparent and set the "All painting in WM_PAINT" style, the corners of my controls continue to be painted. In v1.1 there was a problem with ...Show All
raj416 Programmatic access to treeview control
The help index in VS2005 indicates that it should be possible to change the selected node on a treeview control programmatically, but both the selectednode and selectedvalue properties are marked as read only so they cannot be changed. How do I change the selected node programmatically to allow the tree to correspond to a web page that is opened from a Server.Transfer command (the default behavior is for the tree to remain pointing to the ...Show All
KannanPV file not found after setup installed
I created a setup project for my program that has crystal report dependencies. After I install it on a machine and try to view the report I get the following error: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral...or one of it's dependencies. I'm close to ditching Crystal Reports and building my own. This is a pain. a ...Show All
smcintyr11 "Office Look and Feel" Sample Code
Hello: I'm wondering if there is a way to obtain the source code for the "Outlook Look and Feel Sample" that is shown from the "Whidbey" tab from this website. I'm trying to create the same look/feel as these menu/toolbar controls&n ...Show All
Louis Wildschut Transparent key- Annoying? help me!
in vb '05, you can set the transparency key for the form, thus all of that color will be invivisble. This also work on things like picture boxes, blah de blah. So if you have the transparency key set to WHITE, and you have a picture of a yellow face on a white background. The white part of the background will be transparent. However, it just not go transparent to the form. It goes straight through the form, and if you click on the invisible part ...Show All
John64 Open form
Hi I've saved the name of a form I want shown in the tag property of a control. How do I open the form I think you will need the name (full path to file) of the Assembly containing the form class too. I do this in ...Show All
Dragonslayer Databinding 101 question
Hello, Frustrated by what seems like a simple issue. I am using a datagrid to allow users to navigate records, but the data is edited in some text boxes on the same form. However when I set the databindings the text boxes do not go&n ...Show All
Fabio Pirani DrawToBitmap Transparent Background
When using DrawToBitmap, is there anyway to enforce the fact that my control's background is transparent When I use DrawToBitmap, it shows the standard gray background. If I recall, in C++, I would just send the control a message to erase its background first, is there anyway to force this in .NET Unfortunately, that's not an option. In any case, I've discovered that DrawToBitmap is horribly broken and I stron ...Show All
Wayner7 DataGridView w/ custom editing control
I have created a custom column, cell, and editing control for a datagridview based on a usercontrol w/ multiple textboxes on it. When I edit the data in one of the textboxes and mouseclick on another row, the textbox writes the changes back to the datasource and then cellvalidating event is raised. If I edit one of the textboxes and then use the down arrow key to move to the next row, the cellvalidating event is raised before the textbox writes ...Show All
