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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXTRA Events

Status
Not open for further replies.

P2A3W4E5

Technical User
Sep 22, 2003
6
US
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





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top