You can check out oracle documentation for using Oracle OLE objects with VB/VC++

Bala