Results 1 to 9 of 9
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: JScript and IE (5.+)

    Can you give us an peak at the Web page and JScript code? It would be difficult to figure this out without seeing it...

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: JScript and IE (5.+)

    Where are the documents that are being listed? On the local PC? And you're accessing them through the FileSystemObject?? In that case, it's also possible that the ActiveX control, which is "not safe for scripting," has had the "kill bit" set in the Registry. This is pure speculation based on MSKB articles I didn't read expecially carefully, but it would be one more thing to check.

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: JScript and IE (5.+)

    Hi R2

    I have attached the code in a text file as I cannot send it as an htm file. The problem is I have it on my intranet. I have had to strip out the css as it again is on the intranet side so the page may look a bit strange but i imagine you are more interested in the code than the content, I certainly am ( you will see what I mean when you read it)

    My only worry is it works on 100's of PC's except 1. The Browser is IE 5.5, no different than the other PC's and a standard build on the operating system. Could the PC have a problem as the user has promised me that she has not made any changes!!!

    Thanks in advance

    Jerry
    Jerry

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: JScript and IE (5.+)

    Actually, it's VBScript. Will the computer run other VBScript code? Try this page:

    <html>
    <body>
    <span onclick="vb script:msgbox 'VBScript Runs!'" style="text-decoration: underline; cursor: hand">Click here to test</span>
    </body>
    </html>

    (There are ' marks around VBScript Runs! - that might be hard to see in Lounge font.)

  5. #5
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VBScript and IE (5.+)

    Hi there, I am rather embarrassed by my mistake, yes, VBScript <img src=/S/blush.gif border=0 alt=blush width=15 height=15>

    I have tried it out on the PC in question and it does not work, if that is the case, do you know a possoble solution

    Jerry
    Jerry

  6. #6
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    VBScript and IE (5.+)

    This may be a cross forum question but I will start here

    I have designed a web page using JScript that lists documents... This works fine on all the machines in our office block who are using IE 5.0 and upwards, some using Windows 98 some 2000 and others on XP, except one PC.

    We have down graded the IE platform to see if there was an issue, not resolved
    We have looked to see if there is a problem with the Windows Scripting Host, not resolved
    We have compared the security settings, not resolved

    Can anyone think of a reason why the script does not work on this one machine, it maybe really simple but I just can't see it <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>

    Jerry
    Jerry

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: VBScript and IE (5.+)

    There are separate script engine files for JavaScript/JScript and for VBScript. In the "System Root" folder, check for VBScript.DLL and/or replace it from the CD. On XP, it's:

    C:WINDOWSSYSTEM32VBSCRIPT.DLL

    I suppose there might also be a way to "kill" this file in the Registry, but off the top of my head, I don't know how one would do that.

  8. #8
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VBScript and IE (5.+)

    Or... download and install the most recent version of Microsoft Script 5.6 Libraries from the Microsoft site.

    Windows Script

  9. #9
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: VBScript and IE (5.+)

    Thanks for this,

    I finally found (with your help and others) that it was in fact a corrupt VBScript.dll file, I copied it off one PC that worked and dropped it in the PC's system folder.

    It now works as expected.

    Thanks again

    Jerry
    Jerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •