how to open a folder

I have been using Applescript to open files and folders.
Can Xojo do this.
Is there a place where I can go to get a list of commands for Xojo.

In Applescript you just do this:

Tell application “Finder”
open “Macintosh HD:User:me:desktop:untitled folder”
end tell

how can I do this with Xojo. Thanks

Have a look at http://documentation.xojo.com/index.php/FolderItem.

  dim f as FolderItem = SpecialFolder.Desktop.Child("untitled folder")
  if f <> nil and f.Exists then
    f.launch
  end if
SpecialFolder.Desktop.Child("untitled folder").Launch

Or if you also need to know if the folder is actually there…

[code]dim f As Folderitem = SpecialFolder.Desktop.Child(“untitled folder”)

if f.Exists then
f.Launch
else
//handle file/folder not existing
end[/code]