Answer Questions
The DATMAN Will WebBrowser control be available to partially trusted applications in VS2005?
In beta2 the WinForms WebBrowser control seems to work in partially trusted applications deployed using ClickOnce from the Local Intranet or Internet zones. However, there are some indications in the documentation that in the final VS2005 release, the WebBrowser control will only be available to fully trusted applications. Specifically, the documentation for the 'WebBrowserPermission' class has the following comment: "This class will be removed ...Show All
IndControl Dynamic forms - generated at runtime from xml
Does anyone know if it's possible with C#/.NET to dynamically create windows forms at runtime. I plan to read an xml definition of the form (probably into a ADO.NET dataset) then build the form as the xml dictates - where the xml might&nb ...Show All
Fergal Breen Row Colouring in DataGridView
Hi, I have a requirement in which I have to set the background color of a row based on a particular cell value. The code is something like this Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting If DataGridView1.Columns(e.ColumnIndex).Name = "RISK_TYPE" Then &nb ...Show All
Mathieu DESPRIEE Painting problem
I hope I can explain this well ..... I have a rectangle A (which is the entire control) and a rectangle B (which is A inflated by -1,-1). Now, I want to paint the control using B if in one state, else use A. When painting& ...Show All
ujjwalprakash TreeListView Control Proble
HI, How can i customise the Checkbox property of list view control so that only specific items in list view will display checkboxes i.e A listview have three columns Name of the student, Present, and Absent, i Want Check boxes to be in the second and third Columns Can any one help me out and send some example in C# Regard Anilesh Lakhtakia You would have to make the TreeListView owner-draw and deal with drawing each li ...Show All
JeffSeifert Create a custom DataGridViewColumn for radio buttons
Hi, In my application, I want to create a custom DataGridViewColumn which contains radio buttons, much like the DataGridViewCheckBoxColumn. I know I should derive from DataGridViewColumn and DataGridViewCell, but I'm not quite clear on how I should proceed. There's so little information on this topic; as far as I know, no MSDN article on this area has been written yet. Hope that somebody here can shed me a light. Thanks a lot. Dotnetjunk ...Show All
A_Bomb Single value data binding problem
I would like to navigate a dataset using a buttons. For example - create a form with a single text box where the text is bound to a field in a table in a dataset. - add two buttons Next and Previous - When the Next button  ...Show All
MrShenanigan Ambiguos error...
Hi all. I have very strange problem and make me crazy. I don't know what it is. This is the code: int id, n=0; this.treeView1.TopNode.Nodes.Clear(); for (int i = 0; i < ApplicationState.GroupCount; i++) { id = Convert.ToInt32(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GID"].Value); this.treeView1.TopNode.Nodes.Add(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GroupTitle&quo ...Show All
gdekens Changing Parent Items From Child
How can I change parent items such as menu items from a child It's not the conversion issue per say. It's the call of the method. It's being called before the child is released. How can I act against that ...Show All
Paul Hacker Draw ontop of child controls
Hi, I have a container control and am unable to paint ontop of all the child controls. The affect I wish to achieve is to have an image follow the mouse in the container control and this image needs to appear above the child controls ...Show All
Shaik Pakeer Extend default context menu
Probably a very stupid question, but how can you extend a default context menu with your own menu items. My question is: I want to have my own context menu, but in there I want to have the default Copy/Paste/Cut, ... functionality. Thanks Jim ...Show All
G.Peters Passing Data Between MDI children using C++
Hello, Can anybody tell me how to pass data between mdichildren forms when you create Windows application usinig Managed C++.Net. Thanx in Advance, Then you've got to use some delegates. Try 'Delegates c++.net' at google. ...Show All
bcratan Help with clunky event handling
Hi all. I come from a background of many many years of coding in Delphi using ADO to hook into SQL Server. Now I am coding in Visual Studio 2005 using the ADO.NET layer and .NET 2 components and it feels like I have taken 10 steps back. Typically, I used to have all sorts of events raised in my db componets (in Delphi). BeforeInsert, AfterInsert, BeforeDelete, AfterDelete, BeforePost, AfterPost etc... Simple and easy to use. How do I acces ...Show All
ubm0158 Merging Menu strips
I have an MDI child form which contains a menu strip, and an MDI parent also containing a menu strip. When I open the child form, the menus merge correctly. However, when my child form contains a usercontrol with its own menu strip, the menustrip from the usercontrol gets merged with the MDI parent menu, and I lose the menus from the child form. Is there anyway that I can get all three menus to merge together correctly As I would like to crea ...Show All
Bojan find out in MDI-Form which Control has the focus
hi, i have a MDI-Form. I want to find out, which control (Textbox, Textfield) currently has got the focus. these controls may be in a TabControl. bye hi Paul, thanks for your answer; i guessed that i have to traverse so as you described. Isnt there a easier way bye Hi, Aside from the ActiveControl property, I am not aware of an easier way to do this. cheers ...Show All
