Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 7th, 2005, 03:04 AM
Authorized User
 
Join Date: Jan 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to yeetesh
Default copy an access database and then rename it .

In my project I want to make a copy of my existing database and then rename it.How can i do that using vb 6.0 .
A quick reply will be highly appreciated .:)

 
Old January 7th, 2005, 04:40 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Code:
FileCopy source, destination
source Required string specifing the name of the file to be copied.
                The source may include directory or folder, and drive.

destination Required string specifing the target file name.
                    The destination may include directory or folder, and drive.

If you try to use FileCopy on an open file, an error occurs.





Similar Threads
Thread Thread Starter Forum Replies Last Post
copy an access database and then rename it . yeetesh VB Databases Basics 4 December 27th, 2007 09:26 AM
Copy worksheet to another workbook and rename it Probleminfinity Excel VBA 1 August 19th, 2007 11:38 PM
copy and rename red_fiesta Classic ASP Professional 1 November 8th, 2006 11:00 AM
NEWBIE: Copy and Rename arthurb XSLT 3 April 12th, 2006 01:00 PM
Making Copy of Current Access Database peterf VB Databases Basics 5 November 23rd, 2004 07:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.