Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleConvert an Access database to Access2002
DescriptionThis example shows how to convert an Access database to Access2002 in Visual Basic 6.
KeywordsAccess, Office, Microsoft Office, MS Office, convert
CategoriesOffice, Database
 
Select Project\References and add a reference to Microsoft Access 10.0 Object Library. Create an Access.Application object and use its ConvertAccessProject method to convert the database to a new version.
 
Private Sub cmdConvert_Click()
Dim app As Access.Application

    Set app = New Access.Application
    app.ConvertAccessProject txtSource.Text, txtDest.Text, _
        acFileFormatAccess2002
    MsgBox "Done"
End Sub
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated