Answer Questions
David Navarrete Storing and retrieving cursor icons using an ImageList
Hello everyone! Is it possible to store and retrieve cursor images using an ImageList control (The images stored in the ImageList are bitmaps.) Since both the cursor and icon formats work for a mouse cursor, I have pulled the bitmaps out of the Ima ...Show All
Dinh Quang Son Reading the Name from Value in ResourceFiles using Resource Manager
Hi I am aiming at reading the Name from Value in ResourceFiles using Resource Manager. Let's say I have an application which uses 3 Resource files say R1, R2, R3. These resource files have say 2 name value pairs. N1- V1, and N2-V2. Now I want to get ...Show All
5spot Thread::Sleep question
Hello, I've got a question about the Thread::Sleep command. I have a code which goes like so: private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { System::ComponentModel::ComponentResourceManager^ resources = gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid); &nbs ...Show All
Jackson Gomes Translating VB code to C# - need some help
Hi, Sorry to bug you all, but I have a quick question. I attended a Microsoft CodeCamp this weekend and they had an exmple that was written in VB. I would like to port that over to C#. Here is one of the VB examples. Publ ...Show All
haydxn Multi line Column Header in datagrid, winapp .net
Hi , Is there a way to set a multi line column header for a datagrid. Thanks. Directly there is no way... if however you don’t mind a little reflection against the DataGrid class to set the headerFontHeight property, take a look at this CodeProject article which shows how to do it: http://www.codeproject.com/cs/miscctrl/SizableColumnHdrDataGrid.asp ...Show All
RichardAU Bitmap.GetHBitmap() returns invalid handle
I need to access a managed bitmap (header,info,pixels) from unmanaged code but the HBITMAP I get back from Bitmap.GetHbitmap appears to be invalid. At least that is the error I get when I call GlobalLock() on the HBITMAP. Any ideas as to how you are supposed to use the HBITMAP that is returned You don't provide any information on how you are marshaling the data. I'm assuming that you are using ...Show All
softstor hi
hi .. how can i fill the items of the combobox from the data base 4 exapmle : table students include a name lets say jim & bill so the combo box should display jim and bill if i add new student peter then the combo box should display the all three students thx No, but "Name" needs to be the name of a column in your table, or you need to change it. What's the code/exact error ...Show All
Mike Stall - MSFT How to Integrate MS Word Viewer in to the WinForm Application
Dear Sirs. Is it posible and how to Intergrate MS Word 2003 Viewer in to the WinForm Application Without using droped component activedocumenthost Thank you in advance. You can use the webbrowser control to do this, not very god though, but its a workaround. ...Show All
David Scherf Many XP problems
I just restored my computer. now many problems are coming up. 1. My automatic update is not coming up. ever. since i just restored my computer I need SP2. 2. when restoring my computer i thought all my stuff would be deleted. but it did&n ...Show All
23 Problem with ToolboxBitmapAttribute
I have created a custom component and now I want to display a custom bitmap when the component is displayed in the toolbox. I have applied the ToolboxBitmap attribute as follows: [ToolboxBitmap( typeof (Resources), "Resources.ComponentImage")] public class MyComponent : Component { ... } The weird thing is I can call ToolboxBitmapAttribute.GetImageFromResource( typeof (Resources), "Resources.Component ...Show All
al_cenov Making an iPhoto / Picasa style UI?
I'm new to windows forms (coming in from asp.net), and could use some advice: I need to make form with a big scrolling grid of images (with captions), allowing the user to select multiple images, and drag-and-drop them to change the order of the images. Think of a UI like iPhoto or Picasa here. I originally tried using a FlowLayoutPanel, but was hoping to find a way to do it that didn't require me to manually redraw the selection state of the im ...Show All
MMA_man Error while accessing value of the control
Hi, I have two combobox filled with data in a window form. I also have one more window from in which I have declared two variables. Now my requirement is that how can we access selected value from the combobox in first form to the valiable declared into second form. How can we access selected value of the combobox from any place in the working application. If possibe please provide some example. Thank you ...Show All
BriTheProblem How to get modified rows from a datagrid , when the changes are made on the editable datagrid itself
I have a datagrid bound to a datatable , which has customized table style. I display the editable datagrid. I modify some rows ( say row 1, 5 and 6 ) on the datagrid from the interface. Now I would like to get this set of m ...Show All
MCRoberts Application not allows to modify a custom numeric property (sorted using CodeDomSerializer)
Hello, In my previous post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=54512 , I don't know how to sort the properties at design time. Now, the properties are ordered ok, but the user can't to update a numeric property. The application show the message: "Invalid property value. Specified argument was out of the range of valid values. Parameter name: Index was out of range. Must be non-negative and less than the size of the colle ...Show All
Christer O Does XPander control needs the Manifest?
Hi all, I have tried to develop an Xpander in c#. After created, have several problems that related to an Key I look up and that's not an SN key issue, so after look more at the original solution i saw an manifest resource, but i supose th ...Show All
