CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    Location
    India, Tamilnadu
    Posts
    279

    DSN less connection for MSAccess

    Hi
    I am opending the SQL database as below
    Code:
    BOOL bRet = m_DataBase.OpenEx(sDSNLESS, CDatabase::noOdbcDialog | CDatabase::openReadOnly );
    I am supplying the connection string and it works good for SQL.

    But, this is not working for MSAccess. Why? Is it not possible to open and access the MSAccess database like this?

    Thanks
    Anita Eugene

  2. #2
    Join Date
    May 2002
    Posts
    511

    Re: DSN less connection for MSAccess

    What is the value of sDSNLESS?

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

Featured