CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2000
    Location
    Romania, Cluj-Napoca
    Posts
    57

    Setting Msaccess 2k Password Programatically

    I wonder how to set MSACCESS password programatically.
    I use Visual C++. Should I use a specific interface, should I use ADO, ADOX ????? I have no clue about.
    Please, if it is possible to send me some source code or point me to a location where I can find the source code cause I do not know ADO , COM/DCOM and stuff.

    10x in advance

  2. #2
    Join Date
    Mar 2003
    Location
    Dublin
    Posts
    9
    Sorry Vb only ... never liked C

    Dim cat As ADOX.Catalog
    Dim usr As ADOX.User

    Set cat = New ADOX.Catalog
    cat.ActiveConnection = CurrentProject.Connection
    Set usr = cat.Users(strUser)

    Check out
    http://support.microsoft.com/default...b;en-us;304319

    for more

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