: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.

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.