Roger, Charles and Norman,
Thank you for your time.
Works now in the form that Roger sent, but I have to indicate as you all
said, the filetype. In my case it is shellpath.
So another question raise, is there any potential problem/opportunity of
using one type of path from another? I particularly think about
cross-platform problems?
Cheers,
Youri
Roger Clary wrote:
On Jan 2, 2007, at 1:17 PM, Youri wrote:
I tried :
dim f, g as FolderItem
f = new FolderItem("C001")
g = GetFolderItem(app.MyFolderPath)
f = g.Child("C001")
f.createAsFolder
But I get a Nil exception on f.
Dim f AS Folderitem
f = getFolderItem("").Child("C001")
if f <> nil and f.exists = False then
f.createAsFolder
Else
// do something with the folderitem
End If
This finds or creates a file in the same directory as your app with the
name C001.
To use another path, put something else in the 1st parenthesis ("")
HTH
Roger M. Clary
Class One Software
http://www.classonesoftware.com
[EMAIL PROTECTED]
_______________________________________________
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>
_______________________________________________
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>