Fix: Program does not contain a static ‘Main’ method suitable for an entry point
This does not require a detailed post and just requires a quick solution for the problem- Understanding the problem... Why? When? When you convert a Winform ...
This does not require a detailed post and just requires a quick solution for the problem- Understanding the problem... Why? When? When you convert a Winform ...
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...
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...
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 ...
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...
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...
Choose a textbox over which we will test this experiment: [sourcecode language='csharp'] ColorDialog colorDialog1 = new ColorDialog(); //fontDialog1.ShowColo...
Check out: http://support.microsoft.com/support/kb/articles/q326/2/01.asp It is indeed a good 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...
DataGridView is an enhanced version of DataGrid. Some of the features lacking in DataGrid are: Multiple column types Multiple ways to display data Multiple...
Use the form's WindowState property. To minimize: this.WindowState = System.Windows.Forms.FormWindowState.Minimized; To maximize: this.WindowState = S...
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...
Use Singleton pattern on Child Form and change the method of invocation in Parent form. Child form: //Used for singleton pattern static frmChildForm childFor...
An easier way to control properties of multiple controls is to place all the controls into a single GroupBox and then use the GroupBox properties property to...
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...
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...
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...
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...
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...
Wow! Compatibility between SCSF and EL 4 has troubled me many a times in some of my critical projects. Visual Studio 2008 does not allow installation of EL ...
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 ...
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 Manager has following functionalities: 1. Discovery of devices 2. Finding out MAC address 3. Sending a File through Bluetooth You can search the d...