freelanceprogrammers.org Forum Index » Visual Basic

HScroll sub errs out on WindChill pgogram.


View user's profile Post To page top
jimpurcell2001 Posted: Sun Apr 10, 2005 3:57 am


Joined: 07 Apr 2005

Posts: 2
HScroll sub errs out on WindChill pgogram.
I`m entering a program in VB 4 from the book Visual Basic Workshop. It
is designed to calculate the Wind Chill Index. The problem seems to be
the HScroll objects. There are two, both horizontal, they will set the
temp and wind speed to be converted. When I type into the form_load
code window: HSCROLL1_Change and another for HSCROLL2. These two
objects are listed in the Form1 code list. But when I run the program
it errs out saying that the sub or function HSCROLL1_Change does not
exist. But there it is in the form code list. I just checked and I
guess the book is for v. 3.0 so maybe there`s something that v 4
doesn`t like. Any ideas?

Jim
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help