Posts

Showing posts from November, 2011

Mix different .Net Framework on Windows 2003 Server

Image
This tutorial is for setting up websites based on .Net Framework 2.0 and 4.0 on windows 2003 server. Very first thing we should keep in mind that IIS 6.0 application pools do not allow mixed .Net Framework. Here I am showing pictures for making new application pool in IIS 6.0 and IIS 7.0  IIS 6.0 New application pool dialogue  IIS 7.0 New application pool dialogue As you can see in IIS 6.0 we do not have option for selecting .Net Framework Steps to setting up mixed .Net Framework(2.0/4.0) on Windows 2003 Server Step-1 We will create two different application pool. I named them DotNet2Pool and DotNet4Pool you can give any name as per your choice. Step-2 Now assign application pool as per .Net requirement of your website as shown in figure You can check and set your website .Net Framework requirement as shown in below image. Please make sure do not use .Net Framework 2.0 application pool on ASP.net 4.0 website and vice-versa. Thanks!

Facebook not showing YouTube videos thumbnails

Hi, When I putting YouTube video link on my Facebook page. Video thumbnail doesn’t show up on Facebook. Sometimes it shows sometimes not. During my search & research process I got two workarounds This is a lengthy process but generate thumbnail for my this video Login Facebook and YouTube Select video to share and click share button below video Copy long link, paste in Facebook link Click on attach and post video Facebook will not generate thumbnail, delete post From YouTube this time copy short link Paste in Facebook and post Hopefully it will generate thumbnail (it works for me, but not always) This I got from Google support forum it works for this video Just add &feature=related In last of YouTube link Thanks

Format numbers with Indian style commas.

In our ERP projects we usually need to display commas in numbers. In most of the format we did not get Indian style commas. So I had developed this class. Its main function is Put_Commas it take string as input and return string with commas. Public Class ClsCommas     Public Function Put_Commas( ByVal PassString As String ) As String         Dim IsNegative As Boolean         Dim DecimalPart As String         Dim TLen As Long             'Length of String without "-" and "."         Dim LString As String        'String for Storing Changed String         '-------         'Check Must Be Greater than 999         '---...