random

Random Number Generator in C#

Submitted by donbermoy on
Some of the systems and applications today are using a Random Number Generator to generate random id number which will be used for their id in the database or let's just say an application by guessing a number. So in this tutorial, I will teach you how to create a program that generates a random number using C#. So, now let's start making this program! 1.

Creating a Slot Machine Game in C#

Submitted by donbermoy on
Today in C#, i will teach you how to create a program called Slot Machine Game. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only one Button named Button1 and labeled it as "SPIN". Insert three PictureBox named PictureBox1,PictureBox2, and PictureBox3. Add also a timer named Timer1.

Password Generator in VB.NET

Submitted by donbermoy on
In this article, we will create a program that can generate a random password when we pressed the button. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only one Button named Button1 and labeled it as "Generate Password".

How to Create a Random ID Generator in Visual Basic

Submitted by Yorkiebar on
Introduction: Welcome to a tutorial on how to create a Random ID generator. Steps of Creation: Step 1: First lets import System.Net and System.Text so we can use the internet and a function get a string between two points within a given string. Let's import those now and create our getbetween function... Imports System.Net Imports System.Text.RegularExpressions Private Function GetBetween(ByVal

How to Create a Random Line Selector in Visual Basic

Submitted by Yorkiebar on
Introduction: Welcome to my tutorial on how to create a random line selector from a word document. Steps of Creation: Step 1: First we want to create a form with... Textbox1 - File Path Textbox2 - Chosen line Button1 - Browser for file path Button2 - Get random line Step 2: Now lets do the button1 function - selecting a file path... Private Sub Button1_Click(sender As Object, e As EventArgs)