From the course: Visual Basic Essential Training
Unlock this course with a free trial
Join today to access over 24,500 courses taught by industry experts.
Use the code explorer project - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Use the code explorer project
- [Instructor] I've created a desktop application for demonstrating the Visual Basic code examples. It's called CodeExplorer. All the code examples going forward will be shown with this tool, so it's worth exploring. I've opened this solution called Variables, and I've set this CodeExplorer project to be my startup. The way it works is there's this window, and across the bottom of the app window are one or more controls. In this example, I'm using buttons. There could be different controls, however. At the top of the window is an output area. I can use it to show any messages or text from the code examples. The idea being I click on a button, the demo code runs and the output is shown here. It's kind of like using Console.WriteLine, but desktop applications are better suited for interactive demos. It's a lot easier to click on this button multiple times to repeat an example, instead of restarting a console application over and over again. Let's talk about what's here. Got these three…
Contents
-
-
-
-
-
-
-
-
(Locked)
Work with variables and constants8m 17s
-
(Locked)
Use the code explorer project3m 26s
-
(Locked)
Declare a variable5m 35s
-
(Locked)
Variables and .NET types3m 36s
-
(Locked)
Naming your variables2m 19s
-
(Locked)
Understand the variable scope: What code can access the variable4m 19s
-
How data conversion works7m 49s
-
(Locked)
Convert numeric values5m 35s
-
(Locked)
Create custom constants1m 29s
-
(Locked)
Work with built-in constants3m 36s
-
(Locked)
Work with enum values3m 45s
-
(Locked)
Create a custom enum1m 35s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-