How to upgrade the ComCtl32.dll?
my version is v5.08 how to upgrade it to version 6.0? ...
my version is v5.08 how to upgrade it to version 6.0? ...
I'm popping up a ListBox over a TextBox. I set ListBox.Parent to be the DataGrdiView that houses the TextBox (which is the edit control for a DataGridViewCell). I add string items to ListBox.Items, then I set ListBox.Location, ListBox.Width, ListBox.Height, and ListBox.Visible (to true). All of that works fine. But I can't set focus ...
Using DevExpress' XtraTreeList, and in my form there is a treelist, a RichTextBox and a button. The goal: when the user focuses on a particular root node, and when the button is clicked, the RichTextBox should show the child nodes present in the root nodes. It needs to list the entire child nodes on the RichTextBox. Is this possible, ...
hi i have in my C# (WinForms) program TextBox control if i have this text in: abcd efg hijklmnop and i stand with my cursor between c and d = position 3 or i stand with my cursor between h and i = position 10 how to get this position ? thank's in advance ...
Hello everybody! I have an odd problem with an enhanced WinForms ComboBox I wrote in C#. The box shows a list of colors with the color itself and the name of the color and is set to ComboBoxStyle.DropDownList, double buffering and DrawMode.OwnerDrawFixed. The items are drawn when the DrawItem-event is raised. If I open the DropDown men...
I want to make sample WinForm C# app for hunting duplicate photos on my laptop. My question is is there some record, tag ,Exif data or anything else which is unique for JPG(photo) file. So I can read that data put into data set and hunt for duplicates. ...
I can insert/update/delete fine from tables like product and such but this code fails with saying that the table AppAttribute does not exist. As I said, other tables are working fine... ExecuteNonQuery(BuildCommand(string.Format("DELETE FROM AppAttribute WHERE ProjectId={0};", ID))); ExecuteNonQuery(BuildCommand(string.Format("D...
Hello, I've seen some neat splash screens like VS 2010, Adobe products, etc. I know in VS.NET you can set a transparency color, etc. but I have never been able to make one look nice that didn't have some type of jagged edges or color issues on the edges. For example, I could create a black circle with magenta as the transparent color ...
Hi all. Right now I clarify this may be a duplicated question from: http://stackoverflow.com/questions/1692383/right-aligned-labels-in-winforms But non of the answers satisfied me. The problem is very simple: I have a right aligned label with autosize setted to true. The expected behavor is that when the text is increased the right co...
I am using a very old OCX in a project and have set every 'ShowMessages' type property to false that I could find. Yet, every-so-often, an error occurs deep within its bowels and a message box is popped up. I know this because I run the code in a console application and see the messages pop up. So my question is whether there is a way...
I am trying to create a thread that contains a form progress bar(just a gif image) I have called the StartProgress right before a large method. Basically when the thread starts it loads up the ProgressBar form (which I want to show all the time, and just hide it when its not needed) and with ProgressActive to true, it should display the...
Hi ! I'm working on a WinForms solution in VB.NET. It's been a while since I'm mostly a web developper. So what I need to do is to replicate the behavior of Microsoft Office product for the Cut, Copy, Paste and Undo menus and toolbar. Which meens, I need to enable Cut and Copy when and only when there's some selected text on the Form. T...
Im trying to create a button in C#. When i do it always sets it up so theirs this outline around the rounded edges of the button itself. I'm trying to change the background color of my form but these buttons look squared instead of the rounded edges like their supposed to... see attached picture.... p.s. code is the normal code... just ...
I need to create a data index of HTML pages provided to a service by essentially grabbing all text on them and putting them in a string to go into a storage system. If this were GUI based, I would simply Ctrl+A on the HTML page, copy it, then go to Notepad and Ctrl+V. Simples. If I can do it via good old point n' click, then surely ther...
Is it possible to add an WinForms UserControl into a WPF UserControl just using VS 2010 Designer? ...
I have a C++ ATL COM component that displays a popup window (plain ol' Win32, using the WS_POPUP style) which allows the user to input some search information. This component has been tested pretty extensively against a VB6 form (primarily for ease of debugging), but we want to use it with .NET winforms. The curious thing that we found...
I'm updating a LINQ object prior to SubmitChanges. The values of the object's properties are being taken from a series of TextBoxes. When I read in one specific TextBox, another TextBox changes its value with no apparent cause. //... loc.Lattitude = txtLocLat.Text; // txtLocLong.Text changes to previous value loc.Longitude = txtLocL...
Hi all, I'm creating a dynamic combo box and adding to a form. I'm trying to fill the combo box with a DataSource from an ArrayList and then selecting an item in the combo box based off a value from a property. Problem is, the combo box items don't get bound until after the Form_Load event has finished and the form is visible. So the...
I am dealing with running a control in a form, however the form itself is of no value to me. I essentially want the form to run a task and return a value, however for that I'd like to use something like an AutoResetEvent to return from the function call only when it has completed, which obviously would block the forms thread and make it ...
I need to host Excel spreadsheet in our WinForms app. It looks loading the excel file into WebBrowser control is the way to go. There are several articles on the Internet about this. However, they mostly use Excel 2003 (I guess). Excel 2007 presents some new problems: By default, the Excel spreadsheet is opened up in a new window, inst...