Create Access DB in VB.NET


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Create Access DB in VB.NET

  1. #1
    Lee Dodd Guest

    Create Access DB in VB.NET


    I need to create Access databases from VB.NET. When I include DAO as COM interop
    reference, I get the dreaded "ISAM driver" error on the "CreateDatabase"
    call. MSDN says DAO COM interop was never tested with .NET and is not supported.
    Does any one have any suggestions on how to get to the DAO functions (CreateDatabase,
    CompactDatabase, etc.) from .NET. Thanks in advance.

  2. #2
    Paul Clement Guest

    Re: Create Access DB in VB.NET

    On 16 May 2002 06:08:06 -0800, "Lee Dodd" <duckboy9@hotmail.com> wrote:


    I need to create Access databases from VB.NET. When I include DAO as COM interop
    reference, I get the dreaded "ISAM driver" error on the "CreateDatabase"
    call. MSDN says DAO COM interop was never tested with .NET and is not supported.
    Does any one have any suggestions on how to get to the DAO functions (CreateDatabase,
    CompactDatabase, etc.) from .NET. Thanks in advance.

    Have you tried using ADOX (Microsoft ADO Ext 2.x for DDL and Security) via interop?


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center