Retrieving the COM class factory for component failed due to the following error: 800702e4.

Posted by Anuraj on Thursday, May 2, 2013

.Net .Net 4.0 Office Interoperability Visual Studio Windows Forms

While working on some outlook C# application I got a COM exception like this.

Assembly Binding Redirection in .Net

Posted by Anuraj on Thursday, May 2, 2013

.Net .Net 4.0 ASP.Net Windows Forms

Today I come across an application crash due to version mismatch. The application executable was compiled using version 1.0.x.x, and we were using 6.2.x.x. Due to this version mismatch application was crashing.

How to apply border color for TableLayoutPanel

Posted by Anuraj on Thursday, May 2, 2013

.Net .Net 4.0 Windows Forms

The TableLayoutPanel control arranges its contents in a grid. TableLayoutPanel doesn’t have border color property, but you can write custom code in CellPaint event to create border. Here is the code snippet which will help you to create border and apply color for TableLayoutPanel

How to send email messages with embedded images

Posted by Anuraj on Wednesday, May 1, 2013

.Net ASP.Net CodeProject Windows Forms

While creating email messages with HTML content, normally the images are displayed with IMG tag, where the SRC attribute pointing to an image, which is hosted in the web server. Most email clients will not display the images, which is downloading from the web. Instead of pointing to web URL, you can embed image in the mail message with the help of LinkedResource and AlternateView classes.

How to install NuGet packages directly

Posted by Anuraj on Tuesday, April 23, 2013

.Net CodeProject Miscellaneous Visual Studio

If you are developing applications using VS 2010 Express editions, you will miss the Package Manager console, which helps us to install libraries or packages via NuGet. The Nuget package manager console is not integrated to VS 2010 Express editions.(Visual Web Developer Express is an exception, it has a package manager console integration). To overcome this issue I found some workarounds like create project in VS C# Express edition, open the same project in VS Web Developer Express and install package(s) using NuGet. But I don’t feel that is a good solution to the problem. Later I found a nice solution using NuGet command line option. You can download the NuGet.exe from codeplex.

K-MUG - Global Azure Bootcamp – 27 April 2013 - Infopark - Kochi

Posted by Anuraj on Friday, April 19, 2013

Miscellaneous User Group Activities

The Kerala Microsoft Users Group (K-MUG) will be organizing a Global Azure Boot camp on 27th April 2013 at Info park Campus in Kochi.

How to get all controls from a form at runtime in C#

Posted by Anuraj on Tuesday, March 26, 2013

.Net .Net 3.0 / 3.5 Miscellaneous Windows Forms

Here is a code snippet which helps you to enumerate all the controls in a form. This snippet can be used for any control, to find the child controls.
Subscribe


Copyright © 2017 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub