Thanks, Jim

That's brilliant ... Except it doesn't work in Transaction State because
you can't do a "DOS /c ...", you get a 'Verb "DOS" illegal when a
transaction is active' error.  Darn, it would have been really useful
otherwise.
That's why we need a UV-supported method.

But actually, if you're on UV 10.1 you can use the new GCI function
"UVRunCommand" [see Issue Number 5616 in the Release Notes] even in
transaction State.
Gee, another reason to upgrade! :-) 


Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] On Behalf Of 
> James Canale, Jr.
> Sent: Friday, 12 May 2006 05:28
> To: u2-users@listserver.u2ug.org
> Subject: RE: Fw: [U2] Unidata logging of BASIC Runtime errors
{Unclassified}
> 
> Well, for Windows platforms, you can do something like this 
> (this is from ECL, but with a tiny bit of code...):
> 
> :! eventcreate /t information /id 999 /l System /so MyModule  /d
"Error Test"
> 
> /t = ERROR | WARNING | INFORMATION
> /id = Event ID
> /l (lowercase L) = APPLICATION OR SYSTEM /so = SourceName 
> (any text, but most likely it's the offending program name) 
> /d = Description
> 
> There are many other options (you can even specify a 
> different computer to send the event information to).
> 
> Regards,
> 
> Jim
> 
> 
> [snip]
> 
> Yes, Yes, YES!
> CALL OSEventLog(Category, Type, EventID, DescriptionText)
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to