Solved

I need help with a Run-time error in VB6

Posted on 2013-05-20
3
376 Views
Last Modified: 2013-05-29
I get the error below in my VB6 application.  What can I do to fix this?

Run-time error '339':
Component 'mscomct2.ocx' or one of its dependencies not correctly registered:  a file is missing or invalid


I created an executable of my application.  What can be causing this error?

Thanks in advance,
mrotor
0
Comment
Question by:mainrotor
3 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 250 total points
ID: 39182585
0
 
LVL 14

Assisted Solution

by:quizwedge
quizwedge earned 250 total points
ID: 39182604
0
 
LVL 5

Expert Comment

by:BrianVSoft
ID: 39183880
So, you can run the project in development mode, but get that error when you 'make the exe'? That would mean you have the OCX and that it is (partly?) 'registered'. I suspect the problem is a little more complex. What OS are you running?
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question