There was a VB world tip that described how to do this some time back. witrh examples n all. So u should find all the stuff there.

I've gotta copy if u don't find it.

cheers

------------------
Gaurav Mahindra
[email protected]