>Hi
>
>I am able to automate Lotus notes to send Mail, but I really need the user to choose the recipient of the mail.
>
>Does anyone know how to do this ?
>
>I havde tried leaving out the "sendto" parameters, but it still does not work.
>
>Hope someone can help
>
>Regards
>Steven Bowskill
Steven,
WHat is the user choosing from? If it is a view in Notes, you can read the view using automation techniques and display the necessary information for the user to select from.
If that is not an option, you may be able to work with the NotesUIWorkspace object. Using this in automation makes the Notes interface reflect what you are doing. At some point, you may be able to bring the Notes window forward (see SetForegorundWindow in WinAPI section) and allow the user to complete the send.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao