VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get Outlook 2002 Contact Info

Erica Ziegler-Roberts  (1 Submission)   Microsoft Office Apps/VBA   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

I wrote a program that gets contacts from Outlook, although it worked in Outlook 2000, it did not work in 2002. This code also works in 2002, without the Outlook Object 10.0. You can use 2000's 9.0 Object Library and it still works. This caused me so much trouble, I hope it helps someone else. Please leave comments or vote if it helps.

Assumes
Assumes you have added Microsoft Outlook Object Library 9.0 or 10.0 as a reference. And your form contains a listbox named list1.

Side Effects
Not sure if it works with VB 5.0.

API Declarations
Dim contArray()
Dim ol as Outlook.Application

Rate Get Outlook 2002 Contact Info (7(7 Vote))
Get Outlook 2002 Contact Info.bas

Get Outlook 2002 Contact Info Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters