![]() |
VBScript Create & Name a .pst
It's easy to create a pst using this code:
Dim objOutlook, objNameSpace Set objOutlook = CreateObject("Outlook.Application") Set objNameSpace = objOutlook.GetNamespace("MAPI") objNameSpace.AddStore pstfileName Set objNameSpace = Nothing Set objOutlook = Nothing How I can set it's display name instead of it choosing the default ("Personal Folders") when creating it? |
VBScript Create & Name a .pst
See http://www.outlookcode.com/codedetail.aspx?id=962 for a code sample.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx wrote in message oups.com... It's easy to create a pst using this code: Dim objOutlook, objNameSpace Set objOutlook = CreateObject("Outlook.Application") Set objNameSpace = objOutlook.GetNamespace("MAPI") objNameSpace.AddStore pstfileName Set objNameSpace = Nothing Set objOutlook = Nothing How I can set it's display name instead of it choosing the default ("Personal Folders") when creating it? |
All times are GMT +1. The time now is 09:14 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com