Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows 7 and 8 Proper VFP App Setup
Message
 
À
04/06/2014 20:52:40
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01601263
Message ID:
01602277
Vues:
76
Thanks for the info !

Tommy

>Hi,
>Set lcUserFolder to you app folder i.e. c:\yourapp and set read/write access to group everyone.
>You can also change the default rights for c:\ for group everyone to read/write and it would be the same as usual. (Not a good idea to give read/write access of a root to everyone)
>
>>Hi Gang!
>>
>>Our Group is migrating our VFP 9.0 SP1 applications over to Windows 8.1.
>>
>>Originally, our software would read and write files to the C:\ root and sub-folders under C:\ under Windows XP SP3. Now we can't do this under Widnows 7 and 8.1
>>
>>
>>It was originally devised to use 
>>lcUserFolder = GETENV("USERPROFILE")
>>
>>Under XP, lcUserFolder would be C:\Documents and Setting\<username>
>>Under Window 7 and 8, this would be  C:\Users\<username>
>>
>>And we wish to create sub-folders UNDER this, since we should have read-write access to this.
>>
>>lcUserFolder + "\Visual\DATA"
>>lcUserFolder + "\Visual\SIGPOS"
>>lcUserFolder + "\Visual\SIGCAP"
>>lcUserFolder + "\Visual\POSTEMP"
>>lcUserFolder + "\Visshare"
>>lcUserFolder + "\Visual\Temp"
>>lcUserFolder + "\Visual"
>>lcUserFolder + "\Visual\UserExports"
>>lcUserFolder + "\Visual\UserImports"
>>lcUserFolder + "\Visual\Application"
>>lcUserFolder + "\Visual\Log"
>>lcUserFolder + "\Visual\EZTemp"
>>
>>I see a problem though....   since EACH user would create a new lcUserFolder from the others, we would have a NEW set of subfolders under each one.
>>
>>I would like to have ONE set of these folders, right under the 
>>C:\Documents and Setting\  ,  or
>>C:\Users
>>
>>Is this possible?   Would I be able to read-write under
>>C:\Documents and Setting\  ,  or
>>C:\Users
>>
>>or is this forbidden and controlled by the Operating System?    Also, is there a System Value that points to 
>>C:\Documents and Setting\  ,  or
>>C:\Users
>>itself, not to the User??  ( I know, I can user GETENV("USERPROFILE") and parse out the user, but I was just asking....(grin)....
>>
>>
>>What would YOU do, to set this up for user data in and out of the application?
>>(The application will be located on a server, not on this PC, but we need local temp files and temp data on each local PC).
>>
>>Thanks!
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform