Recent content by flanderp

  1. F

    exchange attribs

    Bit more information as to why I need to do this .... If I create a user in AD and the try to create the mail box with vb.net or vbscript ex Dim oIADSUser Set oIADSUser = GetObject("ldap://CN=fred tft,OU=Students,DC=hub,DC=TCAT,DC=NETWORK") oIADSUser.CreateMailbox "ldap://CN=Staff...
  2. F

    exchange attribs

    Hi, Does anyone know of any examples for removing exchange attribs from a user in AD. If I select exchange tasks on a user I am given the option to remove exchange attribs from the selected recipient. I need to do this in code I have googled but can not find any examples. Thanks Paul
  3. F

    createMailbox "unspecified error"

    given up Tried everything Going to open a ticket with Microsoft, the code worked for a year and after patching and updating AD and Exchange it stopped working I will update this post when I get a solution. Thanks Paul
  4. F

    createMailbox "unspecified error"

    ahh maybe this is where im going wrong the getusersOU(username) simply returns eg CN=paul,OU=Staff,DC=hub,DC=tcat,DC=network It doesnt set anything , the users ad account is already fully populated when i read the MS example they used a sub called CreateUserURL when i looked at the sub the...
  5. F

    createMailbox "unspecified error"

    Bit more info The entire program consists of a module and a class the class (tcatlibs) holds all of the common functions including the above CreateExchangeAccount(ByVal username AsString, ByVal acctype AsString) ' Returns true or false as bool tcatlibs is then added as a reference and...
  6. F

    createMailbox "unspecified error"

    Whoops Should have said , tcatlibs.dll is my own class which holds all my common functions. Paul
  7. F

    createMailbox "unspecified error"

    Still having problems :-( hi, After running regsvr32 on the 3 dlls the CDO.Person became available (thanks) so I have read through the article and come up with the following code. PublicReadOnlyProperty CreateExchangeAccount(ByVal username AsString, ByVal acctype AsString) ' Pass in the...
  8. F

    createMailbox "unspecified error"

    CDO.Person Hi, Thanks for the reply, I am using the examples from the 2nd (Microsoft) link you posted , but having a problem with the syntax CDO.Person I can not see in the article what I need to ref so guessed and added the line Imports CDO But Person isnt listed under CDO Any...
  9. F

    createMailbox "unspecified error"

    Hi, Hope that I am posting this in the correct place:-s I have a problem with some code I wrote a while ago which imports students from an oracle database and creates the users account within Active Directory. For some reason the code has stopped working and when I debug the code It always...
Top Bottom