Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LOMESSAGE is not an object
Message
 
À
24/02/2004 14:40:07
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00880413
Message ID:
00880435
Vues:
32
>>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."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform