Click to See Complete Forum and Search --> : Setting Msaccess 2k Password Programatically


nick666
February 19th, 2003, 12:27 PM
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

Gully
March 7th, 2003, 09:28 AM
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.aspx?scid=kb;en-us;304319

for more