Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get desktop location using Win api function (VFP)
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01167947
Message ID:
01167963
Views:
6
>
>ows  = CREATEOBJECT([WSCRIPT.Shell])
>WAIT WINDOW ows.SpecialFolders(0) && All users    DESKTOP
>WAIT WINDOW ows.SpecialFolders(4) && Current user DESKTOP
>
Why use "Magic numbers" ?
? ows.SpecialFolders("AllUsersDesktop")
? ows.SpecialFolders("Desktop")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform