Connecting to Bluezone v7.1 with VBA

primeducky

New Member
Joined
Dec 19, 2018
Messages
2
Currently use BZ v6.1 web so the connection I use is the code to connect and interact with BZ

Code:
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:
Code:
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?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Cross posted at various sites.
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Please provide links to the other sites where you have asked this question.
 
Upvote 0

Forum statistics

Threads
1,214,528
Messages
6,120,065
Members
448,942
Latest member
sharmarick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top