PDA

Click to See Complete Forum and Search --> : Outlook Attachments and warning messages


nastya
Aug 18th, 2005, 02:07 AM
Hi :wave:
I'm writing Add-in for Outlook, and i have 2 questions:
1) How can i prevent opening some attachments ? I catch Att_Read event, check if i want/don't want to open the attachment and i don't know what should i do next in second case...

2) When i run the add-in in Outlook 2003 , i got message like this: "A program is trying to access e-mail addresses you have stores in outlook.Do you want to allow this?" and then warnings about viruses...

As i can assume i can do nothing with this.. But maiby the customers can? The problem is that from the OL we can permitt the access olny for 10 min..
And every 10 min the message shows up again... :(

Thanks,
Anastasia

Ecniv
Aug 18th, 2005, 03:32 AM
1) No idea. Just had a look and the only event was with coding and not scanning for user opening. If you catch it, is it a function you can send back true to say you dealt with it? or is there a variable cancel?

That message (2) is MS with a security patch that lets the user know if something is trying to use the email/contacts list. To try and reduce viral attacks. As far as I know you cannot do anything about it, unless there is a security setting of low which then opens more possibilities for attacks.

Just let the users know about it, and say you will investigate a better route for the future. The research to see if there is anyway around and provide your research results to the users/customer.

nastya
Aug 18th, 2005, 04:16 AM
It's too bag :'(
Even seting securety to low didn't help.
If OL allows to write Add-ins for it , it allows to access different objects from the code, including Address Book, how can it be that in run time it generates this warnings and there is nothing to do with them???

The customers will freak out every 10 min see this warning .
:(

Ecniv
Aug 18th, 2005, 04:25 AM
There was a bit about signing the macros/addins - perhaps if you sign it that and tell outlook that the signing is trustworthy you won't get the messages?

nastya
Aug 18th, 2005, 05:20 AM
I've found some: this messages resulted by new (for me:) Microsoft Security Form..
Here some info: http://support.microsoft.com/kb/290500/EN-US/

I'm still looking for 'attachment' answer ..