"Failed to load control 'A' from B.OCX. Your version of B.OCX may be outdated. Make sure you are using the version of the control that was provided with your application."
This error comes randomly in vb6 application exe, will not repeat when application is closed and opened (i.e can't recreate error) usually comes for 'load control(array)' statement

What is the cause for this error? (registration of ocx file is done properly, also it works most of the time)

tried the solution given here , but same error repeats.