Solved

Run time error 339

Posted on 1998-02-14
6
1,004 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
ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

 

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
issue with sql server integration services 6 97
nagios 4 php error after installation 6 95
Office 2016 activiation using KMS 2 27
VBA - If Bookmark = "XXBOOKMARKXX" then 15 29
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you don't know how to downgrade, my instructions below should be helpful.
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…
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…

831 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