Solved

What is Run-Time error 339

Posted on 2001-06-27
3
1,414 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 50

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 50

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
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 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…

777 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