Solved

I need help with a Run-time error in VB6

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

786 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