locked
Declare Function from VBA to VBS RRS feed

  • Question

  • Hi all.

    In VBA I use this:

    Declare Function hllapi& Lib "PCSHLL32.DLL" (Func As Long, ByVal DataString As String, Lengt As Long, RetC As Long)

    It i's possible to do this in VbScript ?

    Thanks

    Joao


    Joao Simplicio Rodrigues

    Thursday, March 30, 2017 6:42 PM

Answers

All replies

  • No.


    -- Bill Stewart [Bill_Stewart]

    Thursday, March 30, 2017 6:47 PM
  • Bill

    Thank you.

    It saves me time trying.

    Best Regards


    Joao Simplicio Rodrigues

    Thursday, March 30, 2017 6:53 PM
  • You can do it in PowerShell


    \_(ツ)_/

    Thursday, March 30, 2017 8:21 PM
  • jrv

    I'vd heard about it...

    Have to explorer it and get know how...

    With vbscript I'm using HACL objects to automate a IBM 3270 session.

    Thanks for advise.

    Joao


    Joao Simplicio Rodrigues

    Friday, March 31, 2017 4:56 PM
  • PowerShell can load and use COM objects.


    \_(ツ)_/

    Friday, March 31, 2017 5:52 PM
  • With vbscript I'm using HACL objects to automate a IBM 3270 session.

    This is not a support forum for third-party components. You would need to ask the vendor of your component how to use it with PowerShell.


    -- Bill Stewart [Bill_Stewart]

    Friday, March 31, 2017 7:19 PM