Solved

Copying files from within a Visual Basic 5 prog

Posted on 1998-08-11
2
152 Views
Last Modified: 2013-11-25
Hi, can someone please tell me what the command to copy a file from within a VB program is?
0
Comment
Question by:the_top
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
jsuper earned 10 total points
ID: 1468582
Dim SourceFile, DestinationFile
SourceFile = "SRCFILE"                        ' Define source file name.
DestinationFile = "DESTFILE"                        ' Define target file name.
FileCopy SourceFile, DestinationFile      ' Copy source to target.
0
 
LVL 1

Expert Comment

by:jsuper
ID: 1468583
Do you plan on grading this answer at some point??
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question