Solved

VB6.0, msvcrt.dll error when installing Package

Posted on 2007-04-07
5
926 Views
Last Modified: 2008-01-09
Hi!

I have developed a package in VB6.o and have made an installer... Now when installing this package on a client's PC i get error saying, msvcrt.dll file is in use close the running application with abort, retry and ignore buttons on the pop up dialog... If i click ignore, i futher get the message saying, u're application will not run correctly and the installation goes thro'...

My query is what can i do to eliminate thsi error message from poping up???

0
Comment
Question by:twinkle2003
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:quiklearner
ID: 18869794
close every possible application/backgournd task and service and the try reinstalling..  If all else fails choose ignore and manually place a copy of your msvcrt.dll in the programs install/run folder.
0
 
LVL 10

Expert Comment

by:sakuya_su
ID: 18874191
msvcrt is almost always in use anyway.

you should consider using other installer programs like the free Inno setup or NIS. with those, you can choose for a file to only install if it is not in use.

in  the case of msvcrt.dll, you do not really have to worry about distributing it, because you can be sure there is already one on the client's computer., just be careful if the client is using an older OS... (In which case you can instruct the Inno or NIS installer to install on next reboot)
0
 

Author Comment

by:twinkle2003
ID: 18880589
So it means i can opt msvcrt.dll out from the installer right...
0
 
LVL 10

Accepted Solution

by:
sakuya_su earned 50 total points
ID: 18880697
correct, yes.

but only beware that you MAY have issues somewhere down the line if someone is using say Windows 95 or 98 First edition etc
0
 
LVL 4

Expert Comment

by:quiklearner
ID: 18882802
correct, most versions will have the same interface with the only possible exceptions being older ones.  Any fixes that have been put into it may not be there, but most versions are really stable..
0

Featured Post

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.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

749 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