Solved

Copying files from within a Visual Basic 5 prog

Posted on 1998-08-11
2
150 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now