Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VBA hide password window in access 2003[modified]

VBA hide password window in access 2003[modified]

Scheduled Pinned Locked Moved Visual Basic
databasehelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    torNAdE
    wrote on last edited by
    #1

    hi all. i create a database in access 2003 and i made a password for opening. so when i open the base the user has to type the password. i made a macro which i called it Autoexec and i add on it the action runcode which is like this: Dim db as Dao.DataBase Set db = DBEngine.OpenDatabase("C:\MaBase.mdb", False, False, ";pwd=password") db.Close i wrote this code in order to hide the password window when i open the base. but it stills appear so does someone may help me to hide the pessword window? thanks -- modified at 4:37 Wednesday 2nd August, 2006

    S 1 Reply Last reply
    0
    • T torNAdE

      hi all. i create a database in access 2003 and i made a password for opening. so when i open the base the user has to type the password. i made a macro which i called it Autoexec and i add on it the action runcode which is like this: Dim db as Dao.DataBase Set db = DBEngine.OpenDatabase("C:\MaBase.mdb", False, False, ";pwd=password") db.Close i wrote this code in order to hide the password window when i open the base. but it stills appear so does someone may help me to hide the pessword window? thanks -- modified at 4:37 Wednesday 2nd August, 2006

      S Offline
      S Offline
      Stephen McGuire
      wrote on last edited by
      #2

      Are you trying to open a password protected access database from VB.NET? One thing to remember, if you have the database set to 'compact on close' the password window will re-appear. Steve

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups