|
-
Oct 22nd, 2001, 06:27 AM
#1
Thread Starter
Frenzied Member
RESOLVED SCRRUN.DLL
help urgent, peet may know the answer
ive got an application which checks the drives of any PC (a:\, C:\ etc). and am using the file-system-object method, it works ok but on one of the pc (which uses windows 95) when cloing the application creates a
This program has performed an illegal operation and will be shut down
if the problem persists, contact the program vendor, when i press details, it says
Application caused an invalid page fault in module SCRRUN.DLL at 0137:6b801185. etc
i was told to add a reference to Microsoft Scripting Runtime` but i am unsure what this means and how to do this
thanks in advance
Last edited by Robbo; Mar 13th, 2002 at 10:12 AM.
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 22nd, 2001, 07:11 AM
#2
Hyperactive Member
Your program works on all but one machine, that machine happens to be running Win95 as opposed to Win98/ME/2K/NT...
Check the version of the DLL running on the Win95 PC. Make sure the DLL you're referencing in the Build is the same as the one on the PC (check date, size & version), chances are you're either referencing a newer version or the dll doesnt exist on the target PC. If its not there, or an older version, then copy over the one you use in the build & register it on the target PC.
Pee

Best Bar.....
-
Oct 22nd, 2001, 07:22 AM
#3
i was told to add a reference to Microsoft Scripting Runtime` but i am unsure what this means and how to do this
Project Menu > References, check the box beside the "Microsoft Scripting Runtime". As above, try and see if there's a download of this file on the net to make sure you have the latest version of this file.
Note that when you click on the above mentioned box, it'll tell you all about the file - the path & version of it.
-
Oct 22nd, 2001, 07:31 AM
#4
Thread Starter
Frenzied Member
still doesnt work, still gives error on 95 machine
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 22nd, 2001, 07:43 AM
#5
Lively Member
Are you using VS SP3? I believe this problem was solved there.
[email protected]
" Programming today is a race between software-engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far the universe is winning". :-)
-
Oct 22nd, 2001, 07:52 AM
#6
Thread Starter
Frenzied Member
VBA: retail 6.0.8169 forms3: 2.01
??
not sure which version how do you check??
if i need to upgrade how can it be done??, dont want to spend any money on this
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 22nd, 2001, 08:05 AM
#7
Help menu > about.
It'll say MS Visual basic 6.0 (SP5) etc.
You can download the service pack free at :
http://www.msdn.microsoft.com/vstudi...p5/default.asp
-
Oct 22nd, 2001, 08:08 AM
#8
Thread Starter
Frenzied Member
just says
Microsoft Visual Basic 6.0
for 32-bit windows development
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 22nd, 2001, 08:11 AM
#9
That means you haven't got any of the service packs on. SP5 is the latest - I'd recommend getting that from the above site
-
Oct 22nd, 2001, 10:20 AM
#10
Thread Starter
Frenzied Member
yep downloading VB6 SP5 and go from there??
cheers guys
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 24th, 2001, 07:42 AM
#11
Thread Starter
Frenzied Member
Ive put SP5 on my machine now but still the problem persists
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 24th, 2001, 08:06 AM
#12
Hyperactive Member
Robbo, Sorry, but I hafta say it, as I said in a previous post here, copy the version of SCRRUN.DLL from you DEV machine onto your target PC & REGSVR32 the scrrun.dll (or have you tried this already ???)
Howto Register the DLL:
You do this by opening the Run command from the start menu, keying in the word REGSVR32 (and then a space), locating the DLL after you placed it on your machine (either in System32 or System (depends on the config for win95)) and dragging the DLL to the Run command.
Betcha that solves your problem
Pee

Best Bar.....
-
Oct 24th, 2001, 08:22 AM
#13
Addicted Member
This is all wrong, you should not be copying files of off one machine to another. The correct way to solve the problem is to download the scripting runtime Setup from Microsoft’s site. Copying DLL files from one machine to another is not only stupid (as DLL's can be versioned for different versions of operating systems) but amateurish. The URL for the scripting engine is http://www.microsoft.com/msdownload/.../scripting.asp
-
Oct 24th, 2001, 09:03 AM
#14
Thread Starter
Frenzied Member
cheers darrenl link did the trick
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 24th, 2001, 09:07 AM
#15
Addicted Member
No problem. The right way is always the correct way.
-
Oct 24th, 2001, 09:13 AM
#16
Hyperactive Member
Copying DLL files from one machine to another is not only stupid (as DLL's can be versioned for different versions of operating systems) but amateurish.
Yeah, probably 'amateurish' in one respect, one point though 'Mr Professional' - Darrenl, to be perfectly professional about this, er, perhaps you could argue this point over EVERY SINGLE CONTROL deployed from a later build machine to an earlier one ?? IE a WIN95 ?????? What, prey, does one do in deploying one's App if it uses common libraries & DLL's ?? oh yes, thats right, if the version one is using is newer than the one deployed already it prompt you to REPLACE with the build versions ??
How amateurish to suggest a manual solution to something that happens automatically during a deployment.
Last edited by FATBOYPEE; Oct 24th, 2001 at 09:23 AM.

Best Bar.....
-
Oct 24th, 2001, 12:34 PM
#17
Addicted Member
'Mr Professional’, HMM I like it, I mean I have been working with VB since version 2 was released, so I guess I am.
To answer your question;
Your deployment should be based on an installer, installers know what they are doing. Installers know about operating system versions of components and DLL's. Installers set registry values to enable components and DLL's to work. Some Professionals actually read documentation and know how to update components by hand, know where to look for install packages to update common system components. Other 'professionals' do not read, do not learn and cause problems that can have adverse affects on users machines. What sort of Professional are you FATBOYPEE?
-
Oct 25th, 2001, 02:50 AM
#18
Hyperactive Member
Darrenl,
You appear affronted by my choice of language in my previous post, I apologise. I was indeed reacting to your comments of 'amateurish' and 'stupid' .
Forgive me again, if this comes across as 'trite' or condescending, it is not meant to be, I'm not big into 'mine's bigger than yours' kinda arguments. I must though make the point again regarding your reply:
Your deployment should be based on an installer, installers know what they are doing. Installers know about operating system versions of components and DLL's. Installers set registry values to enable components and DLL's to work. Some Professionals actually read documentation and know how to update components by hand, know where to look for install packages to update common system components. Other 'professionals' do not read, do not learn and cause problems that can have adverse affects on users machines. What sort of Professional are you FATBOYPEE?
Of course you're correct. I have no issue with your comments. professionals should know these things. I feel personally capable and knowledgeable enough to offer with a degree of certainty this 'help'.
If you are asking for my credentials I will merely say that these boards are intended to offer any help/'advice' that others feel able enough to offer, in good spirit and in the sure knowledge that they are very likely to be in a similar position as the person posting the question at some other juncture, however I am not even going to begin listing my achievements/qualifications or anything else, please, feel free to crotique any comments or posts that I have made on these boards and judge for yourself upon the posts I have made and the offers of help (albeit perhaps flawed upon occasion) I have made.
You are no different to anybody else. Making comments on other people's post content as 'amateurish' or 'stupid' is simply very rude. It is not only rude but, to me at least simply serves to give the impression that you are arrogant and a little conceited ?
FBP
Last edited by FATBOYPEE; Oct 25th, 2001 at 03:03 AM.

Best Bar.....
-
Oct 25th, 2001, 08:17 AM
#19
Addicted Member
FATBOYPEE,
Let call an end to this, I am sorry if I caused you trouble. I am definitely not arrogant or conceited. Lets do our jobs and help people with the knowledge that we gained from our experience.
-
Oct 25th, 2001, 08:24 AM
#20
Thread Starter
Frenzied Member
thanks for ur replys anyway guys
cheers
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Oct 25th, 2001, 08:35 AM
#21
Hyperactive Member
Let call an end to this, I am sorry if I caused you trouble. I am definitely not arrogant or conceited. Lets do our jobs and help people with the knowledge that we gained from our experience.
Nuff said by both of us... huh...?
Now, about MY Problem(s)....
Pee

Best Bar.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|