MSCOMCTL.OCX Runtime Problem
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.
--
Help please!
Re: MSCOMCTL.OCX Runtime Problem
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.
Re: MSCOMCTL.OCX Runtime Problem
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.
Re: MSCOMCTL.OCX Runtime Problem
Well I did what you said... still my program won't load. Same error...
Re: MSCOMCTL.OCX Runtime Problem
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/d...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?