How to prepare Microsoft Outlook 2010 for “Dial from Outlook ... Phone...How to prepare Microsoft...
Transcript of How to prepare Microsoft Outlook 2010 for “Dial from Outlook ... Phone...How to prepare Microsoft...
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
In Microsoft Outlook press Alt + F8 to create a new macro. Type a name and press the button Create
(in german Erstellen)
The Microsoft Visual Basic for Applications Windows will be activated and a new Modul1 will be
created with a Sub prototype. Select the Modul Folder and press the right mouse button and select
File import… (in german Datei importieren…), in the File Dialog select the Module File
modDialFromOutlook.bas and press the Open (in german Öffnen) Button.
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
The new Module should be visible now. As next remove the automatically created Modul1.
You do not need to export them, so when you ask press the No Button.
Close the Microsoft Visual Basic for Applications Window and go back to Microsoft Outlook.
Open the Outlook-Options on the Ribbon Bar select File – Options (in german Datei – Optionen)
On the left side select Customize Ribbon (in german Menüband anpassen). On right side select the
main tab Home (Contacts) (in german Start (Kontakte)).
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
In the middle of the dialog click the selection list Popular Commands (in german Häufig verwendete
Befehle) and select Macros (in german Makros). The both macros will be visible in the list below.
Notice: the name modToolCollection is in your case Project1, this is not important.
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
As next press the New Group (in german Neue Gruppe) Button, to create a new group under the
Home (Contacts) Main Tabs.
As next press the Rename… (in german Umbenennen…) Button and define a Name for the Group. In
my case I have used Windows Phone as Display name: (in german Anzeigename:) Do not select an
icon from the list and close the dialog by pressing the OK Button.
As next select the Macro [modToolCollection|Project1].SendPhoneNumber and press the Add >> (in
german Hinzufügen >>) Button. Do the same with the Macro
[modToolCollection|Project1].Configure and press the Add >> (in german Hinzufügen >>) Button.
The result should be like following picture.
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
Now select the Macro [modToolCollection|Project1].SendPhoneNumber in the right list and press
the Rename… (in german Umbenennen…) Button. Type a Display name: (in german Anzeigename:)
Send Telephone Number (in german Telefonnummer senden) and select the Telephone earphone
Symbol. Close the dialog by pressing the OK Button. Do the same for the Macro
[modToolCollection|Project1].Configure. Use as Display name: (in german Anzeigename:) Settings
(in german Einstellungen) and as Symbol I have used the floppy disk Symbol.
The result should be like following picture.
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
As next click the Trust Center (in german Sicherheitscenter) and then the Trust Center Settings… (in
german Einstellungen für das Sicherheitscenter…) Button.
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
Caution: Do the next step only, if you do not have a valid code signing certificate!
Select the Macro Settings (in german Einstellungen für Makros) and activate the Enable all macros
(in german Alle Makros aktivieren) setting.
Notice: This setting is absolute insecure and opens the door for a malware macro.
The better way is to create an code signing X.509 certificate and use the Disable all macros except
digitally signed macros (in german Alle Makros außer digital signierten Makros deaktivieren)
setting. The macro code must digitally signed with this certificate. Follow the instructions Digitally
sign a macro project or search on Google for an how to.
Close the Outlook Options by clicking the OK Button and close Outlook self and save the VBA-Project
“VbaProject.OTM”. This is important, because your work will be lost if not saved here!
Start Outlook hopefully no warning occurs regarding the macro and switch to contacts. You will see
the new Group “Windows Phone” and the both Marcos.
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
Now it is time to configure the Macro, by clicking the Settings (in german Einstellungen) Button.
Two settings are important for the macro to be run well. First the Channel Uri and second a shared
secret. The Dial from Outlook Application will provide you the ChannelUri every time when it is
changed, so that you can send it to you within an eMail as link. Use this Uri in the following dialog,
every time when it has changed.
Next type the shared secret here. Notice: This MUST be the same as on the phone, which can be
defined when you start the Dial from outlook Application on the Settings page. For modifications, the
shared secret must always be configured on both (Outlook and Windows Phone).
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
That is all. Now you can select one contact item and press the Send Telephone Number (in german
Telefonnummer senden) Button.
A MessageBox will provide successively all telephone numbers from the select contacts and ask you
what to do. Use this number for a call press the Yes (in german Ja) Button. If this number is not the
right one, then press No (in german Nein) to get the next number from the contact. The Cancel (in
german Abbrechen) Button will stop the process in a right way.
When you have pressed the Yes (in german Ja) Button, the Contact will be forwarded to the Windows
Phone and the result will be displayed.
Possible values and meanings are:
The Telephone is not connected to Channel X -NotificationStatus: Received X -SubscriptionStatus: Active X -DeviceConnectionStatus: TempDisconnected
The Telephone has received the Toast message
How to prepare Microsoft Outlook 2010 for “Dial from Outlook” - Windows Phone Application
X -NotificationStatus: Received X -SubscriptionStatus: Active X -DeviceConnectionStatus: Connected
The Channel Uri has changed but not updated in Settings for the Macro X -NotificationStatus: Dropped X -SubscriptionStatus: Expired X -DeviceConnectionStatus: Connected
The notification was disabled in Windows Phone X -NotificationStatus: Suppressed X -SubscriptionStatus: Active X -DeviceConnectionStatus: Connected Frequently Asked Questions: Q: Why are the pictures in German and your description in English? A: Currently I did not have a Microsoft Outlook in English for taking screenshots. Q: Does the Macro also run in Microsoft Outlook 2013? A: It should be, but I did not test this. Q: Is there a how to for the Dial from Outlook Windows Phone Application? A: It is in preparation. Q: Is the contact information that is send to Windows Phone in plain text? A: No, I use a RC4 encryption (http://en.wikipedia.org/wiki/RC4).