Solved

Run time error 339

Posted on 1998-02-14
6
1,010 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
ID: 1457142
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
ID: 1457143
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
ID: 1457144
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:kbakst
ID: 1457145
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
ID: 1457146
 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
ID: 1457147
Excellent - this works.  Thanks very much.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
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…
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…

713 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