Results 1 to 4 of 4

Thread: [RESOLVED] Porting Access database application from VB6 to VB.NET

  1. #1

    Thread Starter
    Fanatic Member paulorton's Avatar
    Join Date
    Aug 2006
    Location
    West Wales
    Posts
    809

    Resolved [RESOLVED] Porting Access database application from VB6 to VB.NET

    My VB6 application uses ADO 2.5 to interact with an Access 2003 database. I now have Office 2007 and VB 2010 Express and wish to rewrite the application in VB.NET.

    Two basic questions - should I convert the database to 2007 or leave it alone, and if I do move to 2007 what should I use to connect to it?

    If I stay with 2003 do I continue with ADO 2.5 or use a later version (or even something different)?.

    Thanks in advance!
    Paul Orton
    VB6
    Visual Web Developer 2008 Express Edition
    Microsoft Visual Basic 2012 Express

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Porting Access database application from VB6 to VB.NET

    Either way you abondon ADO 2.5 and use ADO.Net. As for the database backed use which ever you want.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Porting Access database application from VB6 to VB.NET

    Office 2007 introduced a new database engine to support the new file types. If you use the Office 2007 format (ACCDB) then you will need to use the ACE OLE DB provider to connect rather than Jet. If you stick with the old format (MDB) then you can use Jet or ACE. There's probably nothing to be gained by migrating from MDB to ACCDB, plus Jet is part of Windows while ACE requires separate installation either on its own or with Access. As such, I'd probably leave the database as is.

    You certainly will use ADO.NET regardless though. You should check out the FAQ thread at the top of this forum and read the .NET section.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Fanatic Member paulorton's Avatar
    Join Date
    Aug 2006
    Location
    West Wales
    Posts
    809

    Re: Porting Access database application from VB6 to VB.NET

    Thanks to you both!
    Paul Orton
    VB6
    Visual Web Developer 2008 Express Edition
    Microsoft Visual Basic 2012 Express

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width