• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

Copying files from within a Visual Basic 5 prog

Hi, can someone please tell me what the command to copy a file from within a VB program is?
0
the_top
Asked:
the_top
  • 2
1 Solution
 
jsuperCommented:
Dim SourceFile, DestinationFile
SourceFile = "SRCFILE"                        ' Define source file name.
DestinationFile = "DESTFILE"                        ' Define target file name.
FileCopy SourceFile, DestinationFile      ' Copy source to target.
0
 
jsuperCommented:
Do you plan on grading this answer at some point??
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now