Results 1 to 8 of 8

Thread: Where can I get the documentation for msscript.ocx?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2008
    Posts
    1,199

    Where can I get the documentation for msscript.ocx?

    The ActiveX control called Microsoft Script Control appears to be undocumented. Nothing about it on the MS documentation website (that used to be called MSDN). Somebody else was looking for it here http://computer-programming-forum.co...2aef377a1f.htm and the reply from another poster is that it never was on the MS website, and to look for a help file called msscript.hlp. I can't find that file on my PC though, so I'm wondering if there's an alternative source for the documentation on the MS Script Control.

  2. #2
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,440

    Re: Where can I get the documentation for msscript.ocx?

    I've seen your posts in the VB6 section before, so I'm assuming you have access to the VB6 installation media. On my Visual Studio 6.0* install CD, the msscript.hlp file is present on CD1, in the OS\SYSTEM folder.

    Good luck.

    *I don't have just plain VB6 installation media, so I can't confirm if those files/paths are present on it.

  3. #3
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    6,716

    Re: Where can I get the documentation for msscript.ocx?


  4. #4
    Addicted Member
    Join Date
    May 2012
    Location
    42.787034,-81.176367
    Posts
    150

    Re: Where can I get the documentation for msscript.ocx?

    From my VB6 Enterprise CDs;
    Code:
    2003-04-10  14:34         109,969  dispex.dll
    2003-04-10  14:34       1,209,970  jscript.dll
    2003-04-10  14:34           2,154  msscript.cnt
    2003-04-10  14:34          70,780  msscript.hlp
    2003-04-10  14:34         133,392  msscript.ocx
    2003-04-10  14:34             576  readme.txt
    2003-04-10  14:34         989,779  vbscript.dll
    Located in the Common\Tools\VB\script folder of the CD.

    Joe
    Last edited by Joe Caverly; Jul 24th, 2023 at 08:15 AM.

  5. #5
    Addicted Member
    Join Date
    May 2012
    Location
    42.787034,-81.176367
    Posts
    150

    Re: Where can I get the documentation for msscript.ocx?

    Not an answer to your question, just additional info.

    The Tablacus Script Control is a drop-in replacement for the MS Script Control.

    The Tablacus Script Control is for 64-bit platforms.

    The source code for the Script Control is available from GitHub.

    Joe

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2008
    Posts
    1,199

    Re: Where can I get the documentation for msscript.ocx?

    Quote Originally Posted by Joe Caverly View Post
    Not an answer to your question, just additional info.

    The Tablacus Script Control is a drop-in replacement for the MS Script Control.

    The Tablacus Script Control is for 64-bit platforms.

    The source code for the Script Control is available from GitHub.

    Joe
    How would it work in VB6 then? VB6 isn't even capable of compiling 64bit software.

  7. #7
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,889

    Re: Where can I get the documentation for msscript.ocx?

    1. Perhaps you could revert it back to 32bit?
    2. A useful link for future upgrade when you have to use a 64bit version, it might work well with TwinBasic.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  8. #8
    Addicted Member
    Join Date
    May 2012
    Location
    42.787034,-81.176367
    Posts
    150

    Re: Where can I get the documentation for msscript.ocx?

    Quote Originally Posted by Ben321 View Post
    How would it work in VB6 then? VB6 isn't even capable of compiling 64bit software.
    Here's an example that works with 32-bit Visual Basic 6.0;
    Code:
    Private Sub Form_Load()
      Dim sc As Object
      Set sc = CreateObject("ScriptControl")
      sc.Language = "VBScript"
      Debug.Print sc.Eval("1+2")
    End Sub
    It even works from 32-bit PowerShell;
    Code:
    PS R:\> [Environment]::Is64BitProcess
    False
    
    PS R:\> $sc = new-object -com ScriptControl
    
    PS R:\> $sc.Language = "VBScript"
    
    PS R:\> $sc.Eval("1+2")
    3
    Not sure how the Tablacus Script Control 64 is doing it,
    but I use a DLLSurrogate to call 64-bit COM DLLs from 32-bit Visual Basic 6.0,
    with no problems so far.

    Joe

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