Dan Shelby
2003-08-18 03:34:44 UTC
Hi. I wrote a vb program several years ago which includes several picture
box controls. When I try to run the program (from VB) now I get an error
"compile error -- method or data member not found". The code that bombs out
is anixxx.value = 1. Based on the name of the object, ani??? I immediately
assumed that this was an animated object; however, upon closer examination,
I found it to be a picture-box data object. Also, in checking it out, I
found that 'value' is not a valid attribute of a picture box object.
Because of this, I am totally confused. First of all, I have an executable
of this program that runs fine. I must have written this circa 1995 so it
must have been compiled with VB4 or so. My copy of VB4 doesn't include
'value' as an attribute of a picture box object. Please let me know if you
have any ideas on this. I am even wondering if adding the file ani.vbx
would somehow add the 'value' attribute to a picture box object. Also not
sure as to how to add ani.vbx to my system. Help would be appreciated.
Thanks. One other note -- when I try to input the files to VB4 I get an
error message indicating that the file(s) are corrupt. When I input them to
VB6 I get the error which tells me that they must have been written later
than VB4.
box controls. When I try to run the program (from VB) now I get an error
"compile error -- method or data member not found". The code that bombs out
is anixxx.value = 1. Based on the name of the object, ani??? I immediately
assumed that this was an animated object; however, upon closer examination,
I found it to be a picture-box data object. Also, in checking it out, I
found that 'value' is not a valid attribute of a picture box object.
Because of this, I am totally confused. First of all, I have an executable
of this program that runs fine. I must have written this circa 1995 so it
must have been compiled with VB4 or so. My copy of VB4 doesn't include
'value' as an attribute of a picture box object. Please let me know if you
have any ideas on this. I am even wondering if adding the file ani.vbx
would somehow add the 'value' attribute to a picture box object. Also not
sure as to how to add ani.vbx to my system. Help would be appreciated.
Thanks. One other note -- when I try to input the files to VB4 I get an
error message indicating that the file(s) are corrupt. When I input them to
VB6 I get the error which tells me that they must have been written later
than VB4.