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

Copy jpg file from source to destination folder

Status
Not open for further replies.

ITlori

Programmer
Jun 18, 2007
6
US
Hi,

From a form, I want to copy a photo (jpg) from a user's source directory and put it onto the database's server. I set up a common dialog so the user can "browse..." for the source photo. But now how can I save the photo into the destination folder? Are there VBA commands to do this? I will know the source file and destination file, but do not know the VBA commands to do this.

Many thanks in advance,
Lori
 
Have a look at the FileCopy instruction.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top