?
Solved

Run-time Error 48. Error loading DLL

Posted on 1998-12-07
5
Medium Priority
?
1,342 Views
Last Modified: 2012-06-27
I encounter this run-time error only when I run the executable on a machine that does not have the VB 4.0 development environment on it. The app was developed with VB4.0 and has a couple of 3rd party controls in it.
The application is wrapped using Install Shield before being distributed.
Is there a procedure, utility or VB method which will help me trace which DLL is the cause of the above problem.
0
Comment
Question by:malcolmm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 2

Expert Comment

by:cedricd
ID: 1448529
i don't know if there's a method to trace it but all i know is that one or multiple dll (and / or ocx) are badly installed.
verify your install shield (if all the used ocx are present and the dll declared by you also).
You can also add manually the dll and the ocx.
you can also see at the msdn.microsoft.com/vbasic to see if there's a service pack for vb4.0. (all i know is that the install shield of vb4.0 isn't very good,the vb5.0's install shield is better).

hope it help you.

0
 

Author Comment

by:malcolmm
ID: 1448530
Thanks for the reply cedricd. I know how to manually register a DLL or OCX, but my problem is that do not know which DLL or OCX to register. Also, I'm not using the setup wizard supplied by VB but a program called Install Shield Express.
0
 

Author Comment

by:malcolmm
ID: 1448531
I have solved this nightmare problem on my own. How can I reclaim the points.
0
 
LVL 4

Accepted Solution

by:
anzen earned 140 total points
ID: 1448532
Go to http://pobox.com/~stevemil (the Steve Miller's home page)
there You'll find a program called "Dependency Walker" which
allows You to see all the dependencies of a particular file, next
examine the APP files' dependencies and see which one is missing

0
 

Author Comment

by:malcolmm
ID: 1448533
Thanks anzen, I have solved the problem but I will take a look at this program.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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