How to Retrieve a Portion of a string using SUBSTRING method?

In this post I will show you how to retrieve portion of a string using String.Substring method. To retrieve portion of a string, String.Substring method requires two integer parameter a startindex and a length. Startindex specifies from which position we need retrieve the required portion of the string. and length of the string we needed. [...]

By admin on Jun.18.11 | Continue Reading

Remove HTML Tags using Regular Expression VB.NET

In some scenarios we might need to remove html tags especially when you have CMS which inserts html tags along with description and you want to use part of this description in Meta Tag. Well its not advisable to have html in meta tags so we need to remove the html tags from the description [...]

By admin on May.28.11 | Continue Reading

Send Email using ASP.NET and VB.NET with Authentication.

In this post I am going to show you how to send an email with authentication using asp.net and VB.net. To send an email we will be using System.net.mail namespace. You can learn more about this name space here. Before you start coding keep the following information in hand. SMTP SEVER (something like smtp.domain.com) SMPT [...]

By admin on May.15.11 | Continue Reading

Difference between web application and website Projects in Visual Studio

Most of the programmers especially freshers will get confused with web application and website projects in visual studio. I am taking this opportunity to differentiate web application and website projects. Below are the main differences between web application and website projects in visual studio. Project file structure In web application projects a project file such [...]

By admin on May.14.11 | Continue Reading