Launching of Visual Basic 2019 Tutorial

Microsoft has released Visual Studio 2019 preview recently. VS 2019 allows you to code in different programming languages and different platforms, Visual Basic 2019 is one of them. The other Programming languages are C#  C++, F#, JavaScript, Java and Python.

Visual Studio 2019 Preview can be downloaded from the link below. You need to have a Microsoft account to download the package.

Inline with the release of Visual Studio 2019, we have also released our tutorial on the latest VB.Net programming language, Visual Basic 2019 Tutorial for the benefits of our loyal students and followers.

Getting into the Visual Basic 2019 IDE is quite differently from Visual Basic 2017. But not to worry, our tutor has included the detail steps in launching Visual Basic 2019 in the follow lesson:

https://www.vbtutor.net/vb2019/vb2019_lesson1.html

You will learn about how to design the UI in lesson 2 and lesson3.

For coding, you can check out lesson 4.

Start following this newest tutorial by checking into VB2019 Tutorial homepage.

Happy Learning!

Adding Items in a ListBox

In Visual Basic.Net, items can also be added at runtime using the Add( ) method. We can apply this method in Visual Basic 2017, Visual Basic 2015, Visual Basic 2013, Visual Basic 2012, Visual Basic 2010 as well as Visual Basic 2008.

The syntax of the Add() method is as follows:

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
 ListBox1.Items.Add(text)
End Sub

Example:

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
     ListBox1.Items.Add(“Apple”)
End Sub

The Output is as shown below:

 

Besides that, we can also allow the user to add items via a popup input box.

In the following example, we create a variable myitem and then assign a value to myitem via the InputBox function that store the input from the user. We then use the Add() method to add the user’s item into the listbox. The code is as follows:

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myitem                        'declare the variable myitem 
 myitem = InputBox("Enter your Item")
ListBox1.Items.Add(myitem)
End Sub

For more examples, refer to
http://www.vbtutor.net/vb2017/VB2017_Lesson6.html

Visual Basic 2008 Made Easy Paperback has been released!

Visual Basic 2008 Made Easy is written by Dr. Liew, the webmaster of our popular online Visual Basic Tutorial, vbtutor.net. This book is a comprehensive guide to mastering Visual Basic 2008, from beginner to intermediate programmers.  This book has been written to complement our free online Visual Basic 2008 tutorial with much more content. It is also an excellent reference text for high school or college-level computer science courses.

Reading this book will allow you to:

  1. Understand the basic concepts of Visual Basic 2008 programming
  2. Create your own Visual Basic 2008 applications from scratch
  3. Get inspiration from a variety of interesting sample programs
  4. Modify the code samples easily to suit your needs
  5. Learn how to package and distribute your applications

Check out the book on Amazon.com

Visual Basic 2015 Made Easy has been Released Today!

We have released another Visual Basic Made Easy Series book, Visual Basic 2015 Made Easy.




Price: $28.00

AUTHOR: DR. LIEW VOON KIONG

Visual Basic 2015 Made Easy is written by Dr. Liew, the webmaster of our popular online Visual Basic Tutorial, vbtutor.net. This book is a complete guide to mastering Visual Basic 20157, from beginner to intermediate programmers.  This book has been written to complement our free online Visual Basic 2017 tutorial with much more content. It is also an excellent reference text for high school or college-level computer science courses. 

Reading this book will allow you to:  

  1. Understand the basic concepts of Visual Basic 2015 programming
  2. Create your own Visual Basic 2015 applications from scratch
  3. Get inspiration from a variety of interesting sample programs
  4. Modify the code samples easily to suit your needs
  5. Learn how to package and distribute your applications

Preview the Book

Visual Basic 2013 Made Easy Paperback is released today!

Our New Visual Basic 2013 Made Easy Paperback is released today!

Visual Basic 2013 Made Easy  is now available in the paperback version where you can hold and read!  Our tutor Dr.Liew has revamped the digital book by redesigning the formats to make it more reader-friendly. Besides that, he has added a few more topics like drawing the quadratic curve, drawing the sine curve, deploying your VB2013 applications and more.

This book is a complete guide to mastering Visual Basic 2013, from beginner to intermediate programmers.  This book has been written to complement our free online Visual Basic 2013 tutorial . It is also an excellent reference text for high school or college-level computer science courses.

Reading this book will allow you to:

  1. Understand the basic concepts of Visual Basic 2013 programming
  2. Create your own Visual Basic 2013 applications from scratch
  3. Get inspiration from a variety of interesting sample programs
  4. Modify the code samples easily to suit your needs
  5. Learn how to package and distribute your applications

Check it out on Amazon.com