.NET

How to Create a Text Editor in Visual Basic

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create a text editor in Visual Basic. Steps of Creation: Step 1: First we need a form. Mine will consist of; - Richtextbox1 - Contain text contents - Button1 - Load File - Button2 - Save File - Button3 - Save File As New Name Step 2: Now lets import System.IO so we can read and write files. We also want to create a path String variable to contain our opened

How to Create a Syntax Checker in Visual Basic

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create a simple tool to check the amount of opening and closing braces in your script syntax. Steps of Creation: Step 1: First we want to create a form with: - Button1 - To begin the checking process - RichTextBox1 - To contain the source code Step 2: Next we want to go to the button1 click event and create two new integers, one to count the amount of

How to Create a Clock in Visual Basic

Submitted by Yorkiebar on
Introduction: Welcome to a tutorial on how to create a clock in Visual Basic. Steps of Creation: Step 1: I will just be loading the current time in to a simple, plain label. You can customize yours or set it as a filewriter etc. So first we want to set checking for illegal crossThread calls to false on the form load. This is because we will be using a new thread to run the loop of updating the

How to Create a Question and Answer (QA) Revision Program in Visual Basic

Submitted by Yorkiebar on
Introduction: Welcome to a tutorial on how to create a revision tool in Visual Basic. It will load a list of Questions and Answers (separated by a ":") and test you on the questions. Steps of Creation: Step 1: First we want to do a couple of things: Create a form with... Label4 - Current Question Button1 - Load QA List Button2 - Start Questions Button3 - Check Answer Textbox1 - Enter Answer Create

How to Create a File Downloader in Visual Basic

Submitted by Yorkiebar on
Introduction: Hello and welcome to a tutorial on how to make a single file downloader in Visual Basic. A word of advise; once you understand how this program works I would recommend adding the function to a new thread so the UI doesn't freeze while it is downloading. Steps of Creation: Step 1: First we want to get a direct download link to a file, you can get this by downloading a file then going

How to Create a Slot Machine Game [Visual Basic]

Submitted by Yorkiebar on
Introduction: Welcome to a tutorial on how to create a Slot Machine type game in Visual Basic. Steps of Creation: Step 1: First we need a form. I have mine set out as the following... Textbox5 = Current Money Textbox4 = Current Bid Textbox1 = Slot 1 Textbox2 = Slot 2 Textbox3 = Slot 3 Label4 = Status Button1 = Spin Step 2: The first bit of code we want is to create our myMoney and myBid Integers

How to Create a Local Polling System

Submitted by Yorkiebar on
Introduction: Welcome to my tutorial on how to create a local polling system in a Visual Basic Application using its Project Settings. Steps of Creation: Step 1: First we need to set our project settings. I have put "str1", "str2" and "str3" to contains the polling string options, "option1", "option2" and "option3" to contain the votes for each option and finally "question" to contain the question

How to Create a Ninja Defuse [Minigame] in Visual Basic

Submitted by Yorkiebar on
Introduction: Welcome to a tutorial on a small game to be made in Visual Basic - Ninja Defuse. A game to guess a randomly generated three digit code before the time runs out. Steps of Creation: Step 1: First we need to create our form with... - Textbox1 - First digit of guessed code - Textbox2 - Second - Textbox3 - Third - Label1 - Information of time - Label2 - Time remaining - Button1 - Begin