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!

Saving images...

Status
Not open for further replies.

Baixinha

Programmer
Dec 27, 2000
122
BR
I have a image in my interface and I'd like the user could click there and save this image to your machine.

For example:
The user click on the image and open a screen where he can choose the place where he can save this image.

How can I do this?
Anyone can help me?
 
You doing this from shockwave for an .exe file?
I have some ideas but don't want to work them through for the wrong environment. I don't really know how to do this but I think we should be able to work it out.
 
At the end I'll have a .exe file. I'm working in a interface to a multimedia project.

My project is pretty much like this:

I have some little images when the user click on button save, will open a dialog box to save this image (but the image that will be saved is the bigger - another external file)
 
I haven't had time to reseach this one yet but just a quick solution (for windows) would be to use a .bat file.

in director you would call
open("copyimage.bat" && imagename && imagetarget)
imagename and imagetarget would need to be full paths.

then your batch file would look something like

@echo off
copy %1 %2




now, to select where you want to put it is a tad more interesting. There are probably xtras that do all of this so you may want to look into that. Other solutions would be to have an external program do this for you, Visual Basic could be used to write a program to do this in about 5 mins. If your after a pure lingo solution, or need mac support then its going to take some time, but I am reasonably sure it can be done. If your happy with a Visual Basic solution but can't write it yourself I would be happy to throw something togeather for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top