Do you know if it is possible to do this?
It appears you can do this if you use a CDO session. Here is what I
found in the last 32K messages in this ng.
*****************
From: "Scott Restivo" <
[email protected]>
Subject: Re: "checknames" function
Date: Thu, 28 Feb 2002 21:40:40 -0800
Newsgroups: microsoft.public.outlook.program_forms
Have to use CDO's Resolve method to pop up the ambiguous name
resolution
box.
Also, why would you be displaying the Item? Isn't it already displayed
in
order for you to click the CommandButton2? Just curious on that.
Scott Restivo
Crow Canyon Systems, Inc.
Outlook Help Desk 2.2
http://www.outlookhelpdesk.com
**************
From: "Scott Restivo" <
[email protected]>
Subject: Re: "checknames" function
Date: Fri, 1 Mar 2002 19:49:26 -0800
Newsgroups: microsoft.public.outlook.program_forms
CDO = Collaboration Data Objects, very useful for coding Exchange and
Outlook.
You could have a text box bound to a field. When the field changes, it
kicks
off the Custom Property routine. Trap the change with that and then
take
what the user entered and add it to the Recipients collection of a
message
created using CDO. Use the Resolve method. That will pop a dialog box
if it
cannot be resolved. This is a quick and dirty overview of it, but
that's the
basic idea.
Also, using CDO, you can show the Address Book if you wanted users to
pick
a
name out of that.
If you are going to do this, you need some good books on CDO. Any of
the
Outlook programming books have a chapter on it, also there is
www.cdolive.com, also CDO.HLP on the Exchange server CD is useful. I
think
for what you are trying to do, CDO will be very helpful.
Scott Restivo
Outlook Help Desk 2.2
http://www.outlookhelpdesk.com
*****************
Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
Mukilteo, WA USA