[futurebasic] Re: [FB] FB No Such Volume

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2012 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Sat, 09 Jun 2012 18:46:16 +0200
Le 09/06/12 15:54, Spencer Ted a écrit :
<snip>
> The app is closed and re-launched. More bits are to be added to the original batch file. It is allegedly found by (step 3):
>
> gBatchFile = Files$(_FSRefOpen,,"Open an existing Surface Tension project",gParentFolderRef)

I might say something stupid but perhaps at step 3 the above should read 
(wondering why you're getting a parent folder ref when you have selected 
a file and not directly the file ref):

gBatchFile = Files$(_FSRefOpen,,"Open an existing Surface Tension 
project",gFileRef)


/*
> if gBatchFile = "" then beep : edit field _efBatchFileName,"No Batch file" : exit fn
> open "A", _openBatchFileNum,   @gParentFolderRef
> err = fn GetFileFSRef(gParentFolderRef, gBatchFile,@gFileRef)
> close _openBatchFileNum
>
*/

Alain