0

:eek: I wrote a script which access my mails from outlook.But it suddenly pop's up a box which asks for allowing the access to the mails.
I want to suppress that pop up window.How can I do it?
Its very urgent please provide the reply urgently!
Thanks in Advance.

1
Contributor
1
Reply
2
Views
11 Years
Discussion Span
Last Post by bhavna_816
0

I got the solution for this in .net.The syntaxes there are

Visual Basic.NET
OlSecurityManager.DisableOOMWarnings = True
Try
... any action with protected objects ...
Finally
OlSecurityManager.DisableOOMWarnings = False
End Try

C#
OlSecurityManager.DisableOOMWarnings = true;
try
{
... any action with protected objects ...
}
finally
{
OlSecurityManager.DisableOOMWarnings = false;
}


Delphi
OlSecurityManager.DisableOOMWarnings := True;
try
... any action with protected objects ...
finally
OlSecurityManager.DisableOOMWarnings = False;
end;


I need the same code in Perl.Can anybody know this?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.