In the system32 directory I saw an .OCX file with a corresponding .OCA file.
I had thought .OCA files are used only by Visual Basic. Are they therefore unnecessary for program execution and could be removed?
If they are unnecessary, why would there be an .OCA in the system32 folder in the first place?
.OCAfiles serve as a cache of the extended type library information for its corresponding.OCXfile.If you delete an
.OCAfile for a control VB recognizes and uses, VB will recreate the.OCAfile when you load a project requiring the control. The recreation process takes a little time but comes with no penalty otherwise.(http://support.microsoft.com/kb/149429)
So, don’t worry about including them when you deploy your application.