473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

copy file from "The path chosen by the user" to Specified folder by programmer

Hi Guys

Is there a way of copy and pasting a file such as a Word document, pdf, image, or Database, from "The path chosen by the user" to "Specified folder by programmer" on your hard drive using Microsoft Access.

Thanks for any help that you may offer
Jun 2 '15 #1

✓ answered by Seth Schrock

Use the FileCopy() function.
Expand|Select|Wrap|Line Numbers
  1. FileCopy(Source:="", Destination:="")
Just put the proper file paths in between the double quotes.

3 1290
Seth Schrock
2,965 Expert 2GB
Use the FileCopy() function.
Expand|Select|Wrap|Line Numbers
  1. FileCopy(Source:="", Destination:="")
Just put the proper file paths in between the double quotes.
Jun 2 '15 #2
i am asking for a way to select a file by user.. and then automatic paste file to Specified folder by programmer.. Please put a sample code to help me .. thanks
Jun 2 '15 #3
Seth Schrock
2,965 Expert 2GB
Are you talking Windows user or a user in your database? Are the folders for each programmer in some table? As of right now, you haven't provided enough information to give sample code.
Jun 3 '15 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Grey | last post by:
I have a ASP.NET web application which is required to copy file from windows server to Novell Netware server. I have used impersonation to connect to Netware server. The application works fine when...
1
by: Darryl Kerkeslager | last post by:
On a split mdb setup, is there any way to make the BE mdb export a table to an Excel or text file *on the BE*. IOW, can I achieve the same sort of near instant export from the BE mdb to a server...
2
by: JirkaJ | last post by:
Hello, is it possible(and how?) to make a new database in a specified folder - i.e. /home/me/mysqldb? or how may i install mysql on debian to use this folder for data files? thanks j.
4
by: JonniP | last post by:
Hi Am using Call Shell("explorer.exe c:\", vbNormalFocus) this works fine however i have the folder location stored in a txt field and would like the button to retrieve that location Private...
2
by: jonathan184 | last post by:
how to move one file at a time to another folder. I am trying to one file at a time for every 30 minutes. So far the script is transferring all files at the same time and the source folder...
8
by: Hengiccs | last post by:
Hello, I'm a beginner for vb.net. Now i have to create a ftp function that allow me to right click on a file and click on the option on the right click menu to ftp the file to a server. Can...
2
by: CGatto | last post by:
Hi, We have just started getting the following error during compiles of our forms-based application. We are developing in VS2008, VB.Net, with Team Foundation Server-based source control. ...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
2
by: BigSky | last post by:
Created perl script to query oracle db to get directory path and file name. The script will form an UNC path to copy file to appropriate directory via a while statement and foreach loop. Script works...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.