Solved

VB6.0, msvcrt.dll error when installing Package

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
consolidate or create a new vba code for performing tasks 5 66
Macro Excel - Multiple If conditions 2 72
vbModal 12 52
VBA - If Bookmark = "XXBOOKMARKXX" then 15 28
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

773 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