[futurebasic] Re: [FB] Automatic Opening of a file

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

From: Alain Pastor <apastor@...>
Date: Sat, 17 May 2003 14:45:07 +0200

barrie wrote:
> on 5/17/03 12:11 AM, barrie at barrie@... wrote:
> 
> 
>>My application and a file is in a folder on the desktop. I want to open the
>>file automatically. Will someone please let me know if this should work.
>>OPEN "I",1,gFileName$,,0
>>I'd like to eliminate this as the cause of my "File not found error" Am I
>>correct in thinking that the zero means that the file is in the application
>>folder?
>>Barrie
>>
>>
> 
> I fixed the problem with
> appFolder% = system(_aplVol)
> 
> OPEN "I",1,gFileName$,, appFolder%
> 

If you're opening the file at startup, maybe doing the following would 
suffice:

OPEN "I",1,gFileName$

Alain