Link to home
Start Free TrialLog in
Avatar of johnsondata1
johnsondata1

asked on

How to register a 32 bit ocx file in 64 bit Windows 7

I have quite an old legacy visual basic database application which I want to transfer to Windows 7 64bit.
When I install I get the error from the Visual Basic Setup Toolkit "The program can't start becuase VSPELL32.dll is missing from your computer. Try reinstalling the program to fix the problem"
I then get an error "An error occurred while registering the file 'C:\Windows\System32\VSPELL32.OCX"
I have copied both files to windows\system32
If I try to register it manually I am getting the error
"The module 'vspell32.ocx' may not compatible with the version of Windows you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe"
NB I am not the programmer who wrote it.
Any help please
ASKER CERTIFIED SOLUTION
Avatar of NOCEngineer
NOCEngineer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

Place the OCX File in %Systemroot%\SysWOW64
Run the Command Prompt in Administrative Mode and then register using Following commands

regsvr32 %systemroot%\sysWOW64\<your ocx name> <enter>
Avatar of johnsondata1
johnsondata1

ASKER

Thanks NOC Engineer

I had read this, but hadn't tried.
It worked fine. I will now move onto the next problem with the legacy install