Solved

What is Run-Time error 339

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

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 52

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

729 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