Answer Questions
hjb3 Two questions about ListView
1. When I change the width of the columns of a ListView, the content of it flashes as I move the mouse. How can I cancel the ListView redraw the content while changing the column width I tried to add e->Cancel = true; in ColumnWidthChanging event, but it works not very fine. 2. I have an icon, and have added it in an ImageList. I want to set it as the ListView's StateImage. But strange that it displays as only in a very low color depth. I hav ...Show All
Evgeny.Peshkov Binding ArrayList (of Structures) to a Datagrid Question?
OK. I am **hoping** this is something silly and simple that I'm forgetting to do. I've read some examples on binding a datagrid to an array list and that is what I'm now trying to do. I've got an ArrayList (populated from a structure).&nbs ...Show All
daWiki Powerpoint in a Visual Basic.Net Form
How can i "run" a powerpoint file in a visual basic.net form. The application should not run "fullscreen", the ptt is just a part of the form. Looking forward for some help. Daniel Ali Aman / Kuala Lumpur General question re ...Show All
benryves Data Source items go blank when form designer is active in 2005 Pro
I am following the msdn tutorial "New Dataset Features in Visual Studio 2005", and have created the sample project twice. Everything works as advertised, except that when I bring up the blank Form1 designer to drag data items from the data source window, the data source list disappears! As soon as I switch to the form to add data, the data source list blanks out. Can anyone give me a clue what to do I ha ...Show All
R_Houtman URGENT:System.Resources.ResXResourceWriter
hi all, I am using .NET framework2.0, according to MSDN there is a class ResxResourceWriter in the namespace System.Resources, but i am not getting any such class here, what could be the problem, i am using WINNT operating system. Thanks in Advance -Rahul Which page are you getting this error, it would be nice to inform MSDN guys about it. Sinan got the solutiong actual ...Show All
Koldark DataGridViewColumn which have other properties.
Hi All~~ I want to make DataGridViewColumn which have other properties and to modify in the ColumnEditor. After I made MyDataGridViewColumn and MyDataGridView, I tried to make a relation betweenn MyDataGridViewColumn and MyDataGridView through MyDataGridViewColumnCollection. And, I want ...Show All
peter lam FilesListBox Control
My FilesListBox control atricale got posted on the CodeProject: http://www.codeproject.com/cs/miscctrl/FilesListBox.asp its an owner draw ListBox with files in it like the IE. check it out... Nice work Eli! Thanx. ...Show All
james_h DataGrid select master table row to show detail rows
Hi, I have 2 separate master/detail datagrids (they are not embedded in 1 datagrid) What i want it to happen is that when i click a row in the master table, the respective rows will be showing up in the separated detail table. i was wonder ...Show All
SureshGadiraju Can someone tell me how to add a simple white space using C# in string... forget the code...
I am trying to indent the items in a System.Windows.Forms.ListBox, and I was wondering what escape character or unicode I use for simply adding a certain number of white/blank space Thanks. I'm not sure I understand the question, why not use the space character listBox1.Items.Add( " Five Spaces" ); Alternatively, you could use "\t" for a tab character. ...Show All
VCPPUser in arrays...
Hi, I'm trying to read a text file, somewhat like this: #15-07-2001 sdkfhksdfhsdc cskjmcdfcsd #13-12-1999 asljkdaksjxd dcjdvf etc... I want to save the dates... so I put up something like this: string line; string date; StreamReader sr = new StreamReader(...); while((line=sr.ReadLine()) != null) { &nbs ...Show All
Luke Zhang - MSFT Serious Problem with TableAdapter and BindingSource
Hello everybody, I have some serious problems with the combination of a TableAdapter, BindingSource and DataSet. If I use a BindingSource to edit the data in the DataSet, it does not update the first item of the dataset. All others get updated. If i write directly to the dataset, then all data will be updated, even the first item in the dataset (first item is the first row in the DataTable of the DataSet). The curious thing is, when using the ...Show All
ThiagoAlipio Custom UITypeEditor and the PropertyGrid
Hello - I have created a class called a StringEnum that is a sort of runtime enum class that can be populated with a set of strings and that can have a current value. I want to use this class in a PropertyGrid so that the user can select one of a set of values that is defined at runtime. In order to display this in the PropertyGrid I created a class called the StringEnumTypeEditor and implemented the EditValue method (see below). When ...Show All
akosonom Order events are fired in form
I don't know if I'm perhaps following bad coding practice, but here we go: I've got an application that is dynamically opening child forms. In the form_Load event for one of my forms, I am populating some combo boxes. That works beautifully. Here's where it gets interesting: The combo boxes have sorts and filters applied when they are loaded. All three combo boxes are related to each other. I would like to figure out a way to change the text sho ...Show All
Ralph Gasser Where do I store the dataset?
I've been doing ASP.NET for the last couple of years and now I've started a WinForms project but I'm lost. In ASP.NET, after I bind a dataset to a datagrid I store the dataset in the session variable to retrieve and update the dataset until I'm ready to submit it to the database. In WinForms where do I store the dataset after binding to a datagrid when I need to update and delete rows out of the dataset Thanks. ...Show All
dsutherland Outlook Control
Hi, Looking at the screenshots for the new whidbey controls and a simulation of Outlook 2003 is there. Will these Outlook controls be available in whidbey or is Microsoft just showing what can be done if you feel like re-creating something from&nbs ...Show All
