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.
How the editor enhances our code - Visual Basic Tutorial
From the course: Visual Basic Essential Training
How the editor enhances our code
- [Instructor] Our new project has this simple Hello World example, but we'll need a more interesting example. I'll add some simple code to the sub main so we can see the power of this visual basic editor in Visual Studio. And before I write the code, let's talk about some of the help I'm getting from the editor, starting with the colors. These colors represents different things in my code. So the dark blue for the word module and sub and so on. Those are visual basic keywords. They mean something to the visual basic language. So module, sub, as string, those are all part of the VB programming language. The light blue color represents what's called the type in.net. Now in VB, we can have modules, we can have classes, and we can have structs. Talk more about that later in this chapter. So this represents a type that I'm creating. It's a module type, and this represents a type that's coming from .NET. It's in this light blue color. And then on a type, you can also have members, these…
Contents
-
-
-
-
-
(Locked)
Optimize the Visual Studio settings1m 55s
-
(Locked)
Create a console project in Visual Studio4m 2s
-
(Locked)
Projects and solutions2m 5s
-
(Locked)
Examine the template structure and code1m 45s
-
(Locked)
How the editor enhances our code3m
-
Use the auto suggestions when editing5m 21s
-
(Locked)
Compile the project code2m 9s
-
(Locked)
Run the example code from Visual Studio2m 28s
-
(Locked)
Run the example code with a debugger2m 23s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-