Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting Outlook 2007 options with script or VBa

Posted on 2009-05-15
2
Medium Priority
?
815 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

886 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