Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word merge
Message
De
31/03/2004 05:46:41
 
 
À
31/03/2004 05:12:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00889545
Message ID:
00891113
Vues:
27
>>Hi,
>> With XP it is usually login sensitive i.e. c:\login_name\my documents.
>>
>>
>>>Thanks to all who replied to my message. Problem was in DOC path. I established relative path depends on instalation folder of my program. Idea was that user install program in any folder no matter where. I don't like hard code of path such c:\xx.doc or c:\my documents\xx.doc but looks like it is only solution. I wonder why everything with relative paths works under win98 and not under XP?
>
>My Documents is a special folder. You can get the name of it with WSH

here it is:
o=CREATEOBJECT('wscript.shell')
o1=o.SpecialFolders()
WAIT WINDOW o1.Item('MyDocuments')
hope this helps

Peter
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform