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

how can copy files from vb code

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
is any statements that do it:

i wanna copy my database.mdb from a computer \\computer\mypath\database.mdb to another computer \\computerb\mypath\database.mdb.

is any easy form,
or if i wan to rename this, how can.

any idea or suggestion, will be apreciate so much

thak´s for alll
 
Call FileCopy("d:\banking.mdb", "d:\anotherbanking.mdb")
 
Call FileCopy("d:\banking.mdb", "d:\anotherbanking.mdb")

If you need to copy over a network be sure the permissions are set correctly.
 
the filecopy is a API,if yes, where can find all the API, for learn about it...

thank´s for your reply
 
the filecopy is a API,if yes, where can find all the API, for learn about it...


because, i want copy,rename,delete and so,so...
thank´s for your reply
 
Renaming? Simple:

Name &quot;<old_name>&quot; As &quot;<new_name>&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top