I am using Visual Web Developer from VS2005.
I want my web page to open a sequential log file and write a record into it. I have the following code which executes. However, I have no idea where the record is written. This is my vb code:
Dim writer As StreamWriter = _
writer.WriteLine("This is a sample log record.")
I want the file admit.log written in my web root directory. I need to determine the path to that directory. I need something like the VBSCRIPT Server.MapPath.
Any ideas? Thanks in advance