Q. I installed LFDAT 2.x on Windows 7 or 10 and I am getting an error message in the "Check for Updates" option and the download option does not work. What can I do to fix it?
For "Check for Updates", you can get any of these error messages: (1) Component `MSCOMCTL.OCX` or one of its dependencies not correctly registered: a files is missing or invalid; or (2) Out of Memory.
Also, from the download option, after drawing a rectangle in the area of interest, nothing happens.
These two problems occur because LFDAT requires an ActiveX control for Visual Basic 6 (MSCOMCTL.OCX) on Windows 7 and 10.
Steps to register MSCOMCTL.OCX on Windows 7 or 10 64-bit version (it requires administrative privileges on the system) (source: Microsoft Community):
- Check if the OCX file already exists on %windir%\SysWOW64 (e.g. c:\Windows\SysWOW64, assuming Windows is installed in the Windows folder on your C drive)
- If the file exists, go to step 5.
- If it does not exist, download the OCX file to your desktop or someplace you can find it. If the file downloads as a .txt file, rename file from extension *.txt to *.ocx.
- Copy the file on the SysWOW64 folder (SysWOW64 means "Windows on Windows" and it is where Windows keeps 32-bit version files on a 64-bit system)
- Open a Command Prompt window as Administrator.
- For Windows, upper and lower case letters do not matter when working in the Command Prompt window.
- For a 64-bit installation enter the following command: cd %windir%\SysWOW64
- Then enter the following command: regsvr32 MSCOMCTL.OCX
- If the command from step 8 does not work try this one: regsvr32 C:\Windows\SysWOW64\MSCOMCTL.OCX
- You should see a message like this: DllRegisterServer in MSCOMCTL.OCX succeeded.