Solved

Run-time Error 48. Error loading DLL

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

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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.
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…

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