Solved

VB6.0, msvcrt.dll error when installing Package

Posted on 2007-04-07
5
928 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
[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
  • 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…

726 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