Hello guys,
I'm carrying all my projects definitely for Cocoa, when I changed my code from [b].AbsolutePath[/b] to [b].NativePath[/b] I had problems in the two codes below, the first is a my code, the Second is a part of a [b]Listbox with Super VolumeBrowser[/b] which is already very old in my code, can anyone Help Me ?
First Code=My Code:
[code] dim f, f2, f3, f4 as folderitem
dim volumename as string
f=getfolderitem("").child(" Disp")
f2=getfolderitem("").child(Final")
f3=SpecialFolder.library.child(Lsrun")
f4=Volume(0)
volumename=f4.Nativepath
volumename=replaceall(volumename,":","/")
imageclon=f3.absolutepath+ImageTemp.jpg '<<<<<<<<<<<<<<<<<< HERE The Problem
imageclon=replaceall( imageclon,":","/")
imageclon=replaceall( imageclon,volumename,"/)[/code]
Code 2= Listbox with Super VolumeBrowser:
dim i as integer
dim f69 as folderitem
f69=getfolderitem("").child(" Disp")
if f69 <> Nil then
//for i=0 to VolumeCount-1
addfolder f69.name
RowPicture(listcount-1) = iconfolder
cell(i,PathColumn)=f69.NativePath '<<<<<<<<<<<<<<<<<<<<<<<<<< HERE The Problem
end if
And elsewhere in the VolumeBrowser this code:
cell(row+itemsAdded,PathColumn)=f.item(i).NativePath <<<<<<<<<< HERE The Problem