Home

Read Text From/Write Text To a File

Posted by SteveHardie | On: Nov 13 2009 | Comments (0)
This is a quick and easy way to read a files content into a string, or write a string to a file. Read File Contents: Dim strContent As String Using fs As New IO.StreamReader(fileName) strContent = fs.ReadToEnd End Using Write content to file: Dim strContent...

List of Common Languages

Posted by SteveHardie | On: Oct 01 2009 | Comments (11)
As part of a project I am working on, I need to request a user to specify their primary language. Rather than allow the user to enter this information in a free-text mode, it is preferable to have the user select the language from a dropdown list. Since the definition...