Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtofile returns 135 but nothing gets written
Message
De
10/02/2016 08:45:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01631161
Message ID:
01631185
Vues:
55
I confirm you what i said.i ran vfp9 normally (not as administrator the code i gave
-creates the folder c:\programData\mydir without any windows dialog.
-creates the log.txt file and open it and its not marked as readonly.
I found any restriction !
Maybe another tester can confirm please this.

to confirm that i run vfp as non administrator i use this snippet (from WestWind) :return .f.
=messagebox(isadmin())

FUNCTION IsAdmin()
LOCAL loAPI, lcVal
DECLARE INTEGER IsUserAnAdmin IN Shell32
TRY
lnResult = IsUserAnAdmin()
CATCH
 *** OLD OLD Version of Windows assume .T.
lnResult = 1
ENDTRY
IF lnResult = 0
   RETURN .F.
ENDIF
RETURN .T. 
ENDFUNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform