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

How do I rename and save a .jpg file (with code)?

Status
Not open for further replies.

daldous

Technical User
Feb 23, 2002
22
US
Hi,
I'm trying to display an image with the filename listed below it in a ComboBox. I want to click in the box, rename the file then save it under the new name. There does not seem to be a "SAVE" Command or Function for anything but .BMP (SavePicture) and .TXT (SaveFile)files. I really don't want to use a Common Dialog (Save) box, (I couldn't get it to work anyway).

I will greatly appreciate any help.

VB6 New User
Daldous
 
Take a look at the CopyFile method of the FileSystemObject.

Good luck,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top