On Oct 29, 2004, at 7:46 AM, Joseph Claeys wrote:
I tried the follow code (from the language reference) using RB 5.5.3
on WinXP(SP2)
...
F=volume(0).desktopfolder
The Desktop Folder is a Macintosh invention. On Windows (especially
W2K and higher) there is no concept of a volume desktop folder, hense
the Nil object. Instead, there is only a user space desktop folder.
In fact, it is rare even on the Macintosh to need to explicitly access
the DesktopFolder of a Volume. Most of the time you would want to
access the User Desktop folder which will be the ~/Desktop for OS X.
For OS 9, the DesktopFolder object automatically defaults to the
Volume(0).DesktopFolder (unless Multiple Users is enabled).
As Will mentioned, just use the DesktopFolder object.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|