Hi,
I am facing a specfic problem involving three entities

1) A dll which queries a table obtains a handle on the table
2) Oracle 8i DB
3) a VB form with a ImgEdit.ocx and ImgAdmin.ocx loaded on it.

My VB Form does not load if it gets an handle from the database and the database is Oracle 8i.
It displays a control not registered error.
The specific controls are ImgEdit.ocx and ImgAdmin.ocx

However if I get an handle from an SQL Server Database everything is hunky-dory.
The form loads without any problems.

In both the cases, I am using the same DLL.
The DLL returns me 1 (which is success) when it returns the handle.
Has anyone else faced such a problem? What could be the possible method to tackle this?

I am using VB 6.0 and this DLL has been written in Visual C++

Please help!

Thanks and Regards,
Abhijit