Solved

Error loading RICHTX32.OCX

Posted on 2001-09-06
5
660 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

696 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