Le 23 juin 06 à 15:56, Tehenne a écrit :
I work on Mac (OS X) with a database created on a PC (Windows).
In this database, there is an absoluPath of a file :
path="C:\Documents and Settings\Bibi\Bureau\Requis\Medias\monChien.jpg
When I try (on Mac) :
if getFolderItem(path)<>nil and getFolderItem(path).exists then
msgbox "OK"
else
msgbox "NO"
end
I have the answer "OK".
Other tests :
pathPC : C:\Documents and Settings\Bibi\Bureau\Requis\Medias
\monChien.jpg
pathMac : Mac X:Users:tehenne:Desktop:ohmiNeries:intro.html
Test :
if getFolderItem(path)<>nil and getFolderItem(path).exists then
msgbox "OK"
else
msgbox "NO"
end
On a Mac (Mac OS X) :
- with the pathPC, the answer is OK ;o(((
- with the pathMac the answer is OK or NO as the file exists or not
On a PC (Windows) :
- with the pathMac or the pathPC, the answer is OK or NO as the file
exists or not
Regards,
--
Tehenne Saint-Denis de la Réunion
_______________________________________________
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>