Can anyone help ?
I am trying to create a VB program to control some DB2 functions and am trying to use the API's

I have got the c example from the DB2 help

'/* File: sqlenv.h */
'/* API: Force Application */
'/* ... */
'SQL_API_RC SQL_API_FN
' sqlefrce (
' long NumAgentIds,
' unsigned long * pAgentIds,
' unsigned short ForceMode,
' struct sqlca * pSqlca);
'/* ... */

coded it as follows:

Public Declare Function sqlefrce Lib "c:\tmp\vbbackup\db2api.lib" _
_
(ByVal NumAgentIds As Long, _
ByRef pAgentIds As Long, _
ByVal ForceMode As Integer, _
ByRef pSqlca As sqlca) As Long

but it can't find the file
so I changed it to the dll's not knowing the correct one - no reference I have tried all the dll's I cound find and all I get is can't find the entry point
any ideas ?