On Jul 19, 2005, at 2:48 PM, Joe Smith wrote: > Using GET/PUT Preferences does not leave access to the resource > fork of the > preferences file...how do you do it ?? GET/PUT Preferences writes a data file to the user preferences folder. If the preferences folder is where you want the file stored, GET/PUT preferences will put it there, but it doesn't handle resources. To write a resource file to the preferences folder is not quite as simple as using GET/PUT preferences. Since resource handling is more challenging, it might be worth taking a step back and asking if you really need to write a resource file compared to a data file. If you decide you are ready for the plunge here goes. If you want the file in the preferences folder you will need to get the FSSpec of that folder. If not, a direct call to FN FBMakeFSSpec(system(_aplVol), 0,"fileNameHere",fs) would get the FSSpec for the folder where the running application resides (where fs is a filespec------i.e. dim fs as FSSpec) One function worth studying is USR ReplaceResource. Seems to me there is some code in the FB examples folder to get you started. Obviously, you will need code to create a new file the first time and after that the usr replaceresource is your friend. If you don't need to update the resource file after it's created, a call to ( h = fn GetResource ----where h is defined as a handle) gives you access to the resource data. Post some code as you run into issues Good luck. Brian S.