Results 1 to 3 of 3

Thread: Bluezone 7.1 and Excel VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Bluezone 7.1 and Excel VBA

    Currently use BZ v6.1 web so the connection I use is the code to connect and interact with BZ


    Set host = CreateObject("BZWhll.WhllObj")
    h = 1   '== SET SESSION NUMBER
    '=== CHECK WHICH SESSION IS AVAILABLE ============
        host.OpenSession 0, h, "S:\BlueZone\test.zmd", 10, 1
        host.waitready 10, 100
        host.Connect Chr(a)    '== SET SESSION NAME TO CONNECT TO
        txtConnect = host.Connect
        ResultCode = host.GetSessionName()
        h = host.GetSessionId()
    End Sub
    I can interact just fine with v6.1 (send keys, read data, etc.)


    Now we are using BZ v7.1 with is more terminal emulation. There is no BZWhll dll to create an object to.


    I can open a session:
    Set WSHShell = CreateObject("Wscript.Shell")
    Filename = "C:\BlueZone\Config\ADOA24x80-XLO1.zmd"
    WSHShell.Run (Filename)

    Can't figure out how to interact with the session once it's open via VBA in excel.
    Does anyone have know what the object(s) to connect to a BZ v7.1 session?
    Last edited by Aussiebear; 04-14-2023 at 04:20 PM. Reason: Added code tags

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •