Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Title

Status
Not open for further replies.

thainguy99

Programmer
Jun 20, 2003
4
0
0
AU
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top