Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get path to the current desktop
Message
 
To
29/09/2006 00:04:37
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01158045
Message ID:
01158067
Views:
23
>hi all,
>My program makes a txt file which i would like to place on the desktop for easy and immediate location by the user.
>
>How can i know the path to the desktop ?
oShell = CREATEOBJ('Shell.Application')
oFolder = oShell.NameSpace(0x10)
? oFolder.Self.Name, oFolder.Self.Path
For more info see FAQ #16022.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform