Question

  Asked: Jul 8 2008   6:04 PM GMT
  Asked by: RoninV


Open Public folder (calendar) at startup


Public Folder Store, Exchange 2003, Outlook 2007, Windows Vista, Windows XP, Outlook

Exchange 2003 environment, with Win XP and Vista client computers. Is there a way an individual user can configure Outlook (2007, with Vista) to open (default) with that individual's public folder(calendar), instead of the personal one? Right-clicking on the folder, dragging to the Desktop, and selecting Copy here yields a 'command line argument' error.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



You should be able to configure the exchange to be the default mail account in Outlook 2007 which should bring it up automatically upon opening. Here is a rough guide as I do not have Outlook 2007 on this machine or in front of me: Tools>Accounts>Select Exchange>Press Default>Close Outlook>Re-open Outlook.

If you want to open both simultaneously, and just have the mail sorted, you'll have to run the Rule's Wizard and configure something like "if recieved by this mail account, place into this folder, on send/receive."
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Exchange and Microsoft Windows.

Looking for relevant Exchange Whitepapers? Visit the SearchExchange.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

RoninV  |   Jul 9 2008  9:38PM GMT

In an Exchange environment, each user (by default) has Exchange as its default Email account, but I’m not looking at emails. I want to change a user’s default calendar to one of the public calendars. If this is possible (Outlook 2007, Vista, Exchange 2003), the users calendar views (To- Do Bar, etc.) will be focused on that user’s public calendar (folder) not the user’s personal calendar.

 

Schmidtw  |   Jul 10 2008  3:06PM GMT

There is no standard feature in Outlook that will let you do this. You will have to do some VB/VBA/VBScript programming to accomplish this task.

Here is some sample code:

Set MyFolder = GetFolder("Public Folders\All
Public Folders\DDD\DDD Calendar").Items

Public Function GetFolder(strFolderPath As String)
As MAPIFolder
' strFolderPath needs to be something like
' "Public Folders\All Public
Folders\Company\Sales" or
' "Personal Folders\Inbox\My Folder"

Dim objApp As Outlook.Application
Dim objNS As Outlook.NameSpace
Dim colFolders As Outlook.Folders
Dim objFolder As Outlook.MAPIFolder
Dim arrFolders() As String
Dim I As Long
On Error Resume Next

strFolderPath = Replace(strFolderPath, "/", "\")
arrFolders() = Split(strFolderPath, "\")
Set objApp = Application
Set objNS = objApp.GetNamespace("MAPI")
Set objFolder = objNS.Folders.Item(arrFolders(0))
If Not objFolder Is Nothing Then
For I = 1 To UBound(arrFolders)
Set colFolders = objFolder.Folders
Set objFolder = Nothing
Set objFolder = colFolders.Item(arrFolders(I))
If objFolder Is Nothing Then
Exit For
End If
Next
End If

Set GetFolder = objFolder
Set colFolders = Nothing
Set objNS = Nothing
Set objApp = Nothing
End Function

And here is a site with a bit more information on the subject as I am no expert on VB/VBA/VBScript programming:


 

Schmidtw  |   Jul 10 2008  3:08PM GMT

the link didn’t show:

<a href="http://www.outlookcode.com/d/code/getfolder.htm" rel="nofollow">http://www.outlookcode.com/d/code/getfolder.htm</a>