Answer Questions
Anatoliy DataBinding a Treeview
Hi I am just playing about with making a databound treeview and i have got this to work by just passing a datatable to it. My question is, now that i have got this far would it be possible to bind it to a bindingsource or a binding navigator. If so Could you give me any pointers please. I have never worked with the binding source before and haven't a clue but i would like to learn Thanks Mike Pooley ...Show All
Kaustubh194874 Sluggish performance 2005 final release - Us or MS?
We have a windows application, originally developed in VS 2003, now in VS 2005 final release, using Visual Basic. It has become painfully sluggish to design in, though the speed when running the app is fine. My PC is a Pentium 4, 2.5 ghz with one meg ram. I can not tell if the problem is with us and the way we designed the solution, or if it has something to do with Microsoft and Visual Studio as a whole. I realize th ...Show All
PhilippeMoison DataGrid Button column color
Good afternoon, I have used the code (pretty much as-is) from the FAQ to create a datagrid with a "push button column". It works perfecly. The only drawback is that when the user tabs around the grid, it is not obvious when he lands on the button. They get used to seeing the curent cell change color but the button does not so they think they are out of the grid. Has anyone come up with a way to make it clear you are on the butto ...Show All
DONG Can't install IssueVision due to a password complexity issue?
During the IssueVision install I get the following error at the IssueVision Database Setup: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.SqlClient.SqlException: Password validation failed. The password does not meet Windows policy requirements because it is not complex enough. at IssueVision.Setup.CD.SelectDB.btnInstall ...Show All
MarcosAG Exposing Text property of a UserControl
This is going to sound stupid, but I'm trying to create a UserControl that only contains a single TextBox. What I'm trying to do is to simply change the way that the TextBox is currently being displayed. The UserControl is drawing a rounded rectangle around the TextBox. It's just for looks. The problem is that I want to expose as many of the TextBox properties through the UserControl as I can. I currently have problems wi ...Show All
CGlenn ToolTips MIA
VB6 had tooltips for the TextBox and RichTextBox. Where did they go The ToolTip is now a separate component (it is known as an ExtenderProvider). Drag a tooltip off the toolbox onto your form and then all of your controls ...Show All
Gary Schultz SaveFileDialog actions wrong
I have a strange issue. Seems like a few others have had it, but I couldn't find a post on msdn about it. SaveFileDialog either returns DialogResult.OK or DialogResult.Cancel. The problem is if the file name the user wants to save the file as already exists in the current directory, another dialog pops up and asks if the user wants to overwrite. Even if I click "Yes", the SaveFileDialog returns DialogResult.Cancel. Even if this is t ...Show All
redd Binding a listbox AND interacting with it
Hi all, I'm getting very confused with data binding to simple objects. I definitely want to use this. My entire goal is to have my list bound to a listbox control which the user then interacts with and also does 'remove' and 'add' operations to right-clicking. My first attempt was to add objects to the listbox - looks good enough. But while the documentation is happy to tell you how to Add object, removing them is something else altogether. ...Show All
crazyy Reversible Drawing
Implementing a serious drawing program I encountered the following. For selection purposes (and some other features) I needed to drag a square from one point following the mouse to a second point, without distorting what is on the screen. After some sear ...Show All
Chip 1.5 at 11.25 Hooking Partial Class Constructor with 2.0 DataSets
I’m using ADO.NET 2.0 Strongly Typed DataSet generated by VS2005b1. VS provides me with a Partial Class so that I can customize the DataSet. I would like to reset all primary keys to use AutoIncrement[Seed&Step] = -1 using: Partial Public Cl ...Show All
eburke56 Can I have a Custom Action in ClickOnce deployment?
Hi, Can I have a Custom Action in ClickOnce deployment Boris Hi Patty, In general, I want my code to be executed... More specific, I need two things: 1. Add more shortcuts in start menu: basically just a couple more of ClickOnce installations with "Add/Remove Program" and "Update Check" functionality 2. Have OpenFile dialog executed on installation time to ask user abo ...Show All
HitechRider DataSet, DataGridView and Threads Problem
Hi, I got a DataSet Table getting filled with data from a source of different threads. I have a problem where I view this Table in a DataGridView and my app freezes. If I execute the app in debugging mode in the IDE it works with out problems. Basically what I want is to be able to view and edit this dataset from the DataGridView while threads fill the table with data. I was thinking I probably have to use Invoke() on the DataGridView but ...Show All
Jeff Papp DataGridView -- BindingSource isn't updated
I have a DataGridView that is bound to a BindingSource. When the user right-clicks on my grid, I have code that selects the row the user clicked on. It looks like this: private void dataGridView_CellMouseDown( object sender, DataGridViewCellMouseEventArgs e ) { // Select the row employeeDataGridView.Rows[e.RowIndex].Selected = true; } The problem with the above is that the underly ...Show All
tyoas How can I use 1 databinding for 2 (or more) forms
Using VS 2005 Release Candidate, C# SITUATION: I have 2 forms, form1 is showing a datagridview, form2 is showing the selected record in de datagridview of form1 using textboxes and others. I'm using a bindingsource bs1 (form1) en bs2 (form2). In form1 I double-click on the datagridview and show form2 (I'm sending the BindingSource bs1 as a parameter) using the following method: form2 f2 = new form2(); f2.LoadDS(BindingSource bs1); f ...Show All
Gette How can execute the public method inside the MDIparent from the client form?
Experts, I have an MDI form and child form. MDI form has two public methods which should be called or executed from the child form. Please guide me with same sample pages or code pages with c# or c++ visual studio 2003 version. Thanks, I find some information in this pages, same as what I need, but could not clearly understand the solution. Is there any C# example for this Any help Thanks ======== I have a main form (an mdi container) ...Show All
