JerryD Posted January 14, 2011 Posted January 14, 2011 I've been playing with using Outlook COM Objects. ObjCreate ( 'Outlook.Application' ) works fine if Outlook isn't running, but I can't figure out a way to access Outlook COM Objects if Outlook IS running. I've tried ObjGet ( 'Outlook.Application' ), but that didn't work either. I'm hoping this is just something I don't know how to do!Thanks.
MrMitchell Posted January 14, 2011 Posted January 14, 2011 (edited) ObjCreate ( 'Outlook.Application' ) doesn't work if it's already running? Have you looked at the Outlook UDF? Do a search it's here somewhere...you can learn all sorts of stuff just reading though it. I'll post when I find it for yaEdit/Add: Here's Outlook UDF link Edited January 14, 2011 by MrMitchell
JerryD Posted January 15, 2011 Author Posted January 15, 2011 ObjCreate ( 'Outlook.Application' ) doesn't work if it's already running? Have you looked at the Outlook UDF? Do a search it's here somewhere...you can learn all sorts of stuff just reading though it. I'll post when I find it for yaEdit/Add: Here's Outlook UDF link Yes, I'm using that. Funny thing about actually saying what your problem is out loud and then checking it again - sometimes you figure it out. My template file has #RequireAdmin and #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator built in. When I threw together another test that was blank it worked, and I figured out that having the security level different than my "normal" security level caused the problem. Once I removed #RequireAdmin and #AutoIt3Wrapper_Res_requestedExecutionLevel it works fine.Thanks for the help MrM!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now