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:
MsgBox "File Name: " & strFileName Open strFileName For Input As #FileHandle% Do While Not EOF(FileHandle%) Line Input #FileHandle%, strArray(i) i = i + 1 Loop




Reply With Quote