Is there a function in VB or in a windows API to know if a file is already open (without using a VB error handling structure) ?

Thanks,
Erwan