Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to Create Object
Message
 
À
27/02/2008 12:34:35
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01296912
Message ID:
01296988
Vues:
10
>Sweet! You da man!
>
>>You got the NEWOBJECT wrong. Try this syntax:
oAddRec = NEWOBJECT ('GridAddRec','FM_BaseButtons.vcx')
>Ok, good advice. I'm now using this line but still getting an error.
>>>=NEWOBJECT( 'oAddRec', 'GridAddRec','FM_BaseButtons.vcx' )
>The error is that "c:\FMSDev_Sch\libs\FM_BaseButtons.vcx" does not exist. But I have verified that it does and that there is a SET CLASSLIB to it in my Main program. Why can't it find it?

It should be in PATH not in SET CLASSLIB when you use NEWOBJECT()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform