>When the compiled .exe runs, I get an error message that says:
>"LOMESSAGE is not an object" but all is well when I run it from within vfp environ (command propmt)
>
>the code is as follows and was always working till today. I've rebuilt the project to no avail. I wonder what the cause is?
>
> loMessage = newobject("Animation", "Animation.vcx", "", ; && Now use Daniel's vcx class instead
> 'Saving record...', ;
> 'RECORD SAVE IN PROGRESS', ;
> 'fish.avi')
At this point, just try to check whether the object was successfully instantiated. Maybe just messagebox(loMessage.name). If it breaks there, well, you may have some error in that class and it didn't instantiate - or the classlib wasn't included in the project.
> set message to ' Saving record...'
> loMessage.show()
> for t= 1 to 21000000
> next
>retu