RegisterDatabase fails...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Wells

    #1

    RegisterDatabase fails...

    I am trying to programmaticall y create a DSN using DAO (I gave up trying to
    do it wihout DAO). I am using the line

    DBEngine.Regist erDatabase "Test DSN", "Microsoft Access Driver", False,
    "Database=C:\Te mp\Text.mdb"


    I get a message that the Access Setup Routine files are missing. I have
    MDAC 2.7 installed and DAO 3.6. What am I missing or is my code wrong?

    Thanks.

    Matthew Wells
    MWells@NumberCr uncher.com



  • Norman Yuan

    #2
    Re: RegisterDatabas e fails...

    These links may help:




    "Matthew Wells" <MWells@NumberC runcher.com> wrote in message
    news:8Ak5c.4297 3$p77.22026@big news3.bellsouth .net...[color=blue]
    > I am trying to programmaticall y create a DSN using DAO (I gave up trying[/color]
    to[color=blue]
    > do it wihout DAO). I am using the line
    >
    > DBEngine.Regist erDatabase "Test DSN", "Microsoft Access Driver", False,
    > "Database=C:\Te mp\Text.mdb"
    >
    >
    > I get a message that the Access Setup Routine files are missing. I have
    > MDAC 2.7 installed and DAO 3.6. What am I missing or is my code wrong?
    >
    > Thanks.
    >
    > Matthew Wells
    > MWells@NumberCr uncher.com
    >
    >
    >[/color]


    Comment

    Working...