Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows 7 and 8 Proper VFP App Setup
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
Windows 7 and 8 Proper VFP App Setup
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:
01601263
Vues:
108
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform