Thanks Terry,

This is my problem.

My Files Hard Drive is a different volume from my boot volume
so I did this
Dim f as folderitem
f = volume ("My Files Hard Drive").child(My docs).child(My New docs) 
file = f("text", FileName)

but that doesn't work.

Lennox.
Terry Ford <[EMAIL PROTECTED]> wrote: 
On Oct 7, 2006, at 5:55 AM, Lennox Jacob wrote:

> Hello,
>
> I would like my app save its files to a specific folder, the folder  
> is located in :
> My Files Hard Drive /My docs / My New docs
>
> I have this:
> f=GetSaveFolderItem("text",FileName)
> and that brings up the save dialog
>
> Kindly advise.

Check out the DocumentsFolder Function.

If the files are to be in a folder in the user's Documents folder on  
Mac or the user's My Documents folder on Windows, the folderitem to  
that folder can be created by:

Dim f as Folderitem

f=DocumentsFolder.Child("My New Docs")

You must check for f.exists and f<>Nil before you try to write to it.

You wouldn't use GetSaveFolderitem because you have a specific folder  
specified and you don't want the dialog.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



                
---------------------------------
Get your email and more, right on the  new Yahoo.com 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to