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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not open the image

Status
Not open for further replies.

waistcoat

Programmer
Aug 2, 2003
15
CN
Hi,all
I have craeted the exe file,but it can not open the image ,can someone give me a reason?
Error sourcing /freewrap55/robotcar.tcl: couldn't open "/tk/demos/images/Lb1.gif": no such file or directory
thanks
 
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