Suppress Outlook permissions warning in MS Access -
sometimes when using outlook subroutines ms access i'll permission prompt:
"a program trying access e-mail address information stored in outlook. if unexpected, click deny , verify antivirus software up-to-date."
with option allow access 1 minute 10 minutes. there way can either ignore prompt automatically or set auto-choose 10 minutes each time?
the way know of using rdo use in vbscript , ruby, vba possible.
here example in vbscript lists contents of pst file.
set session = createobject("redemption.rdosession") file = "c:\test\archive_test.pst" call session.logonpststore(file) set ipmroot = session.stores.defaultstore.ipmrootfolder total =0 subtotal = 0 each folder in ipmroot.folders wscript.echo "" wscript.echo folder.name wscript.echo "" each msg in folder.items wscript.echo " " & msg.subject & " " & msg.size & " " & msg.senderemailaddress subtotal = subtotal + msg.size next wscript.echo "subtotal: " & formatnumber(subtotal,0) total = total + subtotal next wscript.echo "total: " & formatnumber(total,0)
Comments
Post a Comment