> Is this an Outlook addin or a standalone program? What version of Outlook?
>
> If it's an addin it should be trusted, assuming you are deriving all your
> Outlook objects from the Application object passed to you in OnConnection()
> or Startup().
>
> If it's a standalone program then it's only trusted if the user has an
> up-to-date AV running. In those cases you will get the prompts unless you
> use something not under the Outlook object model guard such as Redemption
> (www.dimastr.com/redemption) or Extended MAPI.
>
> --
> Ken Slovak
> [MVP - Outlook]
>
http://www.slovaktech.com> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
>
http://www.slovaktech.com/products.htm>
>
> "AMcMillan" <AMcMillan[ at ]discussions.microsoft.com> wrote in message
> news:3E4E4713-A69A-4FEB-9A0C-4F15EE03CDDF[ at ]microsoft.com...
> > On some systems (not all, and I am not sure yet what makes them different)
> > every time I add a column to the columns collection, it triggers the
> > Outlook
> > Security Prompt.
> >
> > Here is the code I am using...nothing fancy:
> > ----------------------------------------------
> > pColumns = pTable->GetColumns();
> > pColumns->RemoveAll();
> > pColumns->Add(L"EntryID");
> > pColumns->Add(L"
http://schemas.microsoft.com/mapi/proptag/0x66700102"); //
> > PR_LONGTERM_ENTRYID_FROM_TABLE (0x66700102)
> > pColumns->Add(L"Subject");
> > pColumns->Add(L"LastModificationTime");
> > pColumns->Add(L"MessageClass");
> > pTable->MoveToStart();
> > ----------------------------------------------
> >
> > Any idea why this is happening only on some systems, and is there any way
> > for me to make it stop prompting them?
> >
> > Thanks,
> > Andrew
>
>