Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't create oMeta with VFP7, works in VFP9 ???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01059767
Message ID:
01059949
Vues:
8
Hi Victor.

>If I do this in VFP9 it works...but in VFP7 it fails for some reason. It doesn't give me any error message, but it doesnt create the object. Anyone have any ideas?
>
>SET CLASSLIB TO dbcxmgr
>PUBLIC oMeta
>oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX')

If oMeta fails to instantiate, that usually means it can't find the meta data tables. Since you're not specifying a path to them as a parameter, it looks in the current directory and VFP path. Check your pathing to ensure DBCXMgr can find DBCXREG.DBF.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform