>I am using Codebook and trying to update to SDT 5.1 (VFP6.0).
>
>1. The manual says to change oMeta = createobject('MetaMgr', ...) TO oMeta = createobject('DBCXMgr', ...). This doesn't work because now DBCXMgr is based on a form, so I get 'Object class is invalid for this container'.
>
>2. When I try to start Stonefield Database Toolkit from the menu, I get a series of 'Cannot Validate View .....'
Are you actually using createobj or are you using addobject?
If you are doing something like...
goApp.AddObject('oMeta','MetaMgr')
you have to change it to...
goApp.oMeta = createobj('DBCXMgr', ... )
Make sure you add a property 'oMeta' to your application object.
BOb
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