I have a program written in VB6. And I try to add binary files to a table. But I get huge problems with performance. It takes more than five minutes to add these files. Anybody has an idea as to what I'm doing wrong??

Set oRS = ADODB.Recordset
oRS.CursorLocation = adUseClient
oRS.Open "TABLE", g_oDbConn, adOpenForwardOnly, adLockOptimistic, adCmdTableDirect
It's the oRS.Open that takes time. Can I use an sp for this ??