MSCOMCTL.OCX Runtime Problem

G

Guest

I am having a problem with this... in certain programs I am trying to open I
get

"Run-time error '339':

Component 'MSCOMCTL.OCX' or one of its dependencies not correctly
registered: a file is missing or invalid.

I tried registering the file through CMD prompt but that didn't work. The
File still doesn't register or one of it's files isn't registering even
though windows says it did. I use Vista Ultimate 32bit. Please, help me get
this fixed. Thanks.
 
A

Andrew McLaren

MOBIUS said:
Component 'MSCOMCTL.OCX' or one of its dependencies not correctly
registered: a file is missing or invalid.
I tried registering the file through CMD prompt but that didn't work. The

Hi Mobius

This is just a guess: but when you ran regsvr32 last time, perhaps you did
not have the full Administrative token. Hence the registration failed, due
to permissions problems.

To avoid this problem, open a command prompt "as administrator". In Start
menu, right-click the Command Prompt icon and choose "Run as Administrator"
from the context menu. Enter any admin credentials you are prompted for.
Then go to the Command Prompt window and run regsvr32 there. By running "as
administrator" you get a higher level of privilege than if you are logged on
as an administrator and merely open a normal command prompt (yes, even if
you are the Administrator).

You might also verify that you have only one copy of MSCOMCTL.OCX on your
system, and that it is in a directory on the PATH, such as System32.

Hope it helps,
 
S

Steve Easton

What version of Vista?
If business or above, make sure the ActiveX installer service is
installed and activated.
It is not automatically installed during the install.
 
A

Andrew McLaren

MOBIUS said:
Well I did what you said... still my program won't load. Same error...

Okaaaaay ... well uh, give us a few more clues to work with. For example:

- is there only one copy of MSCOMCTL.OCX on your system?

- what directory is it located in?

- what is the time and date stamp of the OCX file, and what is its version
number? (right-click, Properties, Details)

- was it installed by the application? If so, what is the app you're trying
to run? Does the vendor of the app support their software on Vista?

- or did you install the VB Runtime files separately (ie, not as part of the
app)?

If you have an obsolete version of the VB Common Controls, you can download
and install the latest version from here:

http://www.microsoft.com/downloads/...98-51D0-41C1-BB14-64662F5F62FE&displaylang=en

Remember to "run as Administrator" if/when you install this package.

If you want to get forensic, download and run the Dependency Walker,

http://www.dependencywalker.com/

and use it to examine MSCOMCTL.OCX on your system. Does it show any missing
dependencies?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top