I want to ue VB to retrieve retrieve all contacts from everybodys
mailboxes in the organisation and then put those into a SQL Server
database. Any ideas?
_
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives:
(MAPI)
On Error GoTo error
Dim intContactItems As Integer
Dim i As Integer
Dim strmessageid As String
Dim strContactname As String
Dim strWebPage As String
Set mailbox = olns.CreateRecipient(sammy rashid)
mailbox.Resolve
If mailbox.Resolved Then
Set employeefolder = olns.GetSharedDefaultFolder
LDIFDE and use some sort of
merge utility to make a batch file? Just a WAG.
- Original Message -
From: Sammy Rashid [EMAIL PROTECTED]
To: Exchange Discussions [EMAIL PROTECTED]
Sent: Tuesday, July 02, 2002 9:36 AM
Subject: RE: VB - Retrieving contacts from Exchange Server
Exchange 2000
I am trying to use the code you sent and it seems to fail on the line : Set olGAL =
olNS.AddressLists(Global Address List)
Here is my code, please advise me on what I am doing wrong:
Public objRecipients As MAPI.Recipients
Public olGal As Object
Public objSession As MAPI.Session
sorry, justrealised a silly mistake!!!
-Original Message-
From: Jon Hill [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 17:01
To: Exchange Discussions
Subject: RE: VB - Retrieving contacts from Exchange Server
Your code used the Outlook Object Model, so the following code should work:
To: Exchange Discussions
Subject: RE: VB - Retrieving contacts from Exchange Server
I'm interested, what was the mistake and your fix for this.
dot
-Original Message-
From: Sammy Rashid [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 5:17 AM
To: Exchange Discussions
Subject: RE
How can i check if a folder is shared or not, can anyone help with the syntax
I am getting an error on this line: Set employeefolder =
olns.GetSharedFolder(mailbox, olFolderContacts)
so i want to see if the folder (olfolder) is shareable for the mailbox
-Original Message-
From: Jon Hill
How do you check if a contact item is a distribution list or a standard contact?
-Original Message-
From: Darren Ash [mailto:[EMAIL PROTECTED]]
Sent: 16 July 2002 16:39
To: Exchange Discussions
Subject: RE: Cannot delete Empty ABV's
Company ..
-Original Message-
From: Chris
contact.Mailbox = Mailbox
'End If
-Original Message-
From: Chris Scharff [mailto:[EMAIL PROTECTED]]
Sent: 16 July 2002 16:47
To: Exchange Discussions
Subject: RE: Contact item or distribution list
Programmatically or?
-Original Message-
From: Sammy Rashid
How do u check if a contact item is marked as private through VB?
_
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe:
or IPM.DistList
Thanks,
Toby
And the donkeys frolicked with the waffles, joyously.
-Original Message-
From: Sammy Rashid [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 11:49 AM
To: Exchange Discussions
Subject: RE: Contact item or distribution list
yes programatically
before you do the wash.
-Original Message-
From: Sammy Rashid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 7:33 AM
To: Exchange Discussions
Subject: Check if contact item is private
Importance: High
How do u check if a contact item is marked as private through VB
12 matches
Mail list logo