CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1999
    Location
    India(Country) Maharashtra(State) Mumbai(City)
    Posts
    2

    Accessing a password protected database

    I have a VB application with Ms Access as the backend. The database is constantly being updated.
    In order to prevent any unauthorised person from changing the database through the backend(Through Access).I have made my database password protected.The Forms through which the data is added to the database are working properly with the password .For the reporting Crystal reports are used.But Crystal reports are not able to connect to the backend if the password condition is used.

    I would be highly obliged if somebody could provide a solution to htis problem.Any code would be most welcome.
    Thanks



  2. #2
    Join Date
    Jan 2000
    Location
    Belgium / Europe
    Posts
    8

    Re: Accessing a password protected database

    The password property doesn't work for access passwords, you have to use the connect property.
    ex. if your password is test the property becomes
    ;pwd=test
    this should work with version 5 to 7


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