[program-l] Re: Can I use MSScriptControl or something similar on a 64-bit Windows box?

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Sat, 3 Oct 2009 20:43:40 -0500

Hi Doug,
Not looked into this myself but was just pondering. Did they by chance
replace this with something using PowerShell? I think they have been
promoting the new PowerShell language and scripting power it has.


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Doug Lee
Sent: Monday, September 28, 2009 5:19 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Can I use MSScriptControl or something similar on a
64-bit Windows box?

Quick question, and I hope I find an answer before this troubles
anyone too much, but it's having a rather major impact on my life at
the moment...

I have a system that uses the MSScriptControl.ScriptControl object.
The file this comes from on a 32-bit Windows box is
windows\system32\msscript.ocx.  I find this file on a Windows 64-bit
box as windows\sysWOW64\msscript.ocx (unless I'm forgetting an
intervening subfolder name there)...

But try as I might, I can not create the MSScriptControl.ScriptControl
object on Windows 64-bit.  I Googled about and found that in 2007 it
was considered impossible, but I'm hard put to think this is still the
case.

Is there a way to create this object on Windows 64, and if not, is
there a similar object I can use there that offers the same
capabilities?

Thanks much.  This one came up and bit me unexpectedly, because I've
been using this object without incident for something like three
years, but apparently never in a 64-bit environment.


-- 
Doug Lee                 dgl@xxxxxxxx                http://www.dlee.org
SSB BART Group           doug.lee@xxxxxxxxxxxxxxxx
http://www.ssbbartgroup.com
"I honestly believe it is better to know nothing than to know what ain't
so."
- Josh Billings, 1818-1885 (in "Solemn Thoughts")
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: