Solved

Copying files from within a Visual Basic 5 prog

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 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