object library not registered...

dtvonly

New member
Local time
11:47 AM
Messages
10
Hi. I am trying to run an old *.ocx file (that I used to run) from windows XP. I am now trying to run the same application in Windows 7. Despite the fact that I had successfully registered this *.ocx file in .../systems32 and .../syswow64 using (in each directory) regsvr32 myoxcfile.ocx, when running or even opening the VB6 project I would get an error implying there is an object missing. Ok. So I went to the components window to add-in this control. However, when I clicked apply I would get the "...Object library not registered". Why? I even copied regsvr32 into the working/project folder then successfully registered it. Why is the VB6 still not see this ocx file? Please advise.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
windows 7
Are you referring to a Win7 issue or a Win XP issue?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custome Built
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
Motherboard
ASUSTeK Computer INC. SABERTOOTH X58 (LGA1366)
Memory
16.0GB Dual-Channel DDR3 @ 534MHz (8-8-8-20)
Graphics Card(s)
1023MB NVIDIA GeForce GTX 650 (EVGA)
Sound Card
(1) NVIDIA High Definition Audio (2) High Definition Audio
Monitor(s) Displays
HP W2072a LED Backlit
Screen Resolution
1920x1080@60Hz
Hard Drives
(1) SAMSUNG MMCRE28G5MXP-0VB SCSI Disk Device
(2) ST1000DM 003-1CH162 SCSI Disk Device
(3) WDC WD10EURX-73FH1Y0 SCSI Disk Device
PSU
XION XON-1000P14F
Cooling
Fans
Antivirus
Windows Security Essentials
Browser
Mozilla Firefox
Other Info
BIOS Version/Date
American Megatrends Inc. 1402, 8/9/2012
SMBIOS Version 2.5
no. everything is in windows 7
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
windows 7
Where did you get the .ocx? If it is 16 bit it would run on 32 bit XP but not on 64 bit W7.

Edit: if this is the case I would check into DosBox. It may work then. 32 bit Windows versions have 16 bit emulators. 64 bit Windows versions have 32 bit emulators. But not 16 bit. So something like DosBox may be needed.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Back
Top