Thanks for the dialer suggestion, however thats not going to fly with the
customer. (needs a telephone line which is an ongoing cost, they have a PBX
and there are people that come and play with its settings which is going to
create additional problems to manage) They already have internet access and
an internal LAN which I mainly manage for them, no outside interference
mostly. I was thinking on the lines of having a service running that starts
automatically on the telephony computer, just sits there and waits for the
app to send it a command (or simple message ) that would activate a message
delivery function. The function automatically would send emails to addresses
that it can get from the services app.config file (one to tech support, one
to a primary admin internally and one to a backup admin internally). I would
also like to send a network message to one or more computers directly that I
can configure their network names in the app.config file and possibly also
send something to pagers and /or PDA devices. The email sending is easy. The
sending to pagers or PDA's I haven't found any useful info on, the sending
to specific computers I had found some info on that which I'm trying to
retrace.
The unsolved problem I have is twofold
1-Detecting an unhandled exception in the Vs2003 app - how to do that and
keep the app running after detection so that it can execute a call to the
service or launch another app as you suggested.
2- How does one execute a call to a public sub or function on a running
service.
I'm trying to find info on these two things on msdn but its a long slow
slug. If someone can show me some sample code or where to get it I would
really appreciate it.
Bob
<JH****@AOL.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Bob,
I was in the exact same situation with old Dialogic drivers and cards
not giving reliable notification and not being upgradable. The cure
was as Toff M. suggested: "Emailing and notification should simply be a
plug in service to which you handoff once the exception/conditions of
interest have been met. I would build notification as a separate
subsystem interfaced/triggered by the hand off in a non notification
specfic way" When the alarm condition occurs call a program that works
reliably. Now in my situation I just have the program shell out to an
alarm dialer.exe which sends out numeric pages over a simple modem.
You can develop a dialer .exe yourself in VB.net,
http://www.microsoft.com/downloads/d...DisplayLang=en
or in VB 6.0, http://www.vb-helper.com/howto_dialer.html
or design or purchase any number of different notification methods.
John