Consider this test:

  dim f as new FolderItem
  dim origpath as String = f.AbsolutePath
  
  dim newpath as string = TemporaryFolder.Child("Test").AbsolutePath
  
  f.AbsolutePath = newpath
  
  if f.AbsolutePath = newpath then
    MsgBox "Updated to new path"
  Elseif f.AbsolutePath = origpath then
    MsgBox "Update failed. Error = "+ str( f.LastErrorCode )
  else
    MsgBox "Unexpected result. Path is now:" + EndOfLine + f.AbsolutePath
  end if

  break
  
I tried this on Vista (and OS X just to confirm). The folderitem still
points to the original path and no error is reported.

I'm using the Windows registry and have found using getsaveinfo to store
folderitems inconvenient. I thought Absolute path would be a legit
alternative for Windows apps but it appears to fail silently.

Am I missing something?

Keith DeLong


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to