Solved

Setting Outlook 2007 options with script or VBa

Posted on 2009-05-15
2
805 Views
Last Modified: 2012-05-07
How can i set up Outlook options using VB or VBScript.
I am using a VBScript to import user files onto their new computers and run the prf file to configure outlook 2007.
We need do do some additional Outlook configuration. ie:
-Set time for "Schedule an automatic send/receive" to every 3 minutes
-Set the default address book to be the one found in the pst.
-Set the "Reading pane" to bottom
-Set junk email filter to High.

I have looked at the Outlook object references online and cant find any examples (that i understand) that access these outlook settings with Vba or Script.
I am an experienced scripter and dabble in VBa.
Can anyone point me to some examles of accessing Outlooks standard options?
I prefer vbScript but anything would be helpfull.
Or
am i missing some settings that can be configured in the prf file?
0
Comment
Question by:igallichan
2 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 24403341
Hi, i gallichan.

Unfortunately this isn't possible for everything you listed.  Microsoft hasn't exposed the necessary properties/methods for scripting items 1, 2, and 4.  Item 3 is possible by simulating mouse clicks.  
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Read this checklist to learn more about the 15 things you should never include in an email signature.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question