Share via

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

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Basic for Applications
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Answer accepted by question author

Castorix31 91,876 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 ?)

Was this answer helpful?

4 people found this answer helpful.

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

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

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