[RESOLVED] Save File advise needed
Hai,
i have a jpg image in my app.path
now i have a button in my form. when the user click that button,
i should be able to allow the user to save this image to anyware on the hardrive with any name.
i am using a commondilog control for this. setuped the filter and file path.
but dont no then how to copy my image to user selected location.
pls help.
Re: Save File advise needed
There are probably simpler ways, but I generally use the FileSystemObject in the Microsoft Scripting Runtime Library.
There's plenty of stuff on the forums about that.
Re: Save File advise needed
javajawa,
i just feel using a common dialog would be really easy for me.
is it posible to catch the user saved location in the common dlg after he hit save?
so i can just copy the file form my app path to his selected location.
Re: Save File advise needed
Oh, that's simple enough. The location the user chooses is put into the filename property of the commondialog control.
Re: Save File advise needed