Solved

Runtime Error 430 & scrrun.dll

Posted on 2004-04-20
9
3,080 Views
Last Modified: 2010-05-18
Hi,

I just made a small tool in which I referrenced to scrrun.dll,
I created a custom setup with NSIS
when I install the app on Win2000 all is OK but when  I install it on 98 I get runtime error 430 when I fire up the program.
I think this might have something to to with the version of the dll but don't know how to handle it best.
A while ago I made anothter prog with references to the same file, I included it in the setup but when I installed it on XP I got the message from XP that the file was replaced and got asked to put in the install cd to fix it.
I do my programming in Win2000.
What is the best thing to do here, include it in the setup
if so which version
I would like it to run on all systems :)

thanks a lot in advance,

Wietse.
0
Comment
Question by:TheWiep
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 18

Expert Comment

by:Sethi
ID: 10875551
There should not be any problem with scrrun.dll in win98 as I generally do the same what you do and have the same setup as yours. The only differnce is that I use Inno.

Make sure of two points:
1. You copy and register scrrun.dll in System folder in win98 instead of system32.
2. Restart win98 after installing the app.
0
 

Author Comment

by:TheWiep
ID: 10875593
thanks for the reply

in the installer of 98 I didn't include the dll
I also didn't restart (pretty dumb of me :) )
haven't been using 98 in a while..
So according to you there should be no problem when I install and register the dll of Win2000 to either 98 and XP?
0
 

Expert Comment

by:itdanushka
ID: 10876825
What is the program that you use to create setup program? You can use Package & Development wizad Provided with Visual studio to create setup program. It will include all the dll files that are needed by the program and when installing the product it will install them to correct place. (acording to the OS)

Good luck
0
 
LVL 18

Expert Comment

by:Sethi
ID: 10876868
TheWiep, there wont be any problem at all. It will work.
0
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.

 
LVL 2

Accepted Solution

by:
PaulS_III earned 125 total points
ID: 10877048
My past experience has been to include the scrrun.dll from the machine the program was developed on. I have run into that problem more than once, enough times to know I need to do it :).

Try putting the scrrun.dll from your development machine in your setup, and have it replace the one on the target only if the target dll is older than the one you are installing.

Hope that helps.
0
 

Author Comment

by:TheWiep
ID: 10881834
I develop in Win2000
so if I only need to copy the and register the file from my Win2000 if I was to install it on 9X or NT4
If I want to install it on XP I don't have to copy
0
 

Author Comment

by:TheWiep
ID: 10881858
So I only have to copy and register the new file if I want to install it on 9X or NT
and if I want to install it on XP I don't have to do this

So if I understand correctly it will work with newer versions of scrrun.dll but not with older
0
 
LVL 2

Expert Comment

by:PaulS_III
ID: 10881986
Yes, that has been my experience.

Let me know
0
 

Author Comment

by:TheWiep
ID: 10882317
will try it this weeked cause the 98 is not on my pc :)
will let you know

thanks for the help
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

Title # Comments Views Activity
Excel object stays open 19 71
VBA saving file message display 5 56
Windows Script Host failed (Access is denied.) error 6 108
VB6 - Compare and highlight cell not the same 3 42
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

910 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

21 Experts available now in Live!

Get 1:1 Help Now