VB.NET Slot Machine

Creating a Slot Machine Program in VB.NET

Submitted by donbermoy on

This is my another tutorial in VB.NET. In this tutorial we add three picture boxes, a timer, a button and a label. Set the timer interval to 10, which means the images will refresh every 0.01 second. In the code, we shall introduce four variables m,a, b and c, where m is used to stop the timer and a,b,c are used to generate random images using the syntax Int(1 + Rnd() * 3).

Getting Started

First thing you need to do is Download and Install Microsoft Visual Studio.