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. Microsoft Access driver problem(URGENT)

Microsoft Access driver problem(URGENT)

Scheduled Pinned Locked Moved Visual Basic
helpdatabasequestion
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.
  • B Offline
    B Offline
    brindhavijay
    wrote on last edited by
    #1

    Hi, I have a database in Access 2003 and i set the password for that database.And also connect the database in VB6.0. The code Cn.open "Driver={Microsoft access Driver(*.mdb)};DBQ=c:\Sam.mdb;pwd=vijay;" vijay is password of my database.But this code not working, "couldn't find data source and no default driver specifed" this error occured. How do i solve this problem.Reply me soon plz. vijay. Learn Lot

    D 1 Reply Last reply
    0
    • B brindhavijay

      Hi, I have a database in Access 2003 and i set the password for that database.And also connect the database in VB6.0. The code Cn.open "Driver={Microsoft access Driver(*.mdb)};DBQ=c:\Sam.mdb;pwd=vijay;" vijay is password of my database.But this code not working, "couldn't find data source and no default driver specifed" this error occured. How do i solve this problem.Reply me soon plz. vijay. Learn Lot

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      It could be because you've supplied a password, but no user ID.

      Cn.Open "Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\Sam.mdb;Uid=Admin;Pwd=vijay;"

      RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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