Solved

Error loading RICHTX32.OCX

Posted on 2001-09-06
5
643 Views
Last Modified: 2007-12-19
I extracted a VB project and tried to open it in my VB IDE.  I received the following error:

'C:\bridge2.7\cvexternalmethods\ibm\RICHTX32.OCX' could not be loaded--Continue Loading Project?
Y/N/H

I assume if I contine then there will be references to this OCX that cannot be found.  How do I fix this problem?  Should I continue or resolve the reference error somehow?  Should I create my own project and bring in all the source code without using the given VBP file?  

I do have a RICHTX32.OCX in my SYSTEM32 directory.  I am using VB 5.0 on Win 2K and am pretty sure the code was developed under the same environment.
0
Comment
Question by:hotwheels
5 Comments
 
LVL 27

Expert Comment

by:planocz
ID: 6461993
You can continue to load the vb program but you will have to replace the now picturebox back to a richtextbox in you form. By re-adding your richtextbox ocx your VB should work.
0
 
LVL 14

Expert Comment

by:Matti
ID: 6462169
Hi!

Is the RichTextBox be available in VB componet's menu if you do open new project?
If not the:
Unregister the componet and then register again.
regsvr32 RICHTX32.OCX /U
and
regsvr32 RICHTX32.OCX

If not helped to make it available, better install VB service pack.

For the source code version control you can edit:

Open the all *.Frm and  the project.vbp files in text editor and do replace the versions like this 1.2 to 1.1

Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.1#0"; "RICHTX32.OCX"


Matti
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6462302
The vbp project points to that dll in working directory.
Using planocz should do the job but save the form again.
0
 

Author Comment

by:hotwheels
ID: 6471966
planocz, how do I change the field in the form back to richtextbox?  thanks, hotwheels
0
 
LVL 27

Accepted Solution

by:
planocz earned 100 total points
ID: 6475304
add the component (richtx32.ocx) back on to project.
take the name of the picturebox(which should be the orginal name of the Richtextbox) and use that name for your new richtextbox that you add on.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now