In your code put a mesage box displaying the file path, just before opening it.
Recompile the exe, then start the exe both ways, and see what is the difference.
Like this:
VB Code:
  1. MsgBox "File Name: " & strFileName
  2.  
  3.     Open strFileName For Input As #FileHandle%
  4.     Do While Not EOF(FileHandle%)
  5.        Line Input #FileHandle%, strArray(i)
  6.        i = i + 1
  7.     Loop