Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

What is Run-Time error 339

Posted on 2001-06-27
3
Medium Priority
?
1,446 Views
Last Modified: 2008-03-03
My application is giving me a Run-Time error 339 Component " or one of its dependencies not correctly registered: a file is mising or invalid

This only occurs when I close my application

The application was setup on a pc using the Package&Deployment Wizard. I don't know if this has any bearing on the fault but during the packaging phase I had the following:

Dependency files for the following not found: CDO.dll, msword8.olb, qprinter.dll - I elected to not mark these as permamently having no dependencies

also PDW reported that the following dependancy files were out of date

comct332.ocx, mscomctl.ocs, richtx32.ocs, scrrun.dll and tabctl32.ocx

What does this all mean and why am I getting the run-time error?

Thanks in advance
0
Comment
Question by:mutrus
[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
  • 2
3 Comments
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 6231465
Hi, take a look on:

This error occurs when you don't install visual basic 6 runtime files correctly.

Original Link:
http://abone.turk.net/ekremdeniz/help40.html#170

Related Link:
http://msdn.microsoft.com/library/en-us/vbenlr98/html/vbmsgREGBADFILE.asp?frame=true

0
 
LVL 53

Accepted Solution

by:
Ryan Chong earned 400 total points
ID: 6231487
Hi mutrus,

This error message may occur when your copy of the dll becomes corrupt or is replaced by an earlier version of the dll

Original Link: http://www.icuii.com/help/icuii30help/faq-errormessages.htm#17
0
 

Author Comment

by:mutrus
ID: 6234352
Ok thanks. I tracked down the offending file to being a user control that I was using.

Also managed to get the updated dependency files for comctl32.ocx and tabctl32.ocx

I would still like to know what to do with the out of date dependency information for the other out of date dependency files and also comctl32.ocx

0

Featured Post

Technology Partners: 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

598 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