Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I need help with a Run-time error in VB6

Posted on 2013-05-20
3
Medium Priority
?
381 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 1000 total points
ID: 39182585
0
 
LVL 14

Assisted Solution

by:quizwedge
quizwedge earned 1000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

916 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