Programming in Visual Basic (VB): For Visual Studio
()
About this ebook
The book may not contain everything you should know about programming in VB, but it does point the finger at the key points to create some programs which are explained in detail in the various chapters. The content is divided into two parts one which explains programming in general and the second which explains programming in VB with concrete examples of programs.
To see the programs inserted in this document in Excel VBA, I refer you to my other eBook "PROGRAMMING IN VBA".
Read more from Olga Maria Stefania Cucaro
Programming in Pascal: From simple Pascal programs to current desktop applications with Database DEV-PASCAL, LAZARUS AND PASCAL N-IDE Rating: 0 out of 5 stars0 ratingsHTML, CSS, Bootstrap, Php, Javascript and MySql: All you need to know to create a dynamic site Rating: 4 out of 5 stars4/5Pivot Tables for everyone. From simple tables to Power-Pivot: Useful guide for creating Pivot Tables in Excel Rating: 0 out of 5 stars0 ratingsUnexpected Death: Surveys of Amoroso Commissioner Rating: 0 out of 5 stars0 ratingsGaia the Princess and the Magic Bracelet Rating: 0 out of 5 stars0 ratings
Related to Programming in Visual Basic (VB)
Related ebooks
Mastering VB.NET: A Comprehensive Guide to Visual Basic .NET Programming Rating: 0 out of 5 stars0 ratingsFrom VBA to VSTO: Is Excel's New Engine Right for You? Rating: 0 out of 5 stars0 ratingsThe Ultimate Guide To Microsoft Excel Vba For Beginners And Seniors Rating: 0 out of 5 stars0 ratingsSave Your Time with VBA!: 5 Quality VBA Books In One Package! Rating: 0 out of 5 stars0 ratingsVisual Basic 2012 Programmer's Reference Rating: 4 out of 5 stars4/5How to Learn Microsoft Access VBA Programming Quickly! Rating: 0 out of 5 stars0 ratingsVisual Basic for the Approved Workman Rating: 0 out of 5 stars0 ratingsBasic Language Rating: 0 out of 5 stars0 ratingsASP.NET and VB.NET in 30 Days: Acquire a Solid Foundation in the Fundamentals of Windows and Web Application Development Rating: 0 out of 5 stars0 ratingsExcel Macros - A Step-by-Step Illustrated Guide to Learn Excel Macros Rating: 0 out of 5 stars0 ratingsThe Ultimate Excel VBA Master: A Complete, Step-by-Step Guide to Becoming Excel VBA Master from Scratch Rating: 0 out of 5 stars0 ratingsExcel VBA: A Beginners' Guide Rating: 4 out of 5 stars4/5Schaum's Outline of Visual Basic Rating: 5 out of 5 stars5/5VBA for Excel: Programming VBA Macros - The Easy Introduction for Beginners and Non-Programmers Rating: 3 out of 5 stars3/5Mastering VBA for Microsoft Office 365 Rating: 5 out of 5 stars5/5Excel 2019 Power Programming with VBA Rating: 5 out of 5 stars5/5Access 2007 VBA Programming For Dummies Rating: 0 out of 5 stars0 ratingsVb Net Programming Rating: 0 out of 5 stars0 ratingsC# Programming Fundamentals Rating: 0 out of 5 stars0 ratings(Part 1) You Must Learn VBScript for QTP/UFT: Don't Ignore The Language For Functional Automation Testing Rating: 5 out of 5 stars5/5Excel VBA Recipes Rating: 4 out of 5 stars4/5Learn VBScript in 24 Hours Rating: 0 out of 5 stars0 ratingsExcel VBA: A Step-By-Step Tutorial For Beginners To Learn Excel VBA Programming From Scratch: 1 Rating: 4 out of 5 stars4/5Visual Basic .NET for complete beginners Rating: 5 out of 5 stars5/5Microsoft Access 2003 Rating: 5 out of 5 stars5/5Visual Basic 6.0 Programming By Examples Rating: 5 out of 5 stars5/5Learn Batch File Programming! Rating: 1 out of 5 stars1/5
Programming For You
Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsPython: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Beginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python for Data Science For Dummies Rating: 0 out of 5 stars0 ratingsMicrosoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsJavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5PYTHON PROGRAMMING Rating: 4 out of 5 stars4/5Teach Yourself C++ Rating: 4 out of 5 stars4/5Learn NodeJS in 1 Day: Complete Node JS Guide with Examples Rating: 3 out of 5 stars3/5Beginning Programming with Python For Dummies Rating: 3 out of 5 stars3/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5
Reviews for Programming in Visual Basic (VB)
0 ratings0 reviews
Book preview
Programming in Visual Basic (VB) - Olga Maria Stefania Cucaro
Introduction
This work was born from the necessity found by the author to solve various problems repeated over time, concerning the data inserted in Excel sheets in the shortest possible time. The author, being a programmer and expert in Pascal, Cobol and Javascript, searched for the most suitable solution and found it in the Excel VBA and in the Visual Studio VB. This document is intended to introduce users to programming in general and to programming in Visual Basic in particular. The VB is simple and can be used on existing csv files or data entered directly into Visual Studio, quickly processing a large amount of data. For the moment the only tool we need is Visual Studio and the csv files. Of course, I can't go into the intricacies of the databases that I will definitely include in a future book.
The book may not contain everything you should know about programming in VB, but it does point the finger at the key points to create some programs which are explained in detail in the various chapters. The content is divided into two parts one which explains programming in general and the second which explains programming in VB with concrete examples of programs.
To see the programs inserted in this document in Excel VBA, I refer you to my other eBook PROGRAMMING IN VBA
.
Summary
Introduction 1
Summary 2
PART I.: The basics of programming 4
Chapter 1: Understanding and solving problems 5
Understanding a problem and breaking it down into simple operations 5
Identify variables and constants 6
What does pseudo-code mean 6
Chapter 2: The logic of programming 7
The variables 7
The conditions 8
The cycles 9
Transform a sequence of operations into instructions 10
The flow chart 11
13
PART II: Programming in VB 15
Chapter 3: The VB 16
What is VB and how to use it 16
How to access VB 16
Chapter 4: Program in VB 21
The variables in VB 21
Chapter 5: Examples of programming in VB 23
The sum of two numbers 23
The sum of n numbers 26
The average of n numbers 29
Count values 34
Sum of the values in a given range 38
Sum of values that meet certain conditions 44
Chapter 6: Use of multiple sheets to solve complex work problems 51
COUNT CONTACTS 51
REMUNERATION CALCULATION 64
Chapter 7: How to use databases 87
Example of DIRECTORY with a table created in Access 87
Chapter 8: Using some APIs already present in Windows 112
Memory management 112
Chapter 9: Publish the application 117
123
Epilogue / Conclusion 124
PART I.: The basics of programming
Chapter 1: Understanding and solving problems
Understanding a problem and breaking it down into simple operations
The first step before programming is to understand the problem to be solved with the program we are going to create.
Just like in math, it is best to think carefully before starting to solve the problem. For example, let's assume we work in a Call Center and have all the