VB5 forcing data to disk



I am writing experimental data to a file. If the power fails I don't
want to lose the data.

I know I can close the file and reopen for append to force the data to
disk. But is there a better way?

.