Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registry Hack for changing location of My Documents
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01099936
Message ID:
01100128
Vues:
14
This process will not work as you must reboot to get the new location of the My Documents folder. Rebooting is not an option.

>Using VFP and Word Mail Merge on Citrix. The Citrix machine is locked down tight. So when the client trys to do complete the Mail Merge in Word that VFP launched, they can not access \My Documents\My Data Sources, which is where the datasource file resides. So the Citrix guy suggested that he map a drive letter R:\ back to a server where the clients have access. Guess the step after that would be to ...
>
>1) if !directory() - create a R:\%username%\my documents\
>
>2) copy the contents of My documents on C:\ to R:\%username%\my documents. The client can not save to this folder so it should be not much in it.
>
>3) if !directory() - create a R:\%username%\my documents\my data sources
>
>4) copy data source file to My Data Sources
>
>5) change the registry to HKEY_CURRENT_USER - software - Microsoft -windows - currentversion - explorer - shell folders - Name "Personal"
>
>6) fall into code to launch Word
>
>Getting a bit confused about if I should copy the data from C:\ to R:\ and then change the registry or visa versa?
>
>Also, What are the User Shell folders? Mine have %USERPROFILE% in the Data path. Is this common and would I have to change anything in the User Shell Folders?
>
>Thanks
>
>Brenda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform