×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Extra.System detecting incorrect attachmate application

Extra.System detecting incorrect attachmate application

Extra.System detecting incorrect attachmate application

(OP)
hi

we have multiple attachmate systems installed. and we're trying to detect an open Extra! X-treme but vba (Extra.System) keeps referring to Reflection 2008 even though it is closed.

I'm using the standard code which works for Extra! and Reflections but not for Extra! X-treme:

' Get the main system object
Dim Sessions As Object
Dim System As Object
Set System = CreateObject("EXTRA.System") ' Gets the system object
If (System Is Nothing) Then
MsgBox "Could not create the EXTRA System object. Stopping macro playback."
Stop
End If
Set Sessions = System.Sessions
If (Sessions Is Nothing) Then
MsgBox "Could not create the Sessions collection object. Stopping macro playback."
Stop
End If

' Set the default wait timeout value
g_hostsettletime = 0.0000001 ' milliseconds
OldSystemTimeout& = System.TimeoutValue
If (g_hostsettletime > OldSystemTimeout) Then
System.TimeoutValue = g_hostsettletime
End If

' Get the necessary Session Object
Dim Sess0 As Object
Set Sess0 = System.ActiveSession
If (Sess0 Is Nothing) Then
MsgBox "Could not create the Session object. Stopping macro playback."
Stop
End If
If Not Sess0.Visible Then
Sess0.Visible = True
End If
Sess0.Screen.waithostquiet (g_hostsettletime)

Does anyone have ideas on this?

Thanks!

RE: Extra.System detecting incorrect attachmate application

(OP)
anyone experienced this before? or has anyone have any idea?

Thanks!

RE: Extra.System detecting incorrect attachmate application

My company has ALWAYS rolled out changes for all users. No mixed environment!

RE: Extra.System detecting incorrect attachmate application

(OP)
we're running this through citrix and have never had the problem before as well but working on one of team with extra extreme the issue has been identified. do you know the path of the extra.system?

Thanks!

RE: Extra.System detecting incorrect attachmate application

No, but you ought to be able to find it, don't you think?

RE: Extra.System detecting incorrect attachmate application

(OP)
been able to access C:\ in citrix environment but was not able to find "extra.system" with search function and I've tried manual search in program files. what am I missing?

Thanks!

RE: Extra.System detecting incorrect attachmate application

Have you searched for Attachmate? May be in that folder.

RE: Extra.System detecting incorrect attachmate application

(OP)
Thanks SkipVought. I have found the Attachmate folders but there's no Extra.System in it, I googled and it seems I need admin access to set this variable. I think I'll connect with the IT department for this. Thanks again.

RE: Extra.System detecting incorrect attachmate application

Check your legacy API preference. In Reflection 2014 you have to make sure that you are referencing the correct Legacy API in the Workspace or much confusion will proceed to occur.

RE: Extra.System detecting incorrect attachmate application

(OP)
Hi leblankenship, how can I access the legacy API?

What I did is run the script within Extra instead of Excel, however it makes distribution and maintenance more difficult so if I can tweak and revert to Excel running the codes, things will be a little easier.

Thanks!

RE: Extra.System detecting incorrect attachmate application

What version of Reflection are you using? if it's Reflection 2014, go to File, Reflection Workspace Settings (at the bottom of the screen) and then in the dialog click on Set up API and Macro Security. Make sure it is set on Extra API otherwise it will get confused.

HTH.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close