Results 1 to 21 of 21

Thread: RESOLVED SCRRUN.DLL

  1. #1

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143

    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

  2. #2
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    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.....

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  5. #5
    Lively Member
    Join Date
    May 1999
    Location
    India
    Posts
    97
    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".
    :-)

  6. #6

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  7. #7
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  8. #8

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  9. #9
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  10. #10

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  11. #11

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  12. #12
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    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.....

  13. #13
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    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
    Dazzer

  14. #14

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  15. #15
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    No problem. The right way is always the correct way.
    Dazzer

  16. #16
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    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.....

  17. #17
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    '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?
    Dazzer

  18. #18
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    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.....

  19. #19
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    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.
    Dazzer

  20. #20

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  21. #21
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    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
  •  



Click Here to Expand Forum to Full Width