Hi.

When I launch my app, it creates a temporary folder under the users temporary folder using the below code:
  Dim Tempf As FolderItem = TemporaryFolder.Child("WeaveData")
  Tempf.CreateAsFolder

When it closes, I want this folder to be deleted, so as to save space, so thought of the following code:
  Dim Tempf As FolderItem = TemporaryFolder.Child("WeaveData")
  Tempf.Delete

However, this does not work. Can anybody explain why, and how to fix it?

Thanks.
_______________________________________________
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>

Reply via email to