|
-
May 21st, 2013, 08:51 AM
#1
Thread Starter
Member
richtx32.ocx file not found
I am using vb 6.0. In one of my programs I use a rich text control. When I loaded the program to make some changes there was an error because the rich textbox was not loaded. It was before though. When I tried to add this component again I got the message that the file could not be found although it is present according to Windows Explorer.
I found somewhere that this control has been labeled unsafe by Microsoft. Does this have something to with it?
Thanks for any help.
Peter Schoots
-
May 21st, 2013, 08:59 AM
#2
Re: richtx32.ocx file not found
Have you tried deleting the accompanying richtx32.oca file? Can you post the contents of your project file (*.VBP)?
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
-
May 21st, 2013, 09:37 AM
#3
Thread Starter
Member
Re: richtx32.ocx file not found
I don't see the .oca file in the folder with the .ocx file.
As you see below the ocx file is part of the project. However it does not show up in the components list. When I try to add it to the components list by clicking on Browse and clicking on the ocx filename I get the message "File not found".
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation
Reference=*\G{00025E01-0000-0000-C000-000000000046}#5.0#0#..\..\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll#Microsoft DAO 3.6 Object Library
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; comdlg32.ocx
Object={648A5603-2C6E-101B-82B6-000000000014}#1.1#0; mscomm32.ocx
Object={20C62CAE-15DA-101B-B9A8-444553540000}#1.1#0; msmapi32.ocx
Form=..\Tennis Ladder\Help1.frm
Module=Module1; quads.bas
Form=..\Tennis Ladder\frmabout.frm
Form=frmSplash.frm
Form=frmSelectQuads.frm
Form=frmTransferQuads.frm
Form=quadsDraw.frm
Form=ExportTennis.frm
Form=EmailQuads.frm
Form=..\Tennis Ladder\TennisGetFields.frm
Form=QuadsMaintenance.frm
ResFile32="quads.res"
Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0; richtx32.ocx
IconForm="frmSplash"
Startup="frmDraw"
HelpFile=""
Title="quads"
ExeName32="quadsTennis.exe"
Path32="..\Tennis"
Command32=""
Name="Quads"
HelpContextID="0"
CompatibleMode="0"
MajorVer=2
MinorVer=0
-
May 22nd, 2013, 07:14 AM
#4
Re: richtx32.ocx file not found
Have you tried unregistering and re-registering richtx32.ocx via regsvr32.exe? Have you considered using a manually created Rich Edit control instead?
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
-
May 22nd, 2013, 07:56 AM
#5
Thread Starter
Member
Re: richtx32.ocx file not found
I have been thinking of manually creating the rtb. However, what I have done is reinstalling VB 6.0. Setting compatibility at XP . Now I get different messages. Note that I have Internet Explorer 10 which might be the cause of all the problems. Now, when I start vb6.0 I get error messages re VBDataViewWindow. "Component comdlg32 or one of its dependents is not correctly registered: a file is missing or invalid". After that message I get 3 messages "object variable or with block variable not set" (still re DataView.) When I ignore all those messages and try to load richtx32.ocx I now get the message "Object library not registered." Apparently now it finds the ocx file. What a mess.
Peter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|