Solved

I need help with a Run-time error in VB6

Posted on 2013-05-20
3
373 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Spell Check in VB6 13 96
Using an encrypted  value to decrypt and display contents in vb6 9 49
Copy/Clone an object. 9 29
VB 6 error 5 in windows 10 but not in XP 7 44
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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now