Todd ,Thanks for the replay.
The code Juan suggested workes fine ,so I'm sticking to that approach.
I think the control works fine in vb6 (when saving to an uncreated file),and thats why it worked for Aaron young and not for me (I am using vb5).
Thanks.
Dan.