[futurebasic] Fwd: [FB] Recursive scan folder

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Sun, 27 Jan 2008 13:27:52 -0700
Alain sent this to me privately but clearly intended for everyone to  
see.

Begin forwarded message:
>
> Thanks Brian & Steve.
>
> However, I'm not sure your replies can help to solve the problem I  
> am having. I apologize in advance if I'm a bit dense at the moment,  
> but I stopped programming nearly 80 years ago, and it's a bit tough  
> for me right now to put the things together again.
>
> The problem is that the file$ function seems to return a wrong  
> FSSpec when it involves a folder (using _FSSpecFolder). The  
> misbehavior arises only when running through FBtoC although the  
> code compiles without errors. On the other hand, it works as  
> expected through FB.
>
> In the code I posted previously I was not interested in finding a  
> specific folder but rather in dealing with the folder the user has  
> chosen in the Navigation Services dialog box.
>
> What am I missing here?
>
> Alain
>
> PS: I inadvertently left a redundant, albeit harmless, statement in  
> the snippet of code I posted earlier, but did you try to run it to  
> see what it is supposed to achieve?