Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
3.5/5
()
About this ebook
Visual basic is a powerful tool in developing windows application. The book "Visual Basic: How to develop information system using Visual Basic 2010, a step by step guide for beginners" is a beginner's guide in building and developing an information system using Visual Basic 2010 with Database connection. This book is an easy to understand visual basic programming guide that uses simple words, short sentences and straightforward paragraphs. It includes visual basic screenshots of step by step procedures from graphical user interface design to coding and execution of Create, Read, Update, and Delete database transactions. After reading this book, the reader would be able to use available controls and objects in Visual Basic 2010, connect Visual Basic 2010 to Mysql database, and execute CRUD transactions. It is assumed however that the reader already has prior knowledge to visual basic or other programming languages. The system to be created is a simple Student Information System.
Get your copy now while it's on SALE at $3.44!
The Topics Covered in this book:
1.0 Chapter 1 - Brief Introduction to Visual Basic 2010
1.1 What is Visual Basic?
1.2 Visual Basic 2010 Quick Reference
1.3 Creating a New Project
1.4 Getting familiar with the VB2010 Express IDE
2.0 Chapter 2 - Creating the Login Form of the System using Visual Basic 2010
2.1 How to change property values during design time using the Properties Window?
2.2 How to add event instruction using the Code Editor Window?
2.3 Coding the Event Procedure for the Ok Button of the Login Form
2.4 How to Compile and Run the Visual Basic 2010 Program?
3.0 Chapter 3 - Using Multiple Document Interface for the System User Interface with Visual Basic 2010
3.1 What is MDI?
3.2 How to add a Drop Down Menu into the MDI?
3.3 Coding the Drop Down Menu
4.0 Chapter 4 - Connecting Visual Basic 2010 to MySql Database
4.1 How to connect VB 2010 to MySql Database?
4.2 Installing Mysql Connector
4.3 What is XAMPP?
4.4 Creating database using XAMPP
4.5 How to create the Database Connection?
4.6 Completing the frmLogin functionality with Visual Basic 2010
5.0 Chapter 5 - How to perform SQL statements in Visual Basic 2010?
5.1 Using Standard Module for Global Declarations
5.2 How to create MDI Child for the MDI Parent with Visual Basic 2010
5.3 How to insert a record into mysql using Visual Basic 2010?
6.0 Chapter 6 - Incorporating the Search, Edit, Delete Buttons into the frmManage
6.1 How to populate Mysql table into DataGridView in Visual Basic 2010?
6.2 How to get the selected row in DataGridView Object?
6.3Coding the Delete Button of the frmManage
6.4 Coding the Edit Button of the frmManage
6.5 Coding the Search Button of the frmManage
7.0 Chapter 7 - Saving an image directly to MySql Database
7.1 How to save an image directly to the database?
7.2 Modifying the btnSave click event procedure to support functionality of profile picture
TO GOD BE THE GLORY!
Sherwyn Allibang
Sherwyn Allibang has 10 years experience in the academe as college professor handling business and IT related subjects. Aside from his career as an academe, he is also a freelance software developer catering system development from project management to core programming. With the degree in Bachelor of Science in Information Technology, Master in Business Administration, Master in Information Technology, and Doctor in Business Administration, Sherwyn is a solutions-focused, team oriented IT Specialist, with broad-based experience and hands-on skill in the successful implementation of highly effective technical support strategies. A proven ability to successfully analyze an organization's critical support requirements, identifies deficiencies and potential opportunities, and develops innovative solutions for increasing reliability and improving productivity.
Read more from Sherwyn Allibang
Methods of Research: Simple, Short, And Straightforward Way Of Learning Methods Of Research Rating: 4 out of 5 stars4/5Assembly Programming:Simple, Short, And Straightforward Way Of Learning Assembly Language Rating: 5 out of 5 stars5/5C++ Programming Language: Simple, Short, and Straightforward Way of Learning C++ Programming Rating: 4 out of 5 stars4/5
Related to Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
Related ebooks
Visual Basic .NET for complete beginners Rating: 5 out of 5 stars5/5Visual Basic 2010 Coding Briefs Data Access Rating: 5 out of 5 stars5/5Excel VBA: A Beginners' Guide Rating: 4 out of 5 stars4/5C# For Beginners: An Introduction to C# Programming with Tutorials and Hands-On Examples Rating: 0 out of 5 stars0 ratingsASP.NET Application Development Fundamentals Rating: 0 out of 5 stars0 ratingsComputer Programming Languages for Beginners Rating: 0 out of 5 stars0 ratingsExcel VBA Recipes Rating: 4 out of 5 stars4/5AutoIT Scripting For Beginners Rating: 5 out of 5 stars5/5PHP MySQL Development of Login Modul: 3 hours Easy Guide Rating: 5 out of 5 stars5/5Four Programming Languages Creating a Complete Website Scraper Application Rating: 0 out of 5 stars0 ratingsJavaScript for the Business Developer Rating: 3 out of 5 stars3/5How To Create An App Rating: 3 out of 5 stars3/5Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers Rating: 0 out of 5 stars0 ratingsC# Programming Fundamentals Rating: 0 out of 5 stars0 ratingsC# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach Rating: 0 out of 5 stars0 ratingsExcel VBA Programming: Automating Excel through Visual Basic for Application 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/5FreeCAD Basics Tutorial Rating: 3 out of 5 stars3/5Excel Programming with VBA Starter Rating: 0 out of 5 stars0 ratingsVBA for Excel: Programming VBA Macros - The Easy Introduction for Beginners and Non-Programmers Rating: 3 out of 5 stars3/5Introduction to Programming Languages Rating: 4 out of 5 stars4/5Visual Basic 6.0 Programming By Examples: 7 Windows Application Examples Rating: 3 out of 5 stars3/5Excel VBA Programming: Automating Excel through Visual Basic for Application Rating: 0 out of 5 stars0 ratingsComputer Programming: Made Simple Rating: 5 out of 5 stars5/5Python: Beginner's Guide to Programming Code with Python: Python Computer Programming, #1 Rating: 0 out of 5 stars0 ratingsExcel 2016: A Comprehensive Beginner’s Guide to Microsoft Excel 2016 Rating: 4 out of 5 stars4/5Introduction to C++ Programming Rating: 3 out of 5 stars3/5The Absolute Beginner's Guide to Binary, Hex, Bits, and Bytes! How to Master Your Computer's Love Language Rating: 5 out of 5 stars5/5
Programming For You
Game Development with Unreal Engine 5: Learn the Basics of Game Development in Unreal Engine 5 (English Edition) Rating: 0 out of 5 stars0 ratingsPython: Learn Python in 24 Hours 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/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5The Unofficial Guide to Open Broadcaster Software: OBS: The World's Most Popular Free Live-Streaming Application Rating: 0 out of 5 stars0 ratingsPython Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps 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/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards Rating: 0 out of 5 stars0 ratingsLearn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsExcel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming Rating: 0 out of 5 stars0 ratingsCoding All-in-One For Dummies Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Beginning Programming with Python For Dummies Rating: 3 out of 5 stars3/5Web Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Learn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5
Reviews for Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
2 ratings0 reviews
Book preview
Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners - Sherwyn Allibang
Acknowledgements
The author wishes to express his heartfelt gratitude to the Almighty God for His grace, wisdom, and guidance and for giving the author the determination to write this book. This book would not have been possible without the support and help of several individuals who in one way or another contributed and extended their valuable assistance in the preparation and completion of this material.
Chapter 1 - Brief introduction to Visual Basic
What is Visual Basic?
Visual Basic is a window based Object-Oriented and Event-Driven Programming language. Object is anything that can be seen, touched, or used. Program written for Windows environment typically use objects such as Check boxes, list boxes, and buttons. Event-driven is what differs visual basic from other object-orient programming languages. Event-driven means that visual basic responds from different events available in windows operating systems which includes mouse click, mouse move, mouse double click, keypress, and many more.
Visual Basic 2010 is available either as stand-alone product called Visual Basic 2010 Express, or as a part of a Visual Studio 2010. Both products include an Integrated Development Environment (IDE), which is an environment that contains all of the tools and features needed to create, run, and test programs.
VB 2010 Quick Reference:
Namespace
Imports Namespace
Data Types
Boolean,Byte,Char,DateTime,Decimal,Double,Int16,Int32,Int64,Integer,
Long, Object, Short, Single, String, IntPtr, UInteger, UintPtr
Variable Declaration
Dim | Public | Private
Type Declaration
Dim | Public
Suffixes
% -Integer. $ - String, @ - Decimal, & - Long, # - Double, ! - Single
Arrays
Dim
Dim
Initialize Array
Dim
Change Size of Array
ReDim
Comments
'Comment text
'No multi-line comments at this time
XML Comments
Press the ' (apostrophe) key thrice.
Line Continuation
strtext = To break a long string across multiple lines,
& _
end the string, add the line continuation character
& _
and continue the string on the next line.
Arithmetic Operators
+ (Addition), - (Subtraction), * (Multiplication), / (Division), % (Modulus)
String Concatenation
+, &
Relational Operators
< (Less Than), <= (Less Than or Equal To),> (Greater Than),>=
(Greater Than or Equal To),= (Equal To),<> (Not Equal To)
Logical Operators
OR, NOT, AND, AndAlso, OrElse, Xor
String Manipulation
.Substring(
.Trim()
.TrimEnd([
.TrimStart([char array])
.ToLower()
.ToUpper()
.Replace(
.Equals(
.Contains(
.Join(
.Compare(
.Copy(
If Else
If(
Else
End If
Inline If
variable = IIf( condition, value_if_false, value_if_true )
For Loop
For
Next
For Each Loop
For Each
[Exit For]
[Continue For]
Next
While Loop
While
End While
Do-While Loop
Do
Loop While
Select Case Statement
Select Case
Case
Case
Case
Case Else
End Select
Function Structure
body of the function
End Function
Class Structure
Public Class
body of class
End Class
Error Handling
Try
Catch
Finally
End Try
The VB2010 quick reference serves as guide throughout the book. It displays the syntax and format of visual basic coding needed in building an information system.
Creating a new project
Figure 1A
To create a new project, click on the New Project
menu as presented in figure 1A.
Figure 1B
Select Windows Forms Application as presented in figure 1B. Under the name, use StudentInformationSytem
, this will be the name of the project. As indicated, the project that will be created is a