Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SDT NeedUpdate/Update not working at client machine
Message
De
22/10/2000 14:13:49
Adam Skowronski
Custom Designed Systems
Miami, Floride, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00432554
Message ID:
00432631
Vues:
21
Mark, thanks for the suggestion. I have eliminated the duplicate lMeta reference and the code is now as follows, yet when I do the transfer to the second computer and try to run the application, it tells me the 'Database is invalid'.

I changed the 4th property to .T. (to run in debug mode) and it tells me that 'DBCXMGR.VCX' does not exist. As per the manual, both DBCXMGR & SDT are added to the project.

Any other suggestions for me to look at here?
Thanks,


>PRIVATE oMeta
>oMeta = NEWOBJECT('DBCXMgr', 'DBCXMGR.VCX', '', .F., JustPath(DBC()))
>IF TYPE('oMeta') <> 'O' OR ISNULL(oMeta)
> * Error message would be here.
> * other code to deal with client.
> CLOSE DATABASE
> CLEAR EVENTS
> CLEAR ALL
> QUIT
>ENDIF
>oMeta.SetDatabase(DBC())

>IF oMeta.oSDTMgr.NeedUpdate()
> WAIT WINDOW "Updating your Application - Please Wait" NOWAIT
> oMeta.oSDTMgr.Update()
> WAIT CLEAR
>ENDIF oMeta.oSDTMgr.NeedUpdate()
Adam J Skowronski
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform