Solved

What is Run-Time error 339

Posted on 2001-06-27
3
1,411 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
  • 2
3 Comments
 
LVL 49

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 49

Accepted Solution

by:
Ryan Chong earned 100 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

707 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

17 Experts available now in Live!

Get 1:1 Help Now