Thread: Delegate Mode
View Single Post
  #1  
Old April 27th 06, 09:50 AM posted to microsoft.public.outlook.program_forms
[email protected]
external usenet poster
 
Posts: 2
Default Delegate Mode

How can I determine, if my custom form based on standard Appointment
form is in the "delegate mode".

I tried following code:
if Item.Organizer Application.GetNamespace("MAPI").CurrentUser.Name
Then
' This is delegate mode
BoDelegate=True
end if

It works perfectly, but in the Outlook 2002 Sp3 I receive following
message:
"A program is trying to access e-mail address you have stored in
Outlook. Do you want to allow this? ..."


Is another way to determine, if form is in the "delegate mode"?

Ads