Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus Notes Email Body Font Style
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00860665
Message ID:
00863179
Views:
19
Sorry, I don't think there is a way to do this, unless you switch everything to the NotesUI... classes. If you do this, Notes internal mechanism may take over to resolve the address. I don't know about this.

You could also build your own picklist functionality. Once the user types in a few keys, they could push the "Resolve" button and you could query a view in the NotesAddressBook for any matching values. If you wanted to get fancy, you could build this search capability into an "on-the-fly" mechanism and perform a search after each keystroke.

However, it seems like a lot of work for something with limited functionality. If the user is sending to a combination of Internet and Notes addresses, you may get some benefit when they type in a NotesAddress. If they only send to Internet addresses, Notes won;t be able to resolve them (and it won't even try). For this reason, I always send using Internet format. The Send process doesn't stop because of an address resolution conflict.

Regards.

>Thanks Larry,
>
>with the link I managed to get it to work.
>
>Now the user asked for one more thing. He wants to be able to write only a few charaters of the sendto field [email address] and have notes resolve the address for him with the addressbook. [just as if he was typing directly in the field in notes.]
>
>Right now I'm passing the address to notes like this
>
>
>lcEmailRecipient = ''
>lcEmailRecipient = INPUTBOX("Email address","Email ",lcEmailRecipient)
>.
>.
>.
>laSendTo[1] = lcEmailRecipient
>loDoc.ReplaceItemValue("SendTo", @laSendTo)
>
>
>How would one 'Validate' the address type in the inputbox before issuing the send?
>
>Any help appreciated
>
>TIA,
>
>Yanick
>
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform