Skip to Main Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced content levelIntermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

Fixing Errors and Code Issues

The light bulb and quick actions can help you fix errors and code issues very quickly, without needing to leave the active code editor window. To understand more about this feature, consider the following line of code, which attempts to declare an object of type Perso that obviously does not exist:

Dim p As New Perso

The compiler detects that the Perso object does not exist, and so it shows a red error squiggle. At this point, hover over the Perso object with your mouse, and when the light bulb appears, click the arrow to expand the available quick actions or click Show Potential Fixes. As you can see in Figure 6.7, Visual Basic shows a number of possible solutions. For each solution, it also shows a preview where ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book