In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Windows Event Log

Xailer English public forum
Responder
Capsol Coder
Mensajes: 53
Registrado: Vie May 26, 2006 3:33 am

Windows Event Log

Mensaje por Capsol Coder »

Howdy Gents
Has anyone written an object to write to the windows event log? I have
little console app that runs on a Denso hand held terminal. It does things
likes stocktakes, electronic picking, asset tracking, stock queries etc. We
have 5 units running at one site. We wrote it using Xailer (thank god) . It
has been very stable but today it crashed with a bound error. The customer
sent me a screen shot of the error window. It popped up on the server . I
didn't even expect it would do that.
I'm wondering is there a way I can stop this popping up? I'd prefer to just
have the app crash and the error log be written. It would be great to be
able to write the error details to the event log. It would also be nice for
other things.
Also, while I'm on it, Xailer rocks. (I don't understand why more users
aren't in thie NG) Possibly because a lot of XH uses don't like paying for
software maybe?
I started using xh back when Andy ,August and Ron where all working on the
open source IDE. I then purchased WOW from August (no docs) and used it for
a bit, but it became un-supported. I then purchased Visual XH from XH.com,
never got to even create a windows app, it was never stable enough, after 2
years i let the subscription run out as I got sick of waiting. I kept my eye
on Xailer for quite a while (we had been using DBU for years) The fact that
you have actually finshed the IDE, the base GUI libs and documented the
whole thing is a credit to you. We have now written several small apps
succesfully.
Thanks for the great contribution, as far as I can see, Xailer is the only
commercially viable option for someone who hasn't been using Clipper/Xh for
the last 10-15 years.
Cheers
Nick
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Windows Event Log

Mensaje por jfgimenez »

Nick,
sorry for the delay.
> Has anyone written an object to write to the windows event log? I have
> little console app that runs on a Denso hand held terminal. It does things
> likes stocktakes, electronic picking, asset tracking, stock queries etc.
> We
> have 5 units running at one site. We wrote it using Xailer (thank god) .
> It
> has been very stable but today it crashed with a bound error. The customer
> sent me a screen shot of the error window. It popped up on the server . I
> didn't even expect it would do that.
>
> I'm wondering is there a way I can stop this popping up? I'd prefer to
> just
> have the app crash and the error log be written. It would be great to be
> able to write the error details to the event log. It would also be nice
> for
> other things.
attached is the form that Xailer shows when an error arise. You may modify
it as you need. Also, you could replace it entirely by a class (not a form)
that saves the error message without showing any window. It's called from
errorsys so:
WITH OBJECT TErrorForm()
:cMessage := cMessage
:aOptions := aOptions
:New( Application:oMainForm )
nRet := :ShowModal( , .T. )
END
> Also, while I'm on it, Xailer rocks. (I don't understand why more users
> aren't in thie NG) Possibly because a lot of XH uses don't like paying
> for
> software maybe?
>
> I started using xh back when Andy ,August and Ron where all working on the
> open source IDE. I then purchased WOW from August (no docs) and used it
> for
> a bit, but it became un-supported. I then purchased Visual XH from XH.com,
> never got to even create a windows app, it was never stable enough, after
> 2
> years i let the subscription run out as I got sick of waiting. I kept my
> eye
> on Xailer for quite a while (we had been using DBU for years) The fact
> that
> you have actually finshed the IDE, the base GUI libs and documented the
> whole thing is a credit to you. We have now written several small apps
> succesfully.
>
> Thanks for the great contribution, as far as I can see, Xailer is the only
> commercially viable option for someone who hasn't been using Clipper/Xh
> for
> the last 10-15 years.
Thanks for your kind words and support.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info


Attached files errorform.zip (1.3 KB)Â
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder