borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Retrieving Info)Next Topic (Using Access with VB6) New Topic New Poll Post Reply
AndreaVB Forum : VB General : How to make a copy of an existing Acess Datasbe witn new Name ?
Poster Message
ahmad
Level: Master

Registered: 03-02-2003
Posts: 120

icon How to make a copy of an existing Acess Datasbe witn new Name ?

Good Day...

I need to make an option in  my form that whenever user
Press the button,System asks for a new Name and then
Make a Copy of an existing Sample MS Access Database with that new name.

Thanks


____________________________
@#@#@

13-09-2006 at 05:14 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
shahidmojid
Level: Professor

Registered: 09-05-2002
Posts: 85
icon Re: How to make a copy of an existing Acess Datasbe witn new Name ?

What software do you use? VB6 / VB.Net / C# .... ?

Shahid

13-09-2006 at 11:09 AM
View Profile Send Email to User Show All Posts | Quote Reply
ahmad
Level: Master

Registered: 03-02-2003
Posts: 120
icon Re: How to make a copy of an existing Acess Datasbe witn new Name ?

i am using VB6 ,i have done it by using
File system object
Dim FS As New FileSystemObject
Call FS.CopyFile("C:\abc.mdb", "C:\xyz.mdb" , True)
Thanks for the reply.


____________________________
@#@#@

18-09-2006 at 10:15 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1616
icon Re: How to make a copy of an existing Acess Datasbe witn new Name ?

And does that not work (I don't copy files that way so don't know offhand)?

If it does, I'm not sure what you need help with.

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

21-09-2006 at 05:50 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
ahmad
Level: Master

Registered: 03-02-2003
Posts: 120
icon Re: How to make a copy of an existing Acess Datasbe witn new Name ?

it worked ,actualy i found this code after i posted my question at andreavb.Posted the Solution so that if anyone wants to use it for a reference

____________________________
@#@#@

25-09-2006 at 06:03 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : How to make a copy of an existing Acess Datasbe witn new Name ?
Previous Topic (Retrieving Info)Next Topic (Using Access with VB6) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder