after adding a reference this 2 files are also added
It looks like ExtraLauncher is a host control for EXTRA and can be placed on the .Net form
Me.AxExtraLauncher1.launchfile = "C:\Program Files\Attachmate\E!E2K\Sessions\MySession.edp"
This will open EXTRA session in the launcher control on the form. The Extra can now be embeded in the custom application.
The other control can also be placed on the form
Me.AxExtraEvents1 = New AxEXTRAEVENTSLib.AxExtraEvents
it has few methods, here are few:
Private Sub AxExtraEvents1_HostKey1(ByVal sender As Object, ByVal e As AxEXTRAEVENTSLib._DExtraEventsEvents_HostKeyEvent) Handles AxExtraEvents1.HostKey
Private Sub AxExtraEvents1_ExtraActivated(ByVal sender As Object, ByVal e As AxEXTRAEVENTSLib._DExtraEventsEvents_ExtraActivatedEvent) Handles AxExtraEvents1.ExtraActivated
Private Sub AxExtraEvents1_ExtraGotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxExtraEvents1.ExtraGotFocus
Private Sub AxExtraEvents1_SessionClosed(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxExtraEvents1.SessionClosed
The problem is that I can't get these events to fire. Even if I assign handle of the Extra screem in the launcher control
AxExtraEvents1.EmulatorHandle = Me.AxExtraLauncher1.Handle
Anyone has any idea how to do that?