Answer Questions
Dots tutorial on treeview
Hi can anyone direct me to a good site where i can learn how to use the treeview control I want to be able to covert this code With tvwMediaCategory .Nodes.Add , , "ROOT", "My Media", "CDMUSIC", " ...Show All
Firedancer Defining window shape
I have problem with defining shape of a window. I know how to do it in WinAPI but have no idea how to solve this problem in windows forms. lol Here's how you can turn the "trick" into something that actually works ...Show All
Deadman Walking Downloading a file
Hey, This is so very much a n00b question, but I really can't find any related information because everytime I'm searching on a phrase with the word "download", I get plenty of results how to download Visual Basic or other neat stuff... My  ...Show All
CaffeineMartini datagrdiview columnnames
how to display my table in a datagridview for example, i have a table Employees in sqlserver with columns EmpID and EmpName. I'd like to display it in the datagridview, columname = Employees, Row1 = EmpID, Row2 = EmpName. What I want to display is the name not the value. Why would you display the ID in Row1 and the Name is Row2 This type of "pivot" behavior is not supported by the DataGridView or the databinding framework. ...Show All
whizkid When/Where should I instantiate the control when placing on the designer
I'd like to pre-populate some properties of a control when drag'ndrop from the toolbox onto the custom designer. When should I set these properties During the onselection, drag event, or somewhere else Thanks, Alan I'll try as you suggested and post my experience. Alan Martin Thorsen - MSFT wrote: This is going to be really tricky. The problem is that the TableLayoutPanelDesigner hooks OnCon ...Show All
Richard Hathaway Freezing column headers
In dataGridView control, how can I make the column headers visible at all times (when I scroll down). Is there any options like 'freeze pane' similar to that in MS Excel The column headers are always visible when you scroll down. They are basically always frozen. If you have additional columns or rows that you want to keep from scrolling, you can set the row or column's Frozen property to true. -mark Dat ...Show All
Plume-Tsee Using Win32 API to get mouse click
Hi, I'm developing a small "colour picker" app in VB.Net to get the colour at a particular pixel anywhere on the screen (ie: not in the form). I understand I have to call the Win32 API to do this, perhaps trapping the WM_LBUTTONDOWN ...Show All
Ron Giles Can't choose label size
Can't choose label size On some forms I was able to draw the size of a label as I wanted. For example, typically in autoincrementing ID fields I'd draw it to the size of textboxes. On the Authors form the IDLabel's size is 121, 23 Lately, however the width of a label is sufficient to show the text, and the height is 13. Is there any way I can draw the labels to the size I choose dennist By default a ...Show All
CrystalDev System.BadImageFormatException executing Custom Action in setup project
We recently migrated from VS2003 to VS2005. We have an installer project that calls a custom action from our setup project. It used to work great in VS2003 but VS2005 is giving the following error when the MSI attempts to execute the custom action portion of the setup (occurs at the very end): Exception occurred while initializing the installation: System.BadImageFormatException: The format of the file "XXCustomAction.dll" is invali ...Show All
Nir Floripa Hide the navigation column
Background: I am using a datagrid to display results of a search (SQL query) of a database. No editing of data is needed Problem: I don't want the "navigation" column of the datagrid to show. (the first column that shows the current ...Show All
Steve Jensen Dataview rejectchanges
Hi all, I have a dataview of tblUsers and I would like to rejectchanges() when a cancel button is clicked. The textbox has say a name in it 'Joe Bloggs' and I change it to 'Joe' then I click the cancel button but it does not revert&nb ...Show All
JackyCheng Is it possible to add images to a DataGridViewCombBox Column
subject says it all. Just wondering if anyone has any sample code that can do this. I'd like to use icons in the combo box column. Thanks Thanks Augusto, do you have any sample code that illustrates this Well, I suppose you can create a Custom Column whose editing control is a combo box with custom draw, so that you can paint any icons you need... Check out this post: ...Show All
dean183 Delpoying .net windows Application
Hi All, can anyone let me know whether to deploy the .net windows application, the client requires .NET Framework. and if it is required is there any way to include the Framework installer in the setup package Because this problem i faced when i tried delploying a .NET application in a machine where there is no .NET Framework is installed Hi, You need to Install .Net frame work on the maching so download 1.x or ...Show All
Oliver Klacik message box not showing the messages in C#
hi there .NET Gurus Am facing a very annoying problem on my system. it goes like that 1. I build simple windows application in C# with no custom code. 2. i just write in the form load method MessageBox.Show ("Hello C#"); 3. compile it Output& ...Show All
Macius Creating a task list like control.
Hi All, I am trying to find a control that looks like the Task List in the Visual Studio .NET IDE. The problem with the standard list view is that it's borders are 3D and if you try the flat style, the border colour is a dark&nb ...Show All
