I have done a similar thing calling an Oracle SP from VB, but too much code to put here.
It involved various calls to the ODBC.DLL library:
SQLAllocStmt
SQLPrepare
Parameter binding using: SQLBindParameterString/Double/Long/Integer
SQLExecute
Get the output parameters (if any), then tidying up with SQLFreeStmt
Try to look these up on MSDN or similar to get examples.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.