Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 13 when running goMeta.oSDTMgr.OpenData()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00598630
Message ID:
00601614
Vues:
32
Hi Torgny.

>But I have another problem, also appearing only with SDT6.0 not with 5.0. The following code worked fine in SDT5.0 but now I get an "File access is denied (Error 1705)" inside the OpenData-method.
>
>
 goMeta.oSDTMgr.OpenData(Allt(goApp.GetSetting(lcKey, DBC_NAME)+ DBC_NAME),.T.,.T.,.F.)

> In SDT 5.0 it does not result in any error , it just return .F.. I run this in the startup of the app and if the database and all tables can be opened exclusive, I run goMeta.oSDTMgr.NeedUpdate() to check, but if .F. is returned (could be someone else running the app ) i skip the NeedUpdate().

We changed error handling in SDT 5.1 to do a more complete job of reporting errors, and this was one of the effects. However, you can disable the display of the error dialog by setting goMeta.lSuppressErrors = .T.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform