NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jeffrey Kuijt on October 26, 2011, 05:17:51 AM

Title: CapeSoft MessageBox - how/when do you use it in NTWS?
Post by: Jeffrey Kuijt on October 26, 2011, 05:17:51 AM
Hi all,

Do you have some experience with CapeSoft MessageBox in a NetTalk WebServer app?

When do you use it?
Do you have some tips and tricks?

I have read that using the Clarion MESSAGE() function will result in hanging the server program.

I would like to hear your experience or some tips and tricks you use.

Thanks and best regards
Jeffrey
Title: Re: CapeSoft MessageBox - how/when do you use it in NTWS?
Post by: Johan de Klerk on October 26, 2011, 05:52:55 AM
Hi Jeffrey,

I use it to capture messages to a log file.
That means if an error or some obscure message pops up on the server this could hang the server until you click to close the message.

I have set my messagebox to only display a message for 1 second, log it to a txt file and close.
This way my NT server just keeps on working.

Hope this helps.

Regards

Johan de Klerk
Title: Re: CapeSoft MessageBox - how/when do you use it in NTWS?
Post by: Jeffrey Kuijt on October 26, 2011, 10:06:04 AM
Thanks Johan,

And do you also show the content of this txt file in your web app, for example when you login as administrator, you can see the content?

Just curious: why haven't you chosen for a tps file? Is txt out-of-the-box?

Best regards
Jeffrey
Title: Re: CapeSoft MessageBox - how/when do you use it in NTWS?
Post by: Johan de Klerk on October 26, 2011, 08:50:41 PM
Hi Jeffrey,

No, I don't need the user to see the messages.
They are only for my own use in case there is an error with my NTWS.

TXT was the quickest to get it working.

However I am sure you can do it with TPS as well and then have a NTWS browse to show you the contents.

Regards

Johan de Klerk
Title: Re: CapeSoft MessageBox - how/when do you use it in NTWS?
Post by: Jeffrey Kuijt on October 26, 2011, 11:09:23 PM
Thanks Johan!
Will buy MessageBox to implement in NTWS.

Best regards
Jeffrey