Reading this book will allow you to:
i) Understand the basic concepts of Visual
Basic 2017 programming
ii) Create your own Visual Basic 2017 applications
iii) Get inspiration from a variety of
interesting sample programs
iv) Modify the code samples easily to suit your
v) Learn how to package and distribute
About the Author
Dr. Liew Voon Kiong holds a bachelor’s degree in Mathematics, a master’s degree in Management and a doctorate in Business Administration. He has been involved in Visual Basic programming for more than 20 years. He created the popular online Visual Basic Tutorial at www.vbtutor.net, which has attracted millions of visitors since 1996. It has consistently been one of the highest ranked Visual Basic websites.
To provide more support for Visual Basic students, teachers, and hobbyists, Dr. Liew has written this book to complement the free Visual Basic 2017 tutorial with much more content. He is also the author of the Visual Basic Made Easy series, which includes Visual Basic 6 Made Easy, Visual Basic 2008 Made Easy, Visual Basic 2010 Made Easy, Visual Basic 2013 Made Easy and Excel VBA Made Easy. Dr. Liew’s books have been used in high school and university computer science courses all over the world.
In just 24 sessions of one hour or less, you’ll learn how to build complete, reliable, and modern Windows applications with Microsoft® Visual Basic® 2015. Using a straightforward, step-by-step approach, each lesson builds on what you’ve already learned, giving you a strong foundation for success with every aspect of VB 2015 development.
Notes present interesting pieces of information.
Tips offer advice or teach an easier way to do something.
Cautions advise you about potential problems and help you steer clear of disaster.
Learn How To
Master VB 2015 by building a complete feature-rich application Navigate VB 2015 and discover its new shortcuts Work with objects, collections, and events Build attractive, highly-functional user interfaces Make the most of forms, controls, modules, and procedures Efficiently store data and program databases Make decisions in code Use powerful object-oriented techniques Work with graphics and text files Manipulate filesystems and the Registry Add email support Create efficient modules and reusable procedures Interact effectively with users Write code to preview and print documents Debug with VB 2015’s improved breakpoint features Distribute your software
Download all examples and source code presented in this book from informit.com/title/9780672337451 as they become available.
Who Should Read This Book
Those who have little or no programming experience or who might be picking up Visual Basic as a second language.
Description: Changing the startup form's name in a VB WinForms app does not update the "Startup form" #4517
Explanation: In the latest Visual Basic update on GitHub, Microsoft accidentally introduced a significant bug that you should be aware of. In the Visual Basic project properties dialog on one of the tabs (Application), is a drop down box for selecting the "startup object". This can be either a Main method or a System.Windows.Forms instance (or System.Windows.Window for WPF). When you do a rename on a form (say from the code editor in source or from the solution explorer) currently set as the startup form the rename doesn't cascade to the startup object project property cause the project to enter an invalid state where the user must now manually reset this project property from the now nonexistent Form to the new name. This is a huge annoyance.
The fix for the bug (until Microsoft addresses) can be found here:
All programs and code snippets in this book are available as interactive samples in LINQPad. You can edit these samples and instantly see the results without needing to set up projects in Visual Studio. Written by the authors of C# 7.0 in a Nutshell, this pocket reference covers C# 7.0 without skimping on detail, including:All of C#’s fundamentalsFeatures new to C# 7.0, including tuples, pattern matching, and deconstructorsAdvanced topics: operator overloading, type constraints, iterators, nullable types, operator lifting, lambda expressions, and closuresLINQ: sequences, lazy execution, standard query operators, and query expressionsUnsafe code and pointers, custom attributes, preprocessor directives, and XML documentation
All the topics in this book are elaborated in simple manner for easy understanding. Each and every topic in this book is covered with detailed illustrations followed by output.
What you will learn in this book
1) Introduction to Excel VBA-
2) Declaring Variables
3) Working with Ranges
4) If…Else Statements
5) Select Case Statements
6) For Next Statements
7) Do Loops
8) Operators in VBA
9) Understanding the VB Editor
10) Function Procedures
11) MsgBox and InputBox Functions
12) String Functions
13) Information Functions
14) Working with Internet Explorer
Long-time Visual Basic MVP Alessandro Del Sole walks you through the latest version of the language, helping you thoroughly master its most valuable features, most powerful programming techniques, and most effective development patterns. Next, he shows how to use Visual Basic 2015 to build robust, effective software in a wide range of environments.
Extensively updated for Visual Basic 2015’s major improvements, this guide covers both Visual Basic 2015 Professional Edition for professional developers and the free Community Edition for hobbyists, novices, and students. Del Sole has added detailed coverage of building new universal Windows apps for Windows 10 and using new Visual Studio 2015 capabilities to supercharge your productivity as a developer. If you want to leverage all of VB 2015’s power, this is the book you need.
Detailed information on how to...
Understand the Visual Studio 2015 IDE, .NET Framework 4.6 and the new .NET Core 5, and the anatomy of a VB 2015 application Debug VB applications and implement error handling and exceptions Keep your code clean and well-organized with VB 2015’s new refactoring tools Master modern VB object development: namespaces, modules, structures, enums, inheritance, interfaces, generics, delegates, events, collections, iterators, and more Share Visual Basic code with Portable Class Libraries and Shared Projects Access data with LINQ and ADO.NET Entity Framework Manipulate XML documents with LINQ and XML Literals Build and deploy applications to run in the Microsoft Azure cloud Develop universal Windows apps that run on any Windows 10 device Use advanced .NET 4.6 platform capabilities, including async and parallel programming, multithreading, assemblies, reflection, and coding attributes Leverage new compiler APIs to write custom domain-specific live code analysis rules Test code with unit tests and TDD Deploy apps efficiently with InstallShield for Visual Studio and ClickOnce