Results 1 to 6 of 6

Thread: can't connect Access 2000!

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Location
    Odessa, Ukraine
    Posts
    3

    can't connect Access 2000!

    I can't connect Access 2000 with password!!!

    data.connect ="MS Access;PWD=mypassword" -works with access97 but not access2000!!!

    Pls Help!!!

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: can't connect Access 2000!

    If I remember correctly, I had to put a Service Pack in VB6 before I could access ACCESS2000.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Location
    Odessa, Ukraine
    Posts
    3

    Re: can't connect Access 2000!

    Quote Originally Posted by Pasvorto
    If I remember correctly, I had to put a Service Pack in VB6 before I could access ACCESS2000.
    Service Pack 5 installed.
    And i can access Access2000, but if database file protected with password I can't do it!

  4. #4
    Fanatic Member demotivater's Avatar
    Join Date
    Jun 2002
    Location
    is everything
    Posts
    627

    Re: can't connect Access 2000!

    VB Code:
    1. "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    2.         "Data Source=database.mdb;Jet OLEDB : Database Password = 'password'"

    Note - remove the spaces between the B and the colon, and the colong and the D in - OLEDB : Database
    Forum was creating a smily if I remove them. IE: OLEDBatabase
    Here's to us!
    Who's like us?
    Darned few, and they're all dead!

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: can't connect Access 2000!

    VB Code:
    1. "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    2.         "Data Source=database.mdb;Jet OLEDB:Database Password = 'password'"
    You can disable (per posting) the smilies in your post by checking "Disable smilies in text"
    under the Miscellaneous Options frame when replying to a thread.

    :) <-- Disabled smilie
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Location
    Odessa, Ukraine
    Posts
    3

    Re: can't connect Access 2000!

    Quote Originally Posted by demotivater
    VB Code:
    1. "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    2.         "Data Source=database.mdb;Jet OLEDB : Database Password = 'password'"
    You are talking about ADO, but i'm using DAO.
    Any way thnx.

    p/s
    Is there any boby knows how to connect ACCESS 2000 with password using "data.connect=..." ?

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