Winform

Using Injectors with CInject

3 minute read

If you don't know what is CInject, I would recommend you to read this article and get the latest version of CInject from CodePlex website. There are few inje...

Mobile platform - the strongest with .NET

2 minute read

Microsoft .NET has recently emerged as one of the most mature and strongest platforms for Mobile Computing.    Until sometime back, Windows Phone 6.5 was the...

Certificate Signing in ClickOnce

less than 1 minute read

Why do we need to sign the ClickOnce Deployment using a certificate? Signing the deployment is just another way to ensure that the local version agrees with ...

WPF vs WPF XBAP vs Silverlight

less than 1 minute read

Many have answered this question and many have asked me the same... So after research from various sites including http://silverlight.net and http://blogs.ms...

Winform Tip#10: Getting File Properties

less than 1 minute read

Instantiate a FileInfo object with the full path as constructor arg. Then simply call FileInfo.Extension and you will get just the extension of the file.   F...

Winform Tip#9: ColorPicker

less than 1 minute read

Choose a textbox over which we will test this experiment: [sourcecode language='csharp'] ColorDialog colorDialog1 = new ColorDialog(); //fontDialog1.ShowColo...

Winform Tip#7:Browser within Winform

less than 1 minute read

WebBrowser control can be used inside a form to display HTML contents and listen to events such as NavigateComplete or BeforeNavigate Use of ActiveX wrappers...

Winform tip#6:DataGrid vs DataGridView

less than 1 minute read

DataGridView is an enhanced version of DataGrid.  Some of the features lacking in DataGrid are: Multiple column types Multiple ways to display data Multiple...

Winform Tip#4: Deployment in Winform

less than 1 minute read

Best way to deploy is by using ClickOnce deployment. This allows user to get regular updates, patches to the product while conforming to the security standar...

Finding currently focused control

less than 1 minute read

Good question!  Now, this was a question in one of my sessions at Microsoft Community at Cognizant.  We need to use User32 API's to do this stuff. It isn't t...

Winform Tip#1: Transparent Form

less than 1 minute read

The opacity property enables you to specify a level of transparency for the form and its controls. See the .NET documentation for Form.Opacity for difference...

ComboBox Sorting Defect!

less than 1 minute read

Oops! Never expected this behavior from such a standard control: Winforms ComboBox. One of the common things our applications require is bind a data source w...

Exception Message Box in C#

1 minute read

  Its time to forget the old traditional message box with limited functionalities. buttons, icons, text area and what not! Microsoft has unleashed a new mess...

.NET 4.0 Unleashed

2 minute read

Cities can sleep – but Microsoft won’t let people sleep.  They are back with a bang with their new .NET 4.0 and an improved IDE – Visual Studio 2010 that pro...

Strong Naming an existing assembly

less than 1 minute read

Now this is one problem that we face when we use a 3rd party DLL, which is not-strongly named & we still want to dump it to GAC. So, lets see the 5-step ...

VS 2008 : Plugin Pop-up issue

less than 1 minute read

While adding a pop-up to a plugin, designed in VS 2008, one of the commonly faced problem is: Error 1 The best overloaded method match for 'EnvDTE80.Commands...

Bluetooth with C#

less than 1 minute read

Bluetooth Manager has following functionalities: 1. Discovery of devices 2. Finding out MAC address 3. Sending a File through Bluetooth You can search the d...