SmartCode Solutions Web Forum




Properties to configure error Messageboxes

Author Message
 Posted Sunday, December 06, 2009
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, September 07, 2011
Posts: 12, Visits: 22
When messageboxes are enabled, the title of the Messageboxes is "S-Code VNC Viewer". This should be configurable (like the ConnectingText).

Also the error messages generated from S-Code should be configurable. E.g. when a connection to a non-existing server fails, the messagebox displays some english error message, generated by S-code, and the Windows error message which is in the language of the OS (e.g. German).

There should be properties, so that the error messages can by fully in German and there is no "S-Code" or "VNC-Viewer" title in the message boxes.

Post #2841
Add to Twitter Add to Facebook
 Posted Monday, December 07, 2009
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 1:17 AM
Posts: 1,581, Visits: 2,951
This is a reasonable request indeed. I'll add it to the features requests list.

Thanks for your feedback!

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
We are looking for investors and business partners. Please contact us for more details

Kindest Regards,
SmartCode Solutions Support

Post #2846
Add to Twitter Add to Facebook
 Posted Saturday, April 09, 2011
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Sunday, April 10, 2011
Posts: 2, Visits: 3
I have the same problem.
Does it has already been solved?
Post #3656
Add to Twitter Add to Facebook
 Posted Sunday, April 10, 2011
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 1:17 AM
Posts: 1,581, Visits: 2,951
How about if we add ProductName property that will be used as part of the prompt and error messages?

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
We are looking for investors and business partners. Please contact us for more details

Kindest Regards,
SmartCode Solutions Support
Post #3657
Add to Twitter Add to Facebook
 Posted Sunday, April 10, 2011
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Sunday, April 10, 2011
Posts: 2, Visits: 3
Yury Averkiev (s-code) (4/10/2011)
How about if we add ProductName property that will be used as part of the prompt and error messages?


It
does not solve the problem (
for example if a product is not in the English).

I think
that there should be an event with error number and default error message .
We could then change the text message, or leave the default version.
Post #3658
Add to Twitter Add to Facebook
 Posted Sunday, April 10, 2011
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 1:17 AM
Posts: 1,581, Visits: 2,951
Green (4/10/2011)
Yury Averkiev (s-code) (4/10/2011)
How about if we add ProductName property that will be used as part of the prompt and error messages?


It
does not solve the problem (
for example if a product is not in the English).

I think
that there should be an event with error number and default error message .
We could then change the text message, or leave the default version.


This would be half baked solution also. Most probably what we gonna do is to add support for external dlls with resources. So basically if you’d tell ViewerX to use “en-UK” locale, it would look for dll file named scvncctrl_enUK.dll.  If there is no such file or the file doesn’t contain the resource id required, when a default string will be used.

How does it sound to you?


http://www.s-code.com/App_Themes/Default/images/blue_line.gif
We are looking for investors and business partners. Please contact us for more details

Kindest Regards,
SmartCode Solutions Support
Post #3659
Add to Twitter Add to Facebook
 Posted Monday, May 23, 2011
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Sunday, December 11, 2011
Posts: 20, Visits: 56
Maybe I'm not understanding, but aren't there sometimes when you might not want to show an error and handle that error in code or display the error in your own GUI without a pesky message box?
Post #3703
Add to Twitter Add to Facebook
 Posted Wednesday, September 07, 2011
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, September 07, 2011
Posts: 12, Visits: 22
Yes, please no messageboxes at all, but an event, so my program can handle the problem.
Post #3837
Add to Twitter Add to Facebook
 Posted Thursday, September 08, 2011
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Sunday, December 11, 2011
Posts: 20, Visits: 56
Or maybe only if the event doesn't exist, then show an message box.  But if we have the event sub available, fire it instead, or at least have a "bDoDefault" option in the event.  Each "error" should have a numeric ID so we could do a "Case" routine and display the error the way we want it, along with a list in the documentation of what the error # means for each one.  I plan to have my own language database.  I think this really the best way to handle it.
Post #3839
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse