Subject | Re: [firebird-support] FirebirdSql.Data.Firebird.Events |
---|---|
Author | Carlos Guzman Alvarez |
Post date | 2003-09-01T08:23:43Z |
Hello
--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain
> I had a question about POST_EVENT and register events.Please send this message to the .NET Data provider developement list.
>
> In my procedure I have a line
> POST_EVENT('NEW CUST').
>
> In the front end .NET, using FirebirdNETProvider1.5-Alpha1,
>
> I am listening for events as follows:
>
> Public fbEv As FbEvent
> fbEv = New FbEvent(conn)
> fbEv.RegisterEvents(New String() {"NEW CUST"})
> fbEv.QueEvents()
> AddHandler fbEv.EventAlert, AddressOf listenEv
> End Sub
>
> Public Sub listenEv(ByVal sender As Object, ByVal e As
> FirebirdSql.Data.Firebird.Events.FbEventAlertEventArgs)
>
> MsgBox("Customer Created")
> End Sub
>
> I am not being able to receive the Event.
>
> Can anyone please tell me what I am doing wrong?
--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain