RE: Configuration problems

2007-04-24 Thread Eugene Lim
Dear Ron, Thank you for your reply. I have successfully resolved the problem. The HOMEPATH environment by itself returns the directory without the drive. i.e. \DOCUMENT and SETTINGS\USERNAME Therefore to resolve this problem, we need to add a HOMEDRIVE environment variable before the homepath

Re: Configuration problems

2007-04-24 Thread Ron Grabowski
On my machine the environment variable HOMEPATH seems to always point to my home directory. Perhaps you could use that to create the path: Dim location As String = "${HOMEPATH}\APPLICATION\Log\log.txt" log4net will replace ${HOMEPATH} with the appropriate environment variable. You can also bui

Configuration problems

2007-04-24 Thread Eugene Lim
Dear all, Recently, I seem to have problems configuring the log4net. I am using Visual Studio 2003 and am developing a rich client application. I depend on the logs to tell me what the errors are when troubleshooting by remote. When I configure the settings using the xml in the app.config