Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program Name???

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
I have an error handling function which I include in all of my ASP pages. After each ADO transaction, I call the function. If there is an error, the user is redirected to a error message page and the system sends an email to me to tell me that there has been an error. What I would like to be able to know is what program caused the error. Is there any way for the function to know what program was running when it was called - without me explicitly passing the program name as a parameter. Mise Le Meas,

Mighty :)
 
I don't know about ASP or VBScript, but in VB itself there is a method off the App object called EXEName.

[tab]ProgramName = App.EXEName

Maybe ASP or VBS has something similar.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top