It might be a path problem. Do you refer to the .txt file relatively? or with a absolute path. If the first then your text file will be made not next to the exe but in to the directory the exe is unpacked and then executed (somewhere in the c:\windows\temp). You can solve it by doing a absolute path or using viz.getPublishedPath()
|