G
Guest
I am trying to develop an app using ADSI. I have the following code:
Dim ADSUser As IADsUser
ADSUser = GetObject("LDAP://CN=jonsmith,CN=users,DC=domain,DC=com")
MessageBox.Show(ADSUser.EmailAddress)
When i try and run the program, i get the following error:
Cannot create ActiveX component
Any ideas what is causing this?
Dim ADSUser As IADsUser
ADSUser = GetObject("LDAP://CN=jonsmith,CN=users,DC=domain,DC=com")
MessageBox.Show(ADSUser.EmailAddress)
When i try and run the program, i get the following error:
Cannot create ActiveX component
Any ideas what is causing this?