CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Posts
    2

    Please reply VB6

    Hi,
    I am developing an application in VB6 accessing an Access 97 database. Now I am going to start developing the security part of the application and I have several questions:

    1- Can I use access security from VB6: Adding new users, deleting, etc. Also new user groups. In other words can I control the security from VB6 the same way that I do
    it from access.

    2- Also I am going to need to count the number of users that are accessing the database every time a new user tries to sign on in the application. I am trying to limit the
    maximum number of user to 5. (I am using dataenviroment in case you need to know).

    I really hope some body can help me,

    Thanks in advance…

    Alvaro


  2. #2
    Guest

    Re: Please reply VB6

    To the best of my knowledge, you cannot use Access security procedures from a VB program. Normally, when I use an Access database with VB I just put a database password on the Access database and then pass the password to the database when I open the connection. This allows me to proxy the users into the database.

    To keep track of the users using the database, many ways to do that. Easiest would be to simply increment and decrement a field in a table.

    Hope this is of some help.



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