Question 1: I am working on Lesson 5, Creating Menus for User Ease. I typed the code in exactly like the book said. However, when I run the program, I get a Compile error message, Variable not defined. What am I doing wrong?
Solution 1: The Response variable needs to be defined. Therefore, put this along with the other variable declarations:
Dim Response As Integer
You could also do this, I believe, without ever using the Response variable:
MsgBox(Msg, Style, Title)
By just putting MsgBox() function call on a line by itself. By using Response, however, you can test the return value of MsgBox() if needed. You'll learn more about return values later in the book.
Question 2: Where is the Happy.bmp file?
Solution 2: The "happy.bmp" file is included on the Microsoft Visual Basic CD-ROM. It is not included on the CD-ROM that came with the book.
Learn Visual Basic from the ground up-in less than one hour a night, guaranteed! For both the new and casual user, this book offers two methods of learning geared toward the different styles people like to learn. A "Ground-up" way of learning allows new users to master the fundamentals of Visual Basic, while the more advanced users can take the "Fast-Track" approach and attempt to build a checkbook balancing application. In an hour a night, you will learn how to: generate an application by using the VB Application Wizard; extend your program with multimedia, graphics, and ActiveX controls; add Internet access to your applications; and improve productivity with object-oriented design.
Smaller download for vbns.zip. Part 1 of 2. Unzip vbns1.zip and vbns2.zip into the same directory. - 2.37mb -- vbns1.zip
Smaller download for vbns.zip. Part 2 of 2. Unzip vbns1.zip and vbns2.zip into the same directory. - 3.32mb -- vbns2.zip
VBScheduler Application - 123 kb -- vbschedFinal.zip