Trap Valentina license time limit

Barry G. Sumpter BarrySum at BigPond.Net.AU
Fri Jul 6 12:26:21 CDT 2007


Excellent answer Robert.

Thanks so much for taking the time to compose and post this response.

Hi all,

The concept had escaped me without proper documentation and examples.
There are quite a few of these constants in the XML file.

How am I to know that this exact constant should be trapped is a certain
situation?

Am I to check each one for each vCommand?
 
This trial and error approach is time consuming.

Hmm, I wonder, does anyone have a methodology for a professional standard
error trapping routine?

Something like:

Try

Catch vErr as vException
   My_vErrDesc = My_vErrDesc_Retrieved_from_XML(vErr)
   Show_My_vErrDesc_DialogBox(My_vErrDesc)

End try


Where the DialogBox has options to Log the error to a file, send an email to
product support, ignore, or terminate execution, etc.




-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Robert Brenstein
Sent: Saturday, 7 July 2007 2:39 AM
To: Valentina Developers
Subject: RE: Trap Valentina license time limit

>Can anyone, anyone at all, reply with a hyperlink to any documentation that
>describes this exception: ERR_INTERNAL_DEMO_TIMEOUT

It is just an execution-time error which you trap just like any other 
execution time error. You can just special-case it (by comparing the 
returned error number to the above constant) to display a different 
message to your user.

Robert
_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list