Solved

Run time error 339

Posted on 1998-02-14
6
1,002 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create Silent Installation 5 49
Spell Check in VB6 13 98
nagios 4 php error after installation 6 77
Create Files based on Cell Values in a Range in Excel 12 19
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

920 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

13 Experts available now in Live!

Get 1:1 Help Now