Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word merge
Message
From
31/03/2004 05:46:41
 
 
To
31/03/2004 05:12:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00889545
Message ID:
00891113
Views:
28
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform