Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only