1. Yuri Denshchik
  2. PowerBuilder
  3. Wednesday, 19 July 2017 22:00 PM UTC

How to execute VB Script when PB app compiled in 64-bit?

We used to run VBScript inside of PB App using MSScriptControl.ScriptControl ActiveX:

...
mssc = CREATE OleObject
li_rc = mssc.ConnectToNewObject( "MSScriptControl.ScriptControl" )
mssc.language = "VBScript"

...

It appears that Microsoft does not provide this ActiveX in 64-bit. 

Any suggestion for alternative?

Thank you,

Yuri

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 20 July 2017 03:40 AM UTC
  2. PowerBuilder
  3. # 1

Hi Yuri;

  FWIW: I would create a 32bit App and call that from the 64Bit App - where the 32bit App brokers the VBScript commands.

Food for thought.

Regards ... Chris

Comment
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 20 July 2017 05:39 AM UTC
  2. PowerBuilder
  3. # 2

There seems to be no 64 bit version for MS ScriptControl component.

Here someone wrote he changed to an alternative component.

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.