Looping is a powerful technique that enables you to write tighter code. Tighter code is smaller, more efficient, and usually—but not always—more readable. As a developer, you will often encounter ...
A friend was recently reviewing some Visual Basic code that I was having an issue with. As we looked at one particular section of code, he said "You could really tighten up this code with a couple ...
Version 14 of nearly 24-year-old language features enhancements for catching errors, but it's unlikely to draw new developers Visual Basic, originally released by Microsoft in early 1991, may seem a ...
The Visual Basic "Button" class lets you create a control on your VB projects that perform an action such as auto-save. VB also includes file classes that help you create functions to save files. An ...
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 ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
Microsoft Excel offers two ways to link sheets in a workbook: hyperlinks and macros. Hyperlinks use the program's ribbon controls, while macros use Visual Basic code. With both methods, users click a ...
For years, the lingua franca for desktop computers was the Beginner’s All-purpose Symbolic Instruction Code, a.k.a. Basic. Essentially every PC had it, and just about anyone could learn to program ...
Choosing between Visual Studio Code and Visual Studio may depend as much on your work style as on the language support and features you need. Here’s how to decide. For decades, when I got to work in ...