Several others have answered 1 & 3, so I'll take a stab at #2:
Shell "Net Send <Machine Name or IP Address> Trouble on river city Server!"
Anything you can do like that from the command line can be done with the
Shell function.
-----Original Message-----
From: bill salkin [mailto:wsalkin@h...]
Sent: Tuesday, February 27, 2001 9:13 PM
To: professional vb
Subject: [pro_vb] Logging COM+ errors to NT Event Viewer
Actually, I have 3 questions, all related to error handling. If you can
answer any one of them, I'd be delighted.
TIA,
Bill
1. I'm learning about COM+. I want our COM+ business-tier objects (written
in VB 6) to send any error messages to the local NT event log. How do I do
this?
2. I would also like the COM+ object to issue a
"net send \bill trouble on river city Server!"
back to the client workstation (presentation tier) that invoked the
business tier object.
3. How can I tell from inside VB 6 which OS is running? (i.e. Win 98, Win
NT, Win 2000)