Answer Questions
Windows X ControlDesigner class not found!!!
I can't find ControlDesigner class in system.windows.forms.design namespace,but in MSDN refrences this class implemented in above mentioned namespace.what can i do for finding this class in .NET namespaces I believe that's in the System.Design.dll. Add&nbs ...Show All
chaospilot Image Button with Text
How to add a text with the Image button I am adding a Image button in a panel bar at run time. We can give Tooltip for that image. But I want to give some text for Image button. Whether its possible i.e. Image with Som ...Show All
rajuraju Whidbey BackgroundWorker component fails in Form Load event
I'm trying to use the new BackgroundWorker component (Whidbey) in a sample VB.NET WinForms project. I've followed the examples on MSDN and can successfully recreate and run those examples. All of those examples though have the background process kicked off from a button on the form; i.e. the RunWorkerAsync method of the BackgroundWorker object is called from the click event of a button. If I do this same thing but instead try to kick off the b ...Show All
Upender R. Sandadi Resizing of Rows and Columns
<.NET Framework 1.1> I'm am working on a TableControl for Windows Forms these days. Just like the TableLayoutPanel in VS 2005. It has rows and columns in it. The user can drag and drop controls in any of its cells. One thing which is missing is the resizing functionality of rows and columns at design time. As the user moves mouse on of its borders, it should display the appropriate resizing cursor as with the HTML table control for ASP.NET ...Show All
Bovril2006 ClickOnce: Installing two instances of same application on a machine
I would like to install two instances of the same application on a given machine. I've having issues that I believe began with RTM of .NET 2.0. (worked in Beta2). Scenario: "MyApp" is a ClickOnce application. I do a build of my binaries, and publish the app to the URL http://myapp-QA. I named the application "MyApp-QA" in the publish properities. With the same binaries, I publish the app to a differenent URL with s ...Show All
Witold Jaworski How do I change the ClientRectangle area of a Form?
Hi all, I would like to change the Client Area of a BaseForm I want my other forms to inherit from. Does anyone of you know how I should implement that I tried several points: Setting ClientRectangle Properties: ReadOnly. Overriding DisplayRectangle: Doesn't change anything SetClientSizeCore: Changes the size but doesn't allow to change the Location (X and Y). Thanks by advance! Amadrias ...Show All
Bob Myles GDI+: Redrawing Controls Question
Greetings All, Just for fun I am trying to redraw the command button using GDI+. I redrew the button using the paint event as shown in code below. What I learned is that when you redraw the button it loses the hover effect (change&n ...Show All
the_lmich How to call UserControls Property and method from the Container application ?
Hi Friends, I have created one UserContols. I load it on another C# Application using the Assemply.CreateInstance method. Now i need to access all property and method. How to do it Please help me, its very urgent. Nilay Dear Dpowers, Thanks to take a interest in my Post. I have found the solution for that. // Use the file name to load the assembly into the current application domain. Assembly a = Assembly. ...Show All
Jason Presley DataGrid: Updates requires a valid UpdateCommand when passed DataRow collection with modified rows
I am using DataGrid in simple form using Database Oracle. When I am updating the editing data, it is giving me this Error. System.InvalidOperationExcetion: Update requires a valid UpdateCommand when passed DataRow collection with  ...Show All
Aziz Ahmedabadwala How do you intercept the Minimize button?
I want to send my application to the tray icon bar. Mario's code works fine. "Except that no size events are sent when a form is Maximized or Minimized." Not true. cablehead wrote: Mario's code works fine. "Except that no size events are sent when a form is Maximized or Minimized." Not true. Correct, I was thinking of something else. Is not what i was looking for ...Show All
Hems4all DataSet.ReadXml for multiple DataTables
I have managed to create an xml file using DataSet.WriteXml for two tables in a DataSet. However, when it comes to reading this xml file back in, only the first DataTable is populated. Would be very grateful for any help. I've actuall ...Show All
Beethal How do I add an item to the caption bar context menu?
Hi, How do I add an item to the context menu displayed when you right-click on the caption/title bar. The current items are: Restore Move Size Minimize Maximize --------- Close What I would like to do is add an item below the "Close" option called "About..." that will display the application's about dialog. I know how to add a context menu to the form but I am having difficulty in getting hold of the above caption bar context menu. Any help in t ...Show All
BKewl Ms Access Database Connection String
Hi, I am developing an application with Ms Access .mdb database. Well i can connect to the database using the physical path. Now the problem is i am configuring the application for client server. So for every client i have to specify the physic ...Show All
yanickg Running .exe across network
I'm developing a small application that pops up a "message of the day" box when a user logs onto the intranet. The application works just fine when I run it off the local machine. However, when I attempt to run it across the netw ...Show All
leafsky Help!!! CheckBox to a datagrid header
Hi to all, Can someone help me to add a CheckBox to a datagrid header in Windows application. This can be done in web. But i need this "CheckAll" functionality in windows forms datagrid.. Thanks, Zabi ...Show All
