Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Public Class ErrorsClass Public ex As Exception Sub writererror() 'Dim file As New System.IO.StreamWriter(Server.MapPath("..\ErrorLog.txt"), True) Dim file As New System.IO.StreamWriter(HttpContext.Current.Server.MapPath("..\ErrorLog.txt"), True) file.WriteLine(FormatDateTime(Date.Now, DateFormat.GeneralDate)) 'file.WriteLine(ex.Message.ToString()) file.Close() End Sub End Class
|What is Python programming?||3||68|
|creating threads in delphi||1||55|
|I have two projects in my VB.Net application. i need help stepping through both projects as I try to debug||4||16|
|Basic Java Case or If-Else statement...||3||13|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
9 Experts available now in Live!