Solved

Trying to install OCX files

Posted on 2006-11-17
6
596 Views
Last Modified: 2013-12-03
First let me preface by saying I am not a windows programmer - I have a programming background but it is in Unidata which is the database our business system runs on.

Several years ago a company wrote a couple of ocx applications to help interface our business system with a tax processing application.   They also wrote an installer a .msi.  This was all written and runs on a windows 98 system.  I have upgraded the tax software to the latest version and it is now running on a windows XP system.  I did not figure that these applications were going to work on the XP system but I figure it is worth a try since I am not qualified to rewrite new ones.  When running the .msi - it starts the installation process and then I get the following error.

Error 1904. Module C:\Program Files\Vertex\utils\geo.ocx failed to register.  HRESULT-2147024770.  Contact your support personnel.

The basic stucture of the applications database has not changed so I have reason to believe that if these would 'register' they would work.

Any direction / advice is appreciated.
0
Comment
Question by:magarner
  • 3
  • 2
6 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17971219
-2147024770 in hex is 0x8007007E, which means: "The specified module could not be found.".
ocx library depends on some other Dll which is not found during registration.

Using Dependency Walker program: http://www.dependencywalker.com/
read names of all libraries which this .ocx needs to be loaded. Ensure that all these DlL files are available in current directory, Windows, System32 directory or through PATH variable.
0
 

Author Comment

by:magarner
ID: 17990765
OK - I downloaded and installed dependency walker and was able to get a lot further.  I am getting a message that it cannot open MSJAVA.DLL.   I read in the FAQ for dependecy walker that XP replaced it with MSHTML.DLL.  I am assuming that my old 98 ocx is looking specifically for MSJAVA.DLL.   Is there a way I can get it, install and register it?  
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 17993656
There are many sites that suggest to download this Dll - just type msjava.dll in Google. However, this can be risky. After applying Dependency Walker you know that the problem is MSJAVA.DLL. AFAIK, MS stopped to support Java in XP redirecting users to Sun. However, I don't know how old program should be supported.
I suggest you to ask separate question in Windows XP area with link in Java programming to get more information.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:magarner
ID: 17999087
I installed the MSJAVA.DLL and that error went away.  I am not getting another error on MPR.DLL.  It says Warning: At Least one module has and unresolved import due to a missing export function in the delay-load dependent module.  

When I double click on the MPR.DLL I see in the Parent Import view with MRP.DLL a red box with a C and the function is WNetRestoreConnectionA.

Alex you have more than earned the points but I still have not accomplished my ultimate goal which is to get this app to load and run.  Any new thoughts?
0
 

Author Comment

by:magarner
ID: 18037313
Does anyone have any thoughts on how to correct this?

I installed the MSJAVA.DLL and that error went away.  I am not getting another error on MPR.DLL.  It says Warning: At Least one module has and unresolved import due to a missing export function in the delay-load dependent module.  

When I double click on the MPR.DLL I see in the Parent Import view with MRP.DLL a red box with a C and the function is WNetRestoreConnectionA.
0
 

Expert Comment

by:amitjain1512
ID: 24239684
Hi Maganer/experts,

I am also facing similar issue. Can you please help me?
How did you come out of this issue?

I copied msjava.dll from some other machine to the local machine where i was getting this error. Now i see the second error("MPR.DLL I see in the Parent Import view with MRP.DLL ....").
Please let me know how did you resolved it.

Thanks and regards,
~Nazir
nazir.maindargi@gmail.com
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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