Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LOMESSAGE is not an object
Message
 
To
24/02/2004 14:40:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00880413
Message ID:
00880435
Views:
31
>>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

I did as u said, put the test message there and it bombed out before it was displayed. It does display ok at the cmd prompt. I've even used a backup copy of the class. Doesn't rebuilding the project supposed to solve it?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform