Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Run-time Error 48. Error loading DLL

Posted on 1998-12-07
5
Medium Priority
?
1,347 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Suggested Courses

604 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