CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2008
    Location
    Step Into(F11)
    Posts
    465

    [RESOLVED] Authentication Failed

    Can anyone tell me ? .Why i am getting the error authentication Failed.I am per sure .these following two line giving problem.Kindly let me know the same.
    Code:
    Con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" & datapath)
      datapath = App.Path & "\Trader.mdb"

  2. #2
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: Authentication Failed

    shouldn't this line --> datapath = App.Path & "\Trader.mdb" be before the open statement.

  3. #3
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Authentication Failed

    yep

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