×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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!

*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

ICA ActiveX Client

ICA ActiveX Client

ICA ActiveX Client

(OP)
Question 1: The following are supposed to be events triggered by the Citrix ICA Client.
1 OnConnect
2 OnConnectFailed
3 OnLogon
4 (Reserved)
5 OnDisconnect
6 OnPublishedApp
7 OnPublishedAppFailed
8 OnICAFile
9 OnICAFileFailed
10 OnInitializing
11 OnConnecting
12 OnInitialProp
13 OnDisconnectFailed
14 OnLogoffFailed
15 OnChannelDataReceived
16 OnWindowSized
17 OnWindowMoved
18 OnWindowCreated
19 OnWindowDestroyed
20 OnWindowDocked
21 OnWindowUndocked
22 OnWindowMinimized
23 OnWindowMaximized
24 OnWindowRestored
25 OnWindowFullscreened
26 OnWindowHidden
27 OnWindowDisplayed
28 OnWindowCloseRequest
29 OnDisconnectSessions
30 OnDisconnectSessionsFailed
31 OnLogoffSessions
32 OnLogoffSessionsFailed
33 OnSessionSwitch
34 OnSessionEventPending
35 OnSessionAttach
36 OnSessionDetach
I have been able to capture the OnConnect and OnLogon Event at the start. The following are a probable list of the events that I assumed would occur on application Termination, Closing, Exiting, Disconnecting:
OnDisconnect
OnDisconnectFailed
OnLogoffFailed
OnWindowDestroyed
OnWindowCloseRequest
OnDisconnectSessions
OnDisconnectSessionsFailed
OnLogoffSessions
OnLogoffSessionsFailed
OnSessionDetach

Incidentally, besides the OnDisconnect Event, none of the events fire when I exited my Powerbuilder application using HALT CLOSE( This is the termination command of Powerbuilder which closes and destroys all objects ). The OnDisconnect Event fires after an indefinite delay ( varying from 5 secs to 2 mins). I need to be able to capture the event that triggers instantly as the Powerbuilder application is terminated so that I could force Disconnect and close/hide the ActiveX window and return control back to the application.


A related question is: What is the sequence in which the connection/disconnection events and other related events are fired.

A related question is: What connection/disconnection events are fired/not fired under what circumstances?

A related question is: If there is a OnLogon Event, why is there no OnLogoff Event.

A related question is: If there is a OnDisconnectSessions Event, why is there no OnConnectSessions Event.
 

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