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 8862275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:41:23+00:00 2026-06-14T15:41:23+00:00

On one computer ‘A’ (win vista 32 bit) if I run my program in

  • 0

On one computer 'A' (win vista 32 bit) if I run my program in debug mode all the richtextbox controls throw 'property cannot be set' errors.
I can go on to build the exe (without error ) and the full application OK
But when I then install and run the application on this computer or on computer 'B' (win xp) the same problems occur on both.

However if I run the exact same code in debug mode on computer ‘B‘ there are no errors.
If I build and install the application on computer ‘B‘ it works fine. If I then install this application on computer ‘A‘ it also works fine.
When putting together the application for distribution, both computers use identical copies of richtx32.ocx (it, like the code, is checked out from the same repository).

If I check out previous copies of the code on computer’A‘ (that used to previously behave OK) they also now exhibit the same problems as the latest version of the code.

I don’t have a clue what’s going on, please help!

  • 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-06-14T15:41:24+00:00Added an answer on June 14, 2026 at 3:41 pm

    A bad richtx32.oca file in the system32 directory seems to have been the cause of this.

    Here’s what an .oca file does:

    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 recreate the .OCA file when you load a project
    requiring the control. This recreation process comes with a time
    penalty.

    So it seems that having a bad .oca file in existence can mean that the properties of the control both in the IDE and in the compiled .exe will be affected.
    The solution is to delete the .oca file in the system32 folder and then load the project again.

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

Sidebar

Related Questions

I'm developing a program that sends a file from one computer to another between
Is it possible to run several rails applications on one computer at the same
I'm making a Flash program to be downloadable and unlockable on one computer on
I am developing a program which sends images from one computer to another (similar
We have a large winforms program. On one computer if you are running the
I have a program whereby Data is being sent from one computer to another
I have a program which I try to run on two computers. On one
I only have one computer (running OS X), and need to test in both
Does anyone know of an easy way to copy a database from one computer
I need to restrict users in my application to login from a one computer

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.