Re: [Firebird-net-provider] Sample 3. Firebird events [v1.7] inhttp://www.firebirdsql.org/en/net-examples-of-use/

2015-03-04 Thread Gerdus van Zyl
Sorry it seems the converter is not translating the event binding correct or maybe for more recent version of VB. Anyway instead of revent.RemoteEventCounts += New FbRemoteEventEventHandler(AddressOf EventCounts) use this: *AddHandler revent.RemoteEventCounts, New

Re: [Firebird-net-provider] Sample 3. Firebird events [v1.7]inhttp://www.firebirdsql.org/en/net-examples-of-use/

2015-03-04 Thread Paulo Cezar Altafin
Gentlemen, I want to make a record here: A big thanks to Gerdus van Zyl. In a very elegant way he solved the problem I did not solve on 40 days. Works perfectly. Now it's time to get creative and implement. Again: Thank you. Paulo Cezar Altafin .·. Cambé - Pr - Brasil From: Gerdus van Zyl

[Firebird-net-provider] Sample 3. Firebird events [v1.7] in http://www.firebirdsql.org/en/net-examples-of-use/

2015-03-04 Thread altafinpc
Hi, The sample noted is writed in C# and work fine. I’m try in VS 2013 Desktop Express. To make it clear, I join it here... static void Main(string[] args) { FbConnectionStringBuilder cs = new FbConnectionStringBuilder(); cs.DataSource = localhost; cs.Database = employee.fdb; cs.UserID =

Re: [Firebird-net-provider] Sample 3. Firebird events [v1.7] in http://www.firebirdsql.org/en/net-examples-of-use/

2015-03-04 Thread Gerdus van Zyl
Just run the code through telerik code converter here: http://converter.telerik.com/ On Wed, Mar 4, 2015 at 3:06 AM, altafi...@gmail.com wrote: Hi, The sample noted is writed in C# and work fine. I’m try in VS 2013 Desktop Express. To make it clear, I join it here... static void

Re: [Firebird-net-provider] Sample 3. Firebird events [v1.7] inhttp://www.firebirdsql.org/en/net-examples-of-use/

2015-03-04 Thread altafinpc
Dearest, I had already tried this option. I should have put in the email. Does not work because the RemoteEventCounts does not exist for Visual Basic. There is the RemoteEventId as Integer option. I am, in this reasoning, be possible to monitor events, but in a different form of language C#,