I love the String object's Format method. It's an unusual application where I'm not using it to build messages. (Long ago and far away, I used to use it to assemble SQL statements.) Typical code looks ...
Reading and writing text files is an essential task in any programming language. Follow this step-by-step approach to working with text files in VB .NET using the System.IO namespace. Years ago, when ...
In Visual Basic I'd write this: If stringVariable IsNot Nothing then Dim x as Integer x = stringVariable.Length End If I test the string for null/nothing because if I try to get the Length of a ...
Since their introduction in 2002, Microsoft’s pair of .NET programming languages, C# and Visual Basic.NET, have been close siblings. Although they look very different—one uses C-style braces, brackets ...