Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't create oMeta with VFP7, works in VFP9 ???
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059767
Message ID:
01059949
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform