Solved

VB6.0, msvcrt.dll error when installing Package

Posted on 2007-04-07
5
927 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
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…
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…

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