Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hai


How to migrate old Access with new Access in vb.net with table and coloums .
Note: in vb.net windows application.not any tool or any other option form access itself.



Regards
Aravindb
Posted
Updated 20-Nov-13 14:31pm
v2
Comments
Thomas ktg 20-Nov-13 7:18am    
What do you mean by old Access with new Access? Could be little more in detail.
Aravindba 20-Nov-13 20:38pm    
yes,we are upgrading the project,so currently customer using project and have data in access db.in new upgrading access db i am adding new table and also column in existing table and copy all data from old db and paste in new db,so manually we cant copy form old access db to new access db,so only way to migrate new db with old db.

1 solution

I'm not sure, what you want to achieve, but... there are 2 methods:
1) copying database file
2) creating new database file and copying objects from old one

Please, see:
Copy or move an Access file[^]
Export a database object to another Access database[^]
Back up a database[^]
How To Automate Microsoft Access From Visual Basic .NET[^]

VBA related functions:
TransferDatabase[^]
CopyDatabaseFile[^]
CompactRepair[^] (recommended)
 
Share this answer
 
Comments
Aravindba 20-Nov-13 20:34pm    
thnak for ur reply,my need in codings vb.net
Maciej Los 21-Nov-13 10:45am    
And... what kind of problem do you have?
Aravindba 21-Nov-13 20:01pm    
the above link are only copy data by access option ,but i need in vb.net codings,not inbulit tools or option in access databse.
Maciej Los 22-Nov-13 1:42am    
What's wrong with inbuilt functions, if you can automate Access using VB.NET?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900