Tag Archives: Windows Forms

How to use TaskDialog API in C#

The TaskDialog API replaces MessageBox. A message box is useful for prompting users for an acknowledgment, confirmation, or an answer to a yes or no question. Message boxes are popular because of the MessageBox function is convenient for developers to … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Win 32 API, Windows 7, Windows Forms, WPF | Tagged , , , , , , , | 4 Comments

Creating color picker application in C#

Yesterday I modified my blog’s theme. That time I thought about writing an application to pick color from any where in the screen like web page or application. I know there are some applications already out there in the market … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Windows Forms | Tagged , , , , | 1 Comment

Update multiple elements at once using LINQ

Few days back one of my friend asked Is there any option available to update property of an collection objects using Linq. I couldn’t find a method that day, but yesterday again I come across the same problem. So I … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Windows Forms | Tagged , , , , , | Leave a comment

How to associate a File Type to your application

Recently I was working with an Open source project which helps to manage SQLCE databases. Yesterday I thought of implementing a feature like associating the SDF files to my application, so that I can double click on any SDF file … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Windows Forms | Tagged , , , , , | Leave a comment

How to compile C# code snippet in runtime

Yesterday one of colleague called me and asked how I can compile code from a text source. I explored System.CodeDom classes. And I found one way to create executable (libraries too) using CSharpCodeProvider class. For more details you can found … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Visual Studio | Tagged , , , , , , | 2 Comments