Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Copying files from within a Visual Basic 5 prog

Posted on 1998-08-11
2
Medium Priority
?
161 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 20 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

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.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
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…

971 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