Question

Locked

A message after "myOlApp.GetNamespace("MAPI").CurrentUser"

By aline ·
Dear all
I'm using the code
myOlApp.GetNamespace("MAPI").CurrentUser
to get the name of an e-mail account name
but a worming message appear said "A Program trying to access e-mail information ........."
does any one have an idea to not let this message appear ???????????????? please SOS

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

From Outlook Security Patch

by Wayne M. In reply to A message after "myOlApp. ...

It sounds like you are using Microsoft's Simple MAPI. These pop ups were added as a security patch a while ago (see
http://peach.ease.lsoft.com/scripts/wa.exe?A2=ind0005&L=mapi-l&D=0&T=0&P=12364 )

The solution is to rewrite into Extended MAPI or CDO. I haven't done anything with address books, but you can probably turn up some stuff with a google search on Extended MAPI, also do a search at the MSDN site ( http://msdn2.microsoft.com/en-us/default.aspx ) and the MAPI-L mailing list site from the first link.

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums