Introduction to Visual Basic | Mississippi State University (2024)

Introduction to Visual Basic | Mississippi State University (1)

Learn how to write Windows applications and programs using the Visual Basic programming language and the Visual Basic development environment. This course will provide the building blocks of programming in Visual Basic, including using variables to store data, control structures, and loops.

6 Weeks Access / 24 Course Hrs

  • Details
  • Syllabus
  • Requirements
  • Instructor

$129.00

Introduction to Visual Basic | Mississippi State University (2)

Self-Guided

3 Months Access

No Instructor. Course begins when you enroll.

Introduction to Visual Basic | Mississippi State University (3)

Enroll Now

Details

Visual Basic is the most widely used programming language for creating Windows applications. It is easy to learn and does not require you to memorize difficult commands like other programming languages. In this course, you will learn how to write Windows applications and programs using the Visual Basic programming language and the Visual Basic development environment. You will see how Visual Basic development environment enables you to create the application program and its components literally with the click of a button or menu item. It even writes all the necessary code to get the application started for you.

In this course you will learn the building blocks of programming, including using variables to store data, control structures, and loops. You will discover how to use the large function library built into Visual Basic as well as how to write and use your own functions. You will also explore using Windows's large and varied library of controls and how to access files and handle errors. You will learn about event-driven and object-oriented programming, concepts that are important in other programming languages as well.

Syllabus

Lesson 1 - Getting Started Using Visual Basic

What's the best way to learn Visual Basic programming? Well, you have to write programs, of course! And your first step toward writing your first program is to install Visual Studio. So in this opening lesson, you'll learn how to install Visual Studio on your computer. After that, the lesson will walk you through creating your first Windows application program and show you how a Windows application works.

Lesson 2 - Properties

Previously, you were able to create a working Windows application with just a few mouse clicks. In this lesson, you'll find out what Visual Basic did behind the scenes to help you create that application. You'll also learn about properties, which are characteristics of an object—such as its size and color—and how to change those properties.

Lesson 3 - Event Procedures

Windows applications are all about events, such as the event a user causes by clicking a button in the application. In this lesson, you'll first learn about event procedures. Then, you'll get your feet wet in Visual Basic by writing your first code.

Lesson 4 - Controls

So far, the lessons have focused on the form, which is perhaps the most important part of a Windows application's graphical user interface (or GUI). However, a form's primary role is to host other controls that enrich the GUI of Windows applications—menus, toolbars, buttons, text boxes, and list boxes. In this lesson, you'll find out how to add controls to your form and how to write code for these controls.

Lesson 5 - Data Types and Variables

Most computer programs store information, or data. In this lesson, you'll learn all about data types, which represent different varieties of data (such as numeric data or text data). Then, the lesson will go over how to store that information in a variable.

Lesson 6 - Assignment and Arithmetic Operators

Chess players marvel at the ability of computers to play world champion chess players on even terms. But once you understand that computers can calculate far more quickly and accurately than people can, it's easy to see how they're able to outplay the best players. In this lesson, you'll discover how to harness the computer's calculating ability using arithmetic operators.

Lesson 7 - Relational and Logical Operators

As your programs become more sophisticated, they'll often branch in two or more directions based on whether a condition is true or false. For example, a calculator first needs to determine whether the user chose addition, subtraction, multiplication, or division before performing the indicated arithmetic. In this lesson, you'll see how to use comparison and logical operators to determine a user's choice.

Lesson 8 - Control Structures

Once you know the user's choice, you'll want to execute different code based on that choice. In this lesson, you'll learn how to use If and Select Case statements to execute alternative code statements.

Lesson 9 - Loops and Arrays

When you were a child, your parents may have told you not to repeat yourself. But sometimes your code needs to repeat itself. For example, if your application's users enter invalid data, your code may continue to ask whether they want to retry or quit until they either enter valid data or quit. In this lesson, you'll explore how to use loops, which repeat code execution until a condition is no longer true. Then, you'll delve into arrays, which may hold multiple values at one time and work very well with loops.

Lesson 10 - Subroutines and Functions

Many textbooks are several hundred pages long. Imagine how much harder a textbook would be to understand if it consisted of only one very long chapter, rather than being divided into manageable sections. Thankfully, chapters organize books into manageable chunks of information. In this lesson, you'll learn how to similarly divide up your code into separate procedures and then explore two types of procedures—subroutines and functions—that help you organize your code.

Lesson 11 - File Access

When you finish writing something, you probably close your word-processing program and might even shut down your computer. Of course, the next time you don't have to start over; what you wrote before is preserved. However, up until now, your programs haven't saved data so that it's available even after the application exits. This lesson will discuss how to write code that reads from and writes to a text file in order to preserve the data. You'll also learn how to add Open and Save dialog boxes, such as those used in sophisticated programs like Microsoft Word, so that you can open a text file to read from it and save to a text file to write to it.

Lesson 12 - Handling Exceptions

Nobody's perfect, right? Well, your applications won't always run perfectly either. Sometimes they'll stop due to a runtime error, also called an exception. In the final lesson, you'll find out how to prevent and handle exceptions.

Requirements

Prerequisites:

There are no prerequisites to take this course. Prior programming education or experience is not required.


Requirements:

Hardware Requirements:

  • This course is not suitable for Macs unless you're using software such as Boot Camp or Parallels.

Software Requirements:

  • PC: Windows 8 or later.
  • Browser: The latest version of Google Chrome or Mozilla Firefox are preferred. Microsoft Edge is also compatible.
  • Visual Studio 2022 Community Edition (free).
  • Adobe Acrobat Reader.
  • Software must be installed and fully operational before the course begins.

Other:

  • Email capabilities and access to a personal email account.

Instructional Material Requirements:

The instructional materials required for this course are included in enrollment and will be available online.

Instructor

Introduction to Visual Basic | Mississippi State University (6)

Jeffrey A. Kent

Jeffrey A. Kent is a Professor of Computer Science, teaching both traditional and online classes. He has taught a number of computer programming languages, including C, C++, Java, Visual Basic, and Assembly. He is the published author of several computer-programming books, including "Visual Basic 2005 Demystified" and "C++ Demystified." He is also an attorney and has combined both careers by writing applications for law firms.

Related Courses

Intermediate Visual Basic

Course Hours

C++ for the Absolute Beginner (Self-Paced Tutorial)

Course Hours

C# Programming for the Absolute Beginner (Self-Paced Tutorial)

Course Hours

Introduction to SQL

Course Hours

Self-Guided Course Code: T9609

Instructor-Moderated Course Code: vb0

Introduction to Visual Basic | Mississippi State University (2024)
Top Articles
Marketmind: To the moon? Bitcoin ETFs lift off • Cointacted
3-zitsslaapbank Callas
11 beste sites voor Word-labelsjablonen (2024) [GRATIS]
Mate Me If You May Sapir Englard Pdf
The Pope's Exorcist Showtimes Near Cinemark Hollywood Movies 20
Cape Cod | P Town beach
De Leerling Watch Online
More Apt To Complain Crossword
WWE-Heldin Nikki A.S.H. verzückt Fans und Kollegen
Craigslist Apartments In Philly
Rams vs. Lions highlights: Detroit defeats Los Angeles 26-20 in overtime thriller
Who called you from +19192464227 (9192464227): 5 reviews
Forum Phun Extra
Craigslist Appomattox Va
Kayky Fifa 22 Potential
FDA Approves Arcutis’ ZORYVE® (roflumilast) Topical Foam, 0.3% for the Treatment of Seborrheic Dermatitis in Individuals Aged 9 Years and Older - Arcutis Biotherapeutics
Unforeseen Drama: The Tower of Terror’s Mysterious Closure at Walt Disney World
Hyvee Workday
The best firm mattress 2024, approved by sleep experts
Program Logistics and Property Manager - Baghdad, Iraq
Reptile Expo Fayetteville Nc
Aes Salt Lake City Showdown
Horn Rank
Effingham Daily News Police Report
47 Orchid Varieties: Different Types of Orchids (With Pictures)
Solarmovie Ma
Green Bay Crime Reports Police Fire And Rescue
Lichen - 1.17.0 - Gemsbok! Antler Windchimes! Shoji Screens!
Xemu Vs Cxbx
Vanessa West Tripod Jeffrey Dahmer
Laurin Funeral Home | Buried In Work
AI-Powered Free Online Flashcards for Studying | Kahoot!
How to Draw a Sailboat: 7 Steps (with Pictures) - wikiHow
Mcgiftcardmall.con
Skip The Games Grand Rapids Mi
Final Jeopardy July 25 2023
2007 Peterbilt 387 Fuse Box Diagram
Uvalde Topic
Callie Gullickson Eye Patches
Nail Salon Open On Monday Near Me
No Boundaries Pants For Men
Tableaux, mobilier et objets d'art
Gamestop Store Manager Pay
2017 Ford F550 Rear Axle Nut Torque Spec
Rise Meadville Reviews
Crigslist Tucson
Rite Aid | Employee Benefits | Login / Register | Benefits Account Manager
Bf273-11K-Cl
Campaign Blacksmith Bench
Roller Znen ZN50QT-E
Metra Union Pacific West Schedule
Primary Care in Nashville & Southern KY | Tristar Medical Group
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 5715

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.