The LogFilename is generated as follows:
Expand|Select|Wrap|Line Numbers
- Dim LogFileName as String = Path.Combine(My.Application.Info.DirectoryPath, "MyLogFile.log")
Then I write out the lines with
Expand|Select|Wrap|Line Numbers
- IO.File.WriteAllLines(LogFileName, LogLines)
Could this be an issue where the exe needs to be run as an administrator?
Perhaps my.application.info.directorypath is returning something bogus on the end-users sysem...?