NetTalk Central

Author Topic: CapeSoft MessageBox - how/when do you use it in NTWS?  (Read 3782 times)

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
CapeSoft MessageBox - how/when do you use it in NTWS?
« 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

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: CapeSoft MessageBox - how/when do you use it in NTWS?
« Reply #1 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
Clarion 10, NT 11.57

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: CapeSoft MessageBox - how/when do you use it in NTWS?
« Reply #2 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

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: CapeSoft MessageBox - how/when do you use it in NTWS?
« Reply #3 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
Clarion 10, NT 11.57

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: CapeSoft MessageBox - how/when do you use it in NTWS?
« Reply #4 on: October 26, 2011, 11:09:23 PM »
Thanks Johan!
Will buy MessageBox to implement in NTWS.

Best regards
Jeffrey