Microsoft Windows Messenger Integration Custom Project Guide (Microsoft Project 2002)
Microsoft Windows Messenger Integration Custom Project Guide
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
This code sample embeds the Microsoft® Windows Messenger object in a custom Project Guide for a fully integrated Windows Messenger experience. The custom Project Guide contains content and functionality for synchronizing your contacts with project resources, creating group conversations with team members, and logging of text from instant message conversations.
Installing the Windows Messenger Project Guide
Extract the files to C:\CustomPG\Messenger. This is important because the path is coded into the script files, as well as the XML schema.
Once the files are copied you can either open the sample.mpp file, or start a new project. If starting a new project, be sure to set up the custom user interface according to the following procedure.
To install the custom interface:
- On the Tools menu, click Options, and then click Interface.
- Click Use custom page, and point to the following page: C:\CustomPG\Messenger\mainpage.htm.
- Under the Use custom content option, point to the following XML schema: C:\CustomPG\Messenger\mess.xml.
- This custom Project Guide is an extension of the default Project Guide. The four default Project Guide goal areas and related tasks are present, in addition to a new
- Messenger
- goal area.
- Click Messenger.
- Sign in to the Windows Messenger service if you're not currently online.
You can now synchronize contacts with project resources, create group conversations with team members, and log text from instant message conversations through this custom Project Guide.
Files Included in this Sample
File |
Description |
MessengerWrapper.dll |
This is an ActiveX® control that wraps the Windows Messenger object. This wrapper allows you to write code to interact with otherwise locked-down methods in the Windows Messenger object API. |
Mess.xml |
This defines the Project Guide schema for the Windows Messenger demo. |
Mess.htm |
This is the first page the user sees when visiting the messenger option on the project guide toolbar. It contains the links to all the other pages. |
Mainpage.htm |
The Windows Messenger wrapper control is hosted on this page. Similarly, all event handlers are set up here. |
Log.htm Log.js |
Contains the user interface design and implementation for the instant message logging functionality. |
Meetings.htm Meetings.js |
Contains the user interface design and implementation for the Instant Message Meeting creation functionality. |
Sync.htm Sync.js |
Contains the user interface design and implementation for the synchronization functionality between contacts and project resources. |
Msngrutil.js |
Contains utility functions used by each of the screens. |
Events.js |
Contains the code to register and unregister event handlers for the Messenger wrapper object, as well as the handling routines for these events. |
Msngrstyle.css |
The style sheet for HTML elements. |
Artwork Used in the User Interface
Buddy.gif |
Busy.gif |
Chat.gif |
Idle.gif |
Log.gif |
Meeting.gif |
Message.gif |
None.gif |
Offline.gif |
Online.gif |
Signin.gif |
Signoff.gif |
Sync.gif |
Additional information
Creating a Custom Project Guide with the Project Guide Editor
Customizing the Microsoft Project Guide
Customizing the Microsoft Project Guide for Enterprise Team Builder Light