Solved

Run time error 339

Posted on 1998-02-14
6
998 Views
Last Modified: 2013-11-14
I am trying to put a VB application on another machine, and get a run time error 339 - Component dblist32.ocx not correctly registered:  file is missing or invalid.  The file is there, is the right version, and appears to be registered (I even registered it with regsvr32, no help) and I can't imagine what else could be wrong.

Help!
0
Comment
Question by:kbakst
6 Comments
 
LVL 7

Expert Comment

by:tward
Comment Utility
Check the Version that is on that machine against the machine you developed the application on.  I do believe if the versions are different it can cause a problem.
0
 

Author Comment

by:kbakst
Comment Utility
Same exact files - the installation was built on machine A (where it works) and installed on machine B (where it does not).
0
 
LVL 2

Expert Comment

by:alokm
Comment Utility
I would always suggest that use the setup wizard to package the whole unit(application) and then transfer it to another machine either thru floppy or network.
That is the best way and it always removes the discrepencies between different versions of dlls.
Because only one file is not important . All the dlls/components that are getting used by the program shud be same.
This sure will work.

0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:kbakst
Comment Utility
That is what I am doing - and it doesn't work.  I am also trying to set up the installation with Installshield, and that doesn't work either.
0
 
LVL 4

Accepted Solution

by:
yowkee earned 100 total points
Comment Utility
 I suggested that before you use Setup Wizard to make the installation, make sure the file dblist32.dep is in your windows system directory.

  And this problem maybe caused by wrong registration process with other component in the target machine. Use RegClean 4.1 or greater version to clear the Registry. Uninstall your application and use Regedit to manually delete all related key of component dblist32.ocx. Then reinstall your application.
 
  It would also caused by some control developed with Control Creation Edition of VB5. Check whether the key:
 HKEY_CLASSES_ROOT\CLSID\{0DE86A52-2BAA-11CF-A229-00AA003D7352}
existed. If existed, use Regedit.exe to delete it.

  Hope this help.

0
 

Author Comment

by:kbakst
Comment Utility
Excellent - this works.  Thanks very much.
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now