Coming from a Visual Basic 6 background I used to make ADSI requests like this:
But in Visual Basic 2008 I get errors:Code:Dim Container As IADsContainer Container = GetObject("LDAP://ou=Users,dc=RISCPL,dc=local") Container.Filter = "user"
"A first chance exception of type 'System.Exception' occurred in Microsoft.VisualBasic.dll"
"Cannot create ActiveX component."
Having only just installed and started working with 2008, I am guessing I am missing something obvious to get this to work.
If anyone could help out and tell me where I am going wrong, I would very much appreciate it.


ADSI and VB 2008 Error "Cannot Create ActiveX Component"
Reply With Quote

Bookmarks