A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Publish public contacts



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 1st 08, 04:10 PM posted to microsoft.public.outlook.program_vba
Lp12
external usenet poster
 
Posts: 21
Default Publish public contacts

Hi All,
We have an employee contacts in public folders and we want to set a shortcut
in each client. Is there a way to automate the process so each user will see
it in his Contacts list?
Thanks a lot in advance.
  #2  
Old June 2nd 08, 07:10 PM posted to microsoft.public.outlook.program_vba
Guest
 
Posts: n/a
Default Publish public contacts

If you are referring to the Shortcuts pane, you can add elements to it via
the OutlookBarShortcut object. Here's an example from the VBA help file:

Sub AddShortcut()
Dim myOlApp As New Outlook.Application
Dim myOlBar As Outlook.OutlookBarPane
Dim myolGroup As Outlook.OutlookBarGroup
Dim myOlShortcuts As Outlook.OutlookBarShortcuts
Set myOlBar = myOlApp.ActiveExplorer.panes.Item("OutlookBar")
Set myolGroup = myOlBar.Contents.Groups.Item(1)
Set myOlShortcuts = myolGroup.Shortcuts
myOlShortcuts.Add "http://www.microsoft.com", _
"Microsoft Home Page", 1
End Sub

To point the reference to a folder, replace the URL string with a variable
containing a MAPIFolder object representing the Public Folder you want to
create a shortcut to.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Lp12" wrote in message
...
Hi All,
We have an employee contacts in public folders and we want to set a
shortcut
in each client. Is there a way to automate the process so each user will
see
it in his Contacts list?
Thanks a lot in advance.


  #3  
Old June 3rd 08, 04:51 PM posted to microsoft.public.outlook.program_vba
Lp12
external usenet poster
 
Posts: 21
Default Publish public contacts

Thanks a lot.
Is there a way to create a reference in the Contacts pane as 'other
contacts' or to automatically share the public contacts to each client?


" wrote:

If you are referring to the Shortcuts pane, you can add elements to it via
the OutlookBarShortcut object. Here's an example from the VBA help file:

Sub AddShortcut()
Dim myOlApp As New Outlook.Application
Dim myOlBar As Outlook.OutlookBarPane
Dim myolGroup As Outlook.OutlookBarGroup
Dim myOlShortcuts As Outlook.OutlookBarShortcuts
Set myOlBar = myOlApp.ActiveExplorer.panes.Item("OutlookBar")
Set myolGroup = myOlBar.Contents.Groups.Item(1)
Set myOlShortcuts = myolGroup.Shortcuts
myOlShortcuts.Add "http://www.microsoft.com", _
"Microsoft Home Page", 1
End Sub

To point the reference to a folder, replace the URL string with a variable
containing a MAPIFolder object representing the Public Folder you want to
create a shortcut to.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Lp12" wrote in message
...
Hi All,
We have an employee contacts in public folders and we want to set a
shortcut
in each client. Is there a way to automate the process so each user will
see
it in his Contacts list?
Thanks a lot in advance.


  #4  
Old June 3rd 08, 05:36 PM posted to microsoft.public.outlook.program_vba
Guest
 
Posts: n/a
Default Publish public contacts

The name of the folder is what will be displayed in the groups within the
Contact pane - there is no separate display name.

If you want to automatically deploy a link to a Public Folder within one of
those custom Contact Groups, you will need to use the Office Resource Kit to
build and deploy a custom configuration package that you have to run on
every PC. There's also options to create the link with code, but it may be
a challenge deploying the script and you're better off using the ORK.

Note that adding shortcuts to Public Folders within these item-based
Navigation Pane Groups (Contacts, Calendars, etc.) no longer works with
Outlook 2007. You can only add them to the Shortcuts pane.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Lp12" wrote in message
...
Thanks a lot.
Is there a way to create a reference in the Contacts pane as 'other
contacts' or to automatically share the public contacts to each client?


" wrote:

If you are referring to the Shortcuts pane, you can add elements to it
via
the OutlookBarShortcut object. Here's an example from the VBA help
file:

Sub AddShortcut()
Dim myOlApp As New Outlook.Application
Dim myOlBar As Outlook.OutlookBarPane
Dim myolGroup As Outlook.OutlookBarGroup
Dim myOlShortcuts As Outlook.OutlookBarShortcuts
Set myOlBar = myOlApp.ActiveExplorer.panes.Item("OutlookBar")
Set myolGroup = myOlBar.Contents.Groups.Item(1)
Set myOlShortcuts = myolGroup.Shortcuts
myOlShortcuts.Add "http://www.microsoft.com", _
"Microsoft Home Page", 1
End Sub

To point the reference to a folder, replace the URL string with a
variable
containing a MAPIFolder object representing the Public Folder you want to
create a shortcut to.


--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


"Lp12" wrote in message
...
Hi All,
We have an employee contacts in public folders and we want to set a
shortcut
in each client. Is there a way to automate the process so each user
will
see
it in his Contacts list?
Thanks a lot in advance.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
copy contacts from public folder to outlook contacts list David Goldberg Outlook - Using Contacts 1 September 25th 07 02:50 AM
How to share outlook 2003 customize contacts or contacts subfolder without do it on public folder? Sue Mosher [MVP-Outlook] Outlook - Using Contacts 4 June 28th 07 11:45 PM
Moving public contacts e-mail to public journal with rule mbn Outlook - Using Contacts 2 May 18th 07 06:59 PM
Can I combine shared contacts and make a public folder of contacts Nicole Outlook - Using Contacts 4 August 10th 06 05:36 PM
Is there a way to publish busy/free schedule in a Public Folde John Cuthbertson Outlook - Calandaring 0 March 6th 06 11:11 PM


All times are GMT +1. The time now is 08:17 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-2025 Outlook Banter.
The comments are property of their posters.