Yea it can be done in ole. But it's not easy
you need ie Petzold 4th book