Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Thanks Ulis!but l have another question!

Status
Not open for further replies.

jjjjffff

Programmer
Aug 3, 2003
7
CN
I have created myscript.exe file,but when I double-click myscript.exe ,there is an error:
Error sourcing /freewrap55/myscript.tcl: couldn't open "/tk/demos/images/Lb1.gif": no such file or directory

Thank you very much for your help!
 
The Freewrap documention should mention how to embed a file like an image file into the exe and how to open it.

I think that if you put the image file in the directory of the script you could make the exe with:
Code:
  freewrap myscript.tcl myimage.gif
and then, in your script, refer to the image file without any path.

HTH

ulis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top