[futurebasic] Re: [FB] File$(_FSSpecFolder) FSSpec Info?

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

From: Brian Stevens <bstevens33@...>
Date: Thu, 8 May 2008 16:58:00 -0700
On May 8, 2008, at 3:34 PM, Lake Group/Veenix Software wrote:

> Hi guys,
>
> First off, great job on FBtoC, it's truly incredible. Like being  
> saved from MPW all over again!
>
> One situation... in FBtoC, Files$(_FSSpecFolder) seems to return  
> the wrong values in parID and vRefNum. Correct in FB. Small sample  
> below. Do the return values need to be further interpreted, or is  
> there a work around?
>
> dim as  FSSpec      spec
> dim as  str255      name
>
> name = Files$( _FSSpecFolder, "Choose a folder",,spec )
> print "spec.name = ";spec.name, "spec.parID = ";spec.parID,  
> "spec.vRefNum = ";spec.vRefNum
>
> Thanks,
> Deb Lake

A similar issue was found in January and I thought it was fixed :-(

Running in FB returns a parID and vRefNum but does not return a name.

Running in FBtoC returns the folder name, a correct vRefNum but the  
parID is different from what is returned running under FB.

Sometime in the next few days I'll look into this further. Right now  
there are other FB items on my plate.

Brian S.