1. Yuri Denshchik
  2. PowerBuilder
  3. Wednesday, 19 July 2017

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

René Ullrich Accepted Answer Pending Moderation
0
Votes
Undo

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.
  1. Thursday, 20 July 2017
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

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.
  1. Thursday, 20 July 2017
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


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