473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Search outlook address book from VB.NET

seraieis
I'm trying to search the global address book at my company (over 56,000 entries) based on a user name input into a text field. Is there a built in serach method that I'm missing, or would I have to sort the entire list and use a binary search?

Expand|Select|Wrap|Line Numbers
  1.         Dim o As Outlook.Application
  2.         Dim ns As Outlook.NameSpace
  3.         Dim al As Outlook.AddressEntries
  4.         Dim entry As Outlook.AddressEntry
  5.  
  6.         o = CreateObject("Outlook.Application")
  7.         ns = o.GetNamespace("MAPI")
  8.         al = ns.AddressLists.Item("Global Address List").AddressEntries
  9.  
  10.         'sort and search
  11.  
Aug 30 '10 #1
0 1343

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Phil Stanton | last post by:
Can anyone give me sone code to add addresses from a query to an Outlook Address book. The problem is that I want to add the new email addresses to a distribution list, not to the main email list ...
4
by: sfriedman | last post by:
I've heard that there was a linking utility that would permit me to link a table or query to my outlook address book. Can anyone tell me where to find this linking utility and how it works? The...
0
by: Adhiraj | last post by:
Hi, Does anyone hav any idea on how to access Microsoft Outlook Address Book thru' C#? Thanks in advance, Adhiraj.
0
by: Bob Avallone | last post by:
MetaPro Systems Inc. Visual Studio Dot Net Tips & Tricks #3 – Direct Access to Your Outlook Address Book. Project Type: VS.NET Windows Application Code Behind: Visual Basic I have a project...
0
by: Allophylus | last post by:
Hi, I am developing a simple utility that will queries Active Directory and generate a folder in the users MS Outlook 2000 with the respective users' contacts and distribution list. Everything...
4
by: mattkorguk | last post by:
Good morning All, I have built a small database usage utility which basically shows who logged into the Db, when and what version was used. I'm bringing back the users log on Id such as...
4
by: Alexander Szigetvary | last post by:
Hi NG! Is there a way to open the Outlook address book dialog (as in Outlook) using C#? I am using Outlook 2003 (MS Outlook 11.0 Object Library). In Outlook 2007 it can be done with...
1
by: Lpitt56 | last post by:
I am running MS Access 2007 and I want to update an Outlook Address book from my Access Database. I started out by importing the Outlook Address Book as a linked table and it linked fine. I then...
10
by: Mike Miller | last post by:
Hi, Am wanting to send email with php and need to access the global outlook address book. Are there any examples/tutorials on how to do this? M
1
beacon
by: beacon | last post by:
Hi everybody, I'm sure that everyone cringes when they see "email" in the subject for posts in the forum, but I'm hoping that what I'm trying to do is different enough to present a challenge...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.