Tim, this is some code that fails (loads and immediately tries to save a jpeg file).
[code] Dim p As Picture
Dim f As new FolderItem(“c:\jpgToConvert.jpg”, FolderItem.PathTypeNative)
If f<>Nil Then
If f.Exists() Then
p = Picture.Open(f)
End If
End If
Dim f2 As New FolderItem(“c:\jpgConverted.jpg”, FolderItem.PathTypeNative)
If f2<>Nil Then
If f2.Exists() Then
f2.Delete()
End If
If not( f2.SaveAsJPEGMBS(p, 80)) Then
Break
End If
End If[/code]
Christian you are right. All other apps were run as administrators except the one I was testing this method. When I changed the directory it worked! Thank you very much.