Versions des environnements
Network:
Windows 2003 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement