About the button, I don't know. I'm also kinda new to Visual C++ and I could take a guess, but that can be risky.

I have, however, done some Oracle Database programming with Visual C++. Are you familiar with Oracle OLE3.2 objects? Basically, they encapsulate and wrap the ODBC driver calls with some really nifty classes. We have had no problems with them and they work really really good.

You might really want to take a look at them and use them instead of ODBC drivers, if possible.

Good Luck
Shaun