?
Solved

What is Run-Time error 339

Posted on 2001-06-27
3
Medium Priority
?
1,430 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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

762 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