Home Page Icon
Home Page
Table of Contents for
Cover Page
Close
Cover Page
by Alessandro Del Sole
Visual Basic 2015 Unleashed
About This eBook
Title Page
Copyright Page
Contents at a Glance
Table of Contents
Foreword
About the Author
Dedication
Acknowledgments
We Want to Hear from You!
Reader Services
Introduction
Code Samples and Software Requirements
Code-Continuation Arrows
Part I: Learning the Basics of VB
Chapter 1. Introducing .NET 2015
.NET 2015: A New Vision for Development
The .NET Framework 4.6 for Desktop
Where Is the .NET Framework?
The Architecture of the .NET Framework 4.6
Differences Between .NET 4.6 and 4.5
The Common Language Runtime
The Base Class Library
Introducing .NET Core 5
What Is Open Source Today?
Programming Languages in Visual Studio 2015
What’s New with Compilers
The .NET Compiler Platform
The .NET Native Technology
The Windows Software Development Kit
Summary
Chapter 2. The Visual Studio 2015 IDE for Visual Basic
What’s New in Visual Studio 2015
Status Bar and Start Page
The News Section
The Discover What’s New Section
The What’s New on Microsoft Platforms Section
The Featured Videos Section
Working with Projects and Solutions
Creating Visual Basic Projects
Multi-targeting
Accessing Recent and Online Templates
Searching for Installed Templates
Finding Code Samples on the Internet
Creating Reusable Projects and Items Templates
Creating Your First Visual Basic 2015 Project
Finding Visual Basic Projects
Working with the Code Editor
Working with Tool Windows
The Solution Explorer Window
The Error List Window
The Properties Window
The Output Window
The My Project Window
Specifying Application Settings in the Application Tab
Compiling Projects
Debug and Release Configurations
Other Compile Options
Advanced Compile Options
Debugging Overview
Debugging an Application
Breakpoints and Data Tips
Runtime Errors
Edit and Continue
Browsing the Visual Basic and .NET Documentation
Online Help and the MSDN Library
Object Browser Window
Inspecting Built-in Types
Quick Launch Tool
Showing the Hierarchy of Method Calls
Summary
Chapter 3. The Anatomy of a Visual Basic Project
Brief Overview of Types and Members
Comments
Classes
Properties
Methods
Modules
Structures
Inheritance
Namespaces
Accessing Members
Imports Directives
Region Directives
Attributes
Implicit Line Continuation
Visual Basic 2015 Reserved Keywords
Understanding Project Files
Dissecting My Project
Application.myapp
AssemblyInfo.vb
Resources and the Resources.resx File
Application Settings
Understanding References
Adding References to COM Libraries
Deploy Without PIAs
Final Considerations
Summary
Chapter 4. Data Types and Expressions
Introducing the Common Type System
Everything Is an Object
Introducing Value Types and Reference Types
System.Object and System.ValueType
Understanding Value Types
.NET Framework Primitive Value Types
Using Value Types
Working with BigInteger
Building Custom Value Types
Understanding Reference Types
.NET Framework Primitive Reference Types
Differences Between Value Types and Reference Types
Memory Allocation
Object-Oriented Differences
Performance Differences
What Custom Type Should I Choose?
Converting Between Value Types and Reference Types
Understanding Implicit Conversions
Boxing and Unboxing
Deep Copy and Shallow Copy
The GetType Keyword
Understanding Conversion Operators
Widening and Narrowing Conversions
Working with .NET Fundamental Types
Working with Strings
Working with Dates
Working with Time
Working with TimeZone and TimeZoneInfo
Working with GUIDs
Common Operators
Arithmetic Operators
Assignment Operators
Logical, Bitwise, and Shift Operators
The Ternary If Operator
Concatenation Operators
Comparison Operators
The Null-Conditional Operator: A First Look
Iterations, Loops, and Conditional Code Blocks
Loops
Conditional Code Blocks
Constants
With..End With Statements
Summary
Chapter 5. Debugging Visual Basic 2015 Applications
Preparing an Example
Debugging Instrumentation
Mixed Mode Debugging
“Just My Code” Debugging
Working with Breakpoints, Conditions and Actions
PerfTips: Investigating Code Performance
Locals Window
Command Window
Call Stack Window
Watch Windows
Threads Window
Autos Window
Inspecting Object Details with Debugger Visualizers
Debugging in Code
The Debug Class
The Trace Class
Understanding Trace Listeners
Using Debug Attributes in Your Code
Summary
Chapter 6. Errors, Exceptions, and Code Refactoring
Introducing Exceptions
Handling Exceptions
Tips for Visual Basic 6 Migration
System.Exception, Naming Conventions, and Specialization
Handling Exceptions with Try..Catch..Finally Blocks
The Throw Keyword
Catching Exceptions Without a Variable
Handling Warnings
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
About This eBook
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset