The OLE demo Lotus Notes and Domino OLE Automation
| Your Email Address | steve.robinson@notes411.com |
| Your Name | SCRobinson |
| Company Name | Notes411 |
| Subject | The OLE demo Lotus Notes and Domino OLE Automation |
Details
| The OLE demo
About
This tool has been designed to show how with a bit of simple knowledge, how OLE automation of office applications can be done effectively in Lotus Script.
This Demo focuses on MS Word, but it could have been any other OLE enabled application. This Demo does not cover MS Word basic, and to program MS Word further you will have to consult the MS Word resource kit to get documentation of the objects, properties, methods that are exposed for OLE automation.
Note: The most important thing to remember is that Lotus Script thinks like VB 3.0. MS Word thinks VB 4.0 (VBA). What this means as that Word basic is written to pass parameters by name whereas Lotus Script passes by position. Recording an action in MS Word using the Visual Basic for Applications recording tool inside MS Word, will record the MS Word VBA code in VB4.0 style which is pass by name syntax. Since Lotus Script cannot pass by name, we have to pass by value. This is why you might need the MS word documentation to see exactly the parameters available for a MS Word Basic objects, methods or properties, so that you can call them by passing by position.
Regards,
Steve Robinson - Consultant

  |
| Attachments | OLEDemo.zip (73324 bytes)
template1.doc (19968 bytes)
OLEDemo.nsf (393216 bytes) |
| Operating System | Windows 9.x, Windows NT, Windows 2000, Windows XP |
| Technologies Implimented | LotusScript/VBA |
| Installation Notes | Assumes MS Word is installed and basic knowledge of MS Word usage and an understanding of what VBA is. |
| Category | R5.x |
 |  |
Add Response || Add a Resource
Responses to "The OLE demo Lotus Notes and Domino OLE Automation":
|
|