I try to delete a monovalued attribute with adsi and VBS. Unfortunaly, I have only found the PutEx method but it only works wth multivalued attribute.
Do you have any ideas ?
Thanks in advance
Hi,
I would like to execute an action each time a user account is locked out in Active Directory. I think that it is possible by trapping an event (perhaps a "userAccountLockedOutEvent") but I cannot find the right event.
After browsing the web during hours, two questions...
I like to lock an account in a VB Script.
I use the getObject functions of VB6 to obtain the account object from a ADSI directory and then, I use the IsAccountLocked property.
Here is my code:
Set usr = GetObject("LDAP://<URL>")
usr.IsAccountLocked = TRUE
usr.SetInfo
Set usr =...
Hello,
I have made a user form with several listbox and I try to access to the text selected in each listbox.
First, I create the following array :
TAB_ouiNon(0) = "oui"
TAB_ouiNon(1) = "non"
TAB_Format(0) = "A"...
Hello,
Is it possible to use ADSI component with openLdap and read non standard attributes ?
In fact, the rootDSE provides only the standard schema. Can we force it to provide all the schemas ?
Thank you in advance
Matthieu
A french developper
Hello,
In Visual Basic, is it possible to know if a cells has a name ?
There is the object "Name" for a range but an error occurs when we try to access to it when it does not exist.
thanks for replying
Matthieu
French developper
Hello !
I want to use ADO in a shared dynamic library. So, I create some methods to open and close a connection. Here is the code of these methods:
_RecordsetPtr RS_seat;
_ConnectionPtr CN_seat;
_CommandPtr CM_seat;
CCustomRs champBD;
IADORecordBinding...
I try to use a ADO component and export it in a DLL library. When I run it with an other program with the debugger, the only object returned 'CreateInstance' is a NULL pointer one.
Could you help me please ?
here below, the function :
MYDCLSPEC short _stdcall connectDB()
{
HRESULT hr =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.