thainguy99
Programmer
Hi all,
What I'd like to do is to create an attachmate object and then fit that into a frame on the VB Form. For some particular service packs of Attachmate, I can use sys.Name or sess.Application to get the actual title being displayed when opening an attachmate session. For some other versions, sys.Name or sess.Application returns an empty string eg "".
Is there a way to make sure doesn't matter what service packs/version of attachmate, we can get the title of the attachmate client once it's opened?
This is a piece of code that I am trying to retrive back the
title name.
Set sys = CreateObject("Extra.system"
Set Sessions = sys.Sessions
Set Sess = Sessions.Open(SessFile)
'SessTitle = Sess.Name & " - " & sys.Name
'SessTitle = Sess.Name & " - " & Sess.Application
Thanks & regards,
Thinh
What I'd like to do is to create an attachmate object and then fit that into a frame on the VB Form. For some particular service packs of Attachmate, I can use sys.Name or sess.Application to get the actual title being displayed when opening an attachmate session. For some other versions, sys.Name or sess.Application returns an empty string eg "".
Is there a way to make sure doesn't matter what service packs/version of attachmate, we can get the title of the attachmate client once it's opened?
This is a piece of code that I am trying to retrive back the
title name.
Set sys = CreateObject("Extra.system"
Set Sessions = sys.Sessions
Set Sess = Sessions.Open(SessFile)
'SessTitle = Sess.Name & " - " & sys.Name
'SessTitle = Sess.Name & " - " & Sess.Application
Thanks & regards,
Thinh