Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3356078
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:28:18+00:00 2026-05-18T02:28:18+00:00

In the system32 directory I saw an .OCX file with a corresponding .OCA file.

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:28:19+00:00Added an answer on May 18, 2026 at 2:28 am

    .OCA files serve as a cache of the extended type library information for its corresponding .OCX file.

    If you delete an .OCA file for a control VB recognizes and uses, VB will recreate the .OCA file when you load a project requiring the control. The recreation process takes a little time but comes with no penalty otherwise.

    Last reviewed: April 4, 1996

    Article ID: Q149429

    SUMMARY For every custom control file (.OCX) that Visual Basic uses,
    there is an accompanying .OCA file of the same file name. For example,
    GRAPH16.OCX has an accompanying .OCA file called GRAPH16.OCA. An .OCA
    file is a binary file that functions as both an extended type library
    file and a cache for the custom control file.

    MORE INFORMATION

    A type library is a file or component within another
    file that contains OLE Automation standard descriptions of exposed
    objects, properties, and methods. The actual working type library for
    a custom control used in Visual Basic is a combination of the type
    library of the control itself and the additional properties provided
    by the framework that wrap the control.

    Some of the properties of the control are provided by the framework
    and some by the control itself. Programmatically, the properties from
    the framework and the control all appear as properties of the control.

    In order for these properties to appear, Visual Basic creates an
    extended type library when the control is loaded into the toolbox.
    Because the process of reading the control’s type library and creating
    the extended type library is time consuming, Visual Basic caches the
    extended type library information into an OCA file.

    If you delete the OCA file for a control Visual Basic recognized,
    Visual Basic will re-create the .OCA file when you load a project
    requiring the control. This re-creation process comes with a time
    penalty.

    (http://support.microsoft.com/kb/149429)

    So, don’t worry about including them when you deploy your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Historically operating system directory-structures have been trees: C: Windows System32 Program Files Common Files
On install I copy some files in 'System32' folder. When uninstalling these files are
I'm calling Powershell like so: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -noninteractive -nologo -file "C:\Users\dummy\Documents\dev\powershell\samples\test.ps1" I'm calling it
I'm using a program that stores its log files at C:\Windows\System32\config\systemprofile\AppData\Roaming\ProgramName\*.log , but for
I want to copy a file that's in the same directory as the installer
I have the following in my .git/hooks/pre-commit file #!/bin/sh exec c:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy RemoteSigned -Command
Can anybody give me a code which would return full path to System32 directory
I've got a Visual Studio Setup Project that uses the msiexec.exe file to create
A lot of windows services write daily log files to their application installation directory
I downloaded the visual2008 file from here(http://luaplus.org/projects/luaplus/files), but I don't know how to add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.