I've tried to create mailbox in exchange 2007 using code that works on 2003-version. It's much faster to create a program in VB6 then in net. So, does anyone know what I have to do to make mailbox on 2007.version with vb6?

what exactly is your requirment ?

Dim oIADSUser
strDefaultNC = "DC=Gjesdal-kommune,DC=no"
Set oIADSUser = GetObject("LDAP://CN=Finn,OU=Administrasjonsavdelingen,_
OU=Tjenesteområde internt servicesenter,DC=Gjesdal,DC=no")
oIADSUser.CreateMailbox "LDAP://CN=MB1,CN=SN1,CN=InformationStore,_
CN=Exchange01,CN=Servers,CN=Exchange Administrativ Group,_
CN=Administrative Groups,CN=Gjesdal Kommune,CN=Microsoft Exchange,CN=Services,_
CN=Configuration,DC=Gjesdal,DC=no"
oIADSUser.SetInfo

This does not work on exchange 2007.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.