How to resolve "MSFLXGRD.OCX" or one of its dependencies not correctly registered a file is missing or invalid issue?

Dutch171 31 Reputation points
2021-03-09T17:01:33.39+00:00

Im trying to run an application developed using VB6. When trying to run the .exe I am getting Run time error code "339" with the "Component "MSFLXGRD.OCX" or one of its dependencies not correctly registered a file is missing or invalid" message. I checked the C:\Windows\SYSWOW64\ and C:\windows\system32\ directories for the .OCX file and its not listed. I'm running a PC with Windows 10 64 bit. Please help me how to resolve this issue.

Thank you,
Dave

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,718 questions
Universal Windows Platform (UWP)
0 comments No comments
{count} vote

Accepted answer
  1. Castorix31 85,881 Reputation points
    2021-03-09T17:17:44.66+00:00

    I checked the C:\Windows\SYSWOW64\ and C:\windows\system32\ directories for the .OCX file and its not listed

    Then it is normal that this message is displayed
    The .OCX must be registered as Admin with regsvr32
    This .OCX is very old
    You can put it in the executable directory, then register it from there (easy to find from Google if you don't have it locally)
    (BTW, why a Tag windows-uwp-runtime ?)


1 additional answer

Sort by: Most helpful
  1. twinBASIC programming 0 Reputation points
    2024-09-12T10:59:41.4733333+00:00

    You can replace MSFlxGrd with the free VBFlexGrid available on VBForums

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.