Solved

Run-time Error 48. Error loading DLL

Posted on 1998-12-07
5
1,332 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
  • 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 70 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

733 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