I need help with basic file I/O in Access 97 and VB. simple things like how to open file and grab freefile handle , but also how do I keep a reference to this filehandle so that I can pass it to other functions.

I am doing the following things
open file
write to file
pass handle to another function which writes more text to file
file close

Help!