Companies using Lotus Notes as their email client, but have the Microsoft Office suite installed on work PCs, can relate to this scenario. Additionally, you've recently upgraded to Lotus Notes 8.0.
You might be contemplating whether or not to install the 200MB Lotus Symphony suite, which is included with Lotus Notes 8.0, but this can be problematic. This tip can be helpful in such a situation.
If you do not install Lotus Symphony, the Lotus Notes 8 'Welcome page' doesn't recognize this and presents the Lotus Notes user with three options to launch Microsoft documents, presentations and spreadsheets. If Symphony is not installed, the Lotus Notes user receives an error message when selecting any of these options. The LotusScript code below allows you to modify these buttons to launch the corresponding Microsoft applications.
Note: Rolling this out is simple using the Lotus Notes 8 "Policies" capabilities.
Figure 1. LotusScript 'click event' button code in the WPDefaultBasic page.
The buttons are located in the WPDefaultBasic form. Place this code behind the corresponding "click event" buttons to launch one of the Microsoft documents .
Sub Click(Source As Button) Set wApp = CreateObject ("Word.Application") wApp.Visible = True End Sub To Launch Excel Sub Click(Source As Button) Set wApp = CreateObject ("Excel.Application") wApp.Visible = True wApp.Workbooks.Add End Sub To Launch PowerPoint Sub Click(Source As Button) Set wApp = CreateObject ("PowerPoint.Application") wApp.Visible = True wApp.Presentations.Add End Sub
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip library by member Scott Noebel. Please let
others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino,
Workplace or WebSphere tip or code snippet to share? Submit it to our monthly
tip contest and you could win a prize.
This was first published in April 2008