Solved

I need help with a Run-time error in VB6

Posted on 2013-05-20
3
377 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

752 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