Unable to get rid of the Security warnings even the code is present

Add-in Express™ Support Service
That's what is more important than anything else

Unable to get rid of the Security warnings even the code is present
 
Pavan Kumar Gudimella Pavan kumar




Posts: 1
Joined: 2005-06-06
Hi,

This is Pavan kumar, i had used the Security warnings developer tool for getting rid of the security warnings. I had done all the reqd. things and placed the code SecurityManager.DisableOOMWarnings = True wherever reqd. but its working only in some areas and for others its not all considering the code. When i try to debug this it says True=True.

Iam using it for Active X, COM-ADDIN.

Iam herewith sending the code module where iam getting the problem.

SecurityManager.DisableOOMWarnings = True
Set objReciepients = objItem.Recipients
SecurityManager.DisableOOMWarnings = True
'
For index = 1 To objReciepients.count
Set objReciepient = objReciepients.Item(index)
'SecurityManager.DisableOOMWarnings = False
sEmailId = objReciepient.Address
'SecurityManager.DisableOOMWarnings = True
If InStr(1, sEmailId, "@", vbTextCompare) <= 0 Then
sEmailId = GetCdoEmailId(objReciepient)
End If
If (index = 1) Then
sEmailIds = sEmailId
Else
sEmailIds = sEmailIds & "," & sEmailId
End If
Next

My system config. is Windows 2000 with SP-4. Iam registered user for this tool.

Iam using the Outlook Security Manager, ActiveX Edition, Version 1.2.

Please suggest me.

Thanks,
Pavan kumar
Posted 06 Jun, 2005 06:18:01 Top
Dmitry Kostochko


Add-in Express team


Posts: 2740
Joined: 2004-04-05
Hi Pavan kumar,

It seems you use VB6 and your code above should work. But why do you call twice DisableOOMWarnings = True? Security Manager ActiveX Edition has the COMAddIn demo project written in VB6. Could you please compile it, register it via regsvr32 and test it. And sure you can send us your project (or any test project with the similar behavior) and we will try to find and fix the cause of such behavior.

Posted 06 Jun, 2005 06:48:28 Top
Pavan kumar


Guest


Hi Dmitry Kostochko,

Iam using the VB6 only, and iam sorry, for testing it i had written it twice or even thrice as it was not working.

But when i try to de-bug the above code it shows me DisableOOMWarning(True=True) but still i get the security alert message.

How should i send the project for you? when i try to send it with this mail,i do not see any attachments here, please advice me.



Thanks,
Pavan kumar
Posted 07 Jun, 2005 02:52:54 Top
Dmitry Kostochko


Add-in Express team


Posts: 2740
Joined: 2004-04-05
Hi Pavan kumar,

I have just sent an e-mail for you, please check your mailbox.

Posted 07 Jun, 2005 03:21:57 Top
Gudimella Pavan kumar


Guest


Hi Dmitry Kostochko,

I checked my mail, there was a mail which was to send the project to (REMOVED)@add-in-express.com. I had sent my project to this as well as you.
After this i did not get any mail. My mail id is (REMOVED)@frk.com.

Thanks,
Pavan kumar
Posted 07 Jun, 2005 03:45:59 Top
Dmitry Kostochko


Add-in Express team


Posts: 2740
Joined: 2004-04-05
Hi Pavan kumar,

I didn't receive any emails from you. I have just emailed you once again, please reply that email.
Posted 07 Jun, 2005 06:48:48 Top
Dmitry Kostochko


Add-in Express team


Posts: 2740
Joined: 2004-04-05
Hi All,

The problem is solved. The security warnings resulted from accessing the protected properties via CDO, so setting DisableCDOWarning = True helped.

Posted 08 Jun, 2005 06:58:45 Top