Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Sep 26, 2017 7:57 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Deleting an alias
PostPosted: Wed Sep 02, 2009 5:58 pm 
Offline

Joined: Fri Mar 09, 2007 5:35 am
Posts: 25
Hello,

Does anybody know how to delete an alias?

The folderitem always resolves to the original, so f.Delete ends (where f is the alias file) ends up trying to delete the original.

Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Deleting an alias
PostPosted: Wed Sep 02, 2009 6:14 pm 
Offline

Joined: Fri Mar 09, 2007 5:35 am
Posts: 25
Nevermind, I just figured out how. I had to use FolderItem.TrueItem and TrueChild.

Sorry for the inconvenience.


Top
 Profile  
Reply with quote  
 Post subject: An update: Deleting an alias
PostPosted: Sun Apr 14, 2013 8:30 pm 
Offline

Joined: Sun Apr 29, 2007 11:26 am
Posts: 31
Location: Seattle, WA
I'm using the latest RS 2012 R2.1 and have a question regarding deleting aliases (especially under OS X). I also use the TrueItem to create the list of files/folders I wish to delete. The FolderItem delete example is great. However, aliases are really odd --

They seem to not be able to be deleted and that may be if they don’t refer to an actual folder or file. Not sure yet – the FolderItem Delete function returns a LastErrorcode of 0, yet for some reason it doesn’t show an error code (even though in the debugger it shows 0!?!?) and the alias file is definitely not deleted.

Any help regarding this (or how to truly use TrueChild/TrueItem would be great!

thank you,
Ken


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group