You left p nil in your code, so you can't save it as a picture. You have to
make p a picture first.
Maarten
On 05/05/06, Brian Heibert <[EMAIL PROTECTED]> wrote:
I tried to use that
Dim f as folderItem
Dim p as Picture
Dim fName as String
fName = "ADVCTMP1.PICT"
If fName<>"" then
f = getFolderItem(fName) // this'll attempt to create a
// folderItem ref in the same folder
// as your app
If f <> Nil then
f.saveaspicture(p)
End If
End if
_______________________________________________
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>