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
3 Posts 3 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

    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 is 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

    S D 2 Replies Last reply
    0
    • B brindhavijay

      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 is 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

      S Offline
      S Offline
      Steve Pullan
      wrote on last edited by
      #2

      Hey, posting the same message three times won't get you an answer any sooner! Have you looked up the error? What does it say? (Hint: the driver may be incorrect or a wrong path to your MDB file :-) ...Steve "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." (Translation: I'll show you the way, but not write the code for you.) I read that somewhere once :-)

      1 Reply Last reply
      0
      • B brindhavijay

        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 is 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
        Divya Rathi
        wrote on last edited by
        #3

        If ODBC is not working , try OLE DB to connect to Access . That is more easy to work . Divya Rathi

        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