Microsoft Visual Basic 2005 Step by Step (Step by Step (Microsoft))

Lucky Seven: Your First Visual Basic Program

The Windows-based application you're going to construct is Lucky Seven, a game program that simulates a lucky number slot machine. Lucky Seven has a simple user interface and can be created and compiled in just a few minutes using Visual Basic. (If you'd like to run a completed version of Lucky Seven before you start, you can find it in the c:\vb05sbs\chap02\lucky7 folder on your hard disk.) Here's what your program will look like when it's finished:

Категории