Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
Ebook141 pages1 hour

Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners

Rating: 3.5 out of 5 stars

3.5/5

()

Read preview

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!

LanguageEnglish
Release dateMay 17, 2016
ISBN9781310571305
Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners
Author

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

Related to Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners

Related ebooks

Programming For You

View More

Related articles

Reviews for Visual Basic Programming:How To Develop Information System Using Visual Basic 2010, A Step By Step Guide For Beginners

Rating: 3.5 out of 5 stars
3.5/5

2 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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 As

    Type Declaration

    Dim | Public

    Suffixes

    % -Integer. $ - String, @ - Decimal, & - Long, # - Double, ! - Single

    Arrays

    Dim () As

    Dim ( To ) As

    Initialize Array

    Dim () As = {, , ... , }

    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() <6 available overloads>

    .Contains()

    .Join(,,[])

    .Compare(,,[]) <7 overloads available>

    .Copy()

    If Else

    If() Then

    Else

    End If

    Inline If

    variable = IIf( condition, value_if_false, value_if_true )

    For Loop

    For (Relational Operator)

    Next

    For Each Loop

    For Each In

    [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

    ([Parameters])

    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

    Enjoying the preview?
    Page 1 of 1