M
Mr. Magic
I'm writing a general purpose error handler that will be used by Windows
Apps, Web Apps, Window's Services, ... In other words - just about any
program will be calling it. Part of this error routine would be to put up a
message box if it's a windows app but only if it's a windows app. How can I
make sure that the application that is running is actually a Window's app. I
currently am passing in parameters to display the message if appropriate but
I want to make sure that somebody doesn't by accident call the routine with
a message to display for something like a service which would cause
problems.
Any thoughts or suggestions?
TIA - J.
Apps, Web Apps, Window's Services, ... In other words - just about any
program will be calling it. Part of this error routine would be to put up a
message box if it's a windows app but only if it's a windows app. How can I
make sure that the application that is running is actually a Window's app. I
currently am passing in parameters to display the message if appropriate but
I want to make sure that somebody doesn't by accident call the routine with
a message to display for something like a service which would cause
problems.
Any thoughts or suggestions?
TIA - J.