Tuesday, 10 December 2013

To Convert a string to Title case ie. Pascal case in  VB.Net


First you have to import system.globalization assembly which will contain CultureInfo class


 Dim currentCulture As CultureInfo = System.Threading.Thread.CurrentThread.CurrentCulture
                Dim itemInTitleCase As String
                itemInTitleCase = currentCulture.TextInfo.ToTitleCase(itemValue.ToLower())

Thursday, 28 November 2013

Today's learning:

If any folder or file that is there in tfs but not there while publishing it from visual studio,then check the properties of that file and set the Build Action property to "Content". :)

If the task bar becomes invisible then press ctrl+shift+Esc to get the task manager and then in the applications tab,Add a new task called explorer.exe and click ok. :)