Quoting Roger Cudney <[EMAIL PROTECTED]>:
> Hi all,
>
> I am getting a strange LastErrorCode after attempting
> (unsuccesfully) to delete an invisible file placed in
> the application support folder. The code is as simple
> as this:
>
> f=ApplicationSupportFolder.child("blah").child(".blah
> Reg")
> if f.exists then
> f.Delete
> MsgBox str(f.LastErrorCode)
> end if
>
> The problem is that I cannot delete it; furthermore,
> the lasterrorcode is -5000, which is not one of the
> possible errors listed in the RB's language reference
> for lasterrorcode. Any ideas?
That's an OS level error indicating permission denied.
> Something else, seemingly unrelated: after compiling a
> program a few times, say about 5, the icon of the
> built application turns out to be the standard RB
> generic application icon, not the one I made for it.
> By quiting RB and starting all over, the correct icon
> is restored. I am using an Intel Core Duo, RB 2006 R2,
> OSX 10.4.6.
This has been witnessed since 5.4 here on many different test environments.
However, consistent duplication has been nearly impossible. As you found,
restarting RB resolves it on the next build. I've also found that simply
closing and reopening the current project will also clear this up once it
starts
happening in 2006r2.
Here's a very old bug report, however I've seen this happening in Mach-O builds
(my default) as well.
http://www.realsoftware.com/feedback/viewreport.php?reportid=qgnmnhmq
Tim
--
Tim Jones [EMAIL PROTECTED]
_______________________________________________
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>