Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtofile returns 135 but nothing gets written
Message
From
10/02/2016 08:45:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01631161
Message ID:
01631185
Views:
54
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
Previous
Reply
Map
View

Click here to load this message in the networking platform