I came across 2 files that are inculded with EXTRA installation:
ExtraEvents.ocx
ExtraLauncher.ocx
after adding a reference this 2 files are also added
EXTRAEVENTSLib.dll
EXTRALAUNCHERLib.dll
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"
Me.AxExtraLauncher1.launch()
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
End Sub
Private Sub AxExtraEvents1_ExtraActivated(ByVal sender As Object, ByVal e As AxEXTRAEVENTSLib._DExtraEventsEvents_ExtraActivatedEvent) Handles AxExtraEvents1.ExtraActivated
End Sub
Private Sub AxExtraEvents1_ExtraGotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxExtraEvents1.ExtraGotFocus
End Sub
Private Sub AxExtraEvents1_SessionClosed(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxExtraEvents1.SessionClosed
End Sub
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?
Thanks
ExtraEvents.ocx
ExtraLauncher.ocx
after adding a reference this 2 files are also added
EXTRAEVENTSLib.dll
EXTRALAUNCHERLib.dll
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"
Me.AxExtraLauncher1.launch()
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
End Sub
Private Sub AxExtraEvents1_ExtraActivated(ByVal sender As Object, ByVal e As AxEXTRAEVENTSLib._DExtraEventsEvents_ExtraActivatedEvent) Handles AxExtraEvents1.ExtraActivated
End Sub
Private Sub AxExtraEvents1_ExtraGotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxExtraEvents1.ExtraGotFocus
End Sub
Private Sub AxExtraEvents1_SessionClosed(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxExtraEvents1.SessionClosed
End Sub
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?
Thanks