-
Jul 21st, 2023, 09:42 PM
#1
Thread Starter
Frenzied Member
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.
-
Jul 21st, 2023, 10:49 PM
#2
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.
-
Jul 23rd, 2023, 03:26 AM
#3
Re: Where can I get the documentation for msscript.ocx?
-
Jul 24th, 2023, 08:08 AM
#4
Addicted Member
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.
-
Jul 24th, 2023, 08:13 AM
#5
Addicted Member
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
-
Jan 19th, 2025, 10:52 PM
#6
Thread Starter
Frenzied Member
Re: Where can I get the documentation for msscript.ocx?
 Originally Posted by Joe Caverly
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.
-
Jan 20th, 2025, 05:32 AM
#7
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.
-
Jan 20th, 2025, 09:06 AM
#8
Addicted Member
Re: Where can I get the documentation for msscript.ocx?
 Originally Posted by Ben321
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|