When I hard code the path ("C:\\Program Files\\Program Name\\somename.ini") then I get an error ("Could not find part of the path \\C:\\Program Files\\Program Name\\somename.ini"). Looks like it has has added and extra str of "\\" to the path.

I am only using the emulator in VS2008 to debug this. Could this be the issue?