LotusScript for Visual Basic Programmers - IBM Redbooks
LotusScript for Visual Basic Programmers - IBM Redbooks
LotusScript for Visual Basic Programmers - IBM Redbooks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Accessing Notes Documents in <strong>Visual</strong><br />
<strong>Basic</strong> Using Notes Classes<br />
through OLE Automation ..... ..... 150<br />
Accessing the Document Properties ..... 152<br />
Creating a Document ........... ..... 153<br />
Removing a Document .......... ..... 153<br />
Copying a Document ........... ..... 154<br />
Accessing the Current Document . . .....<br />
Accessing Notes Documents in<br />
154<br />
<strong>LotusScript</strong> ................. ..... 156<br />
Accessing the Document Properties ..... 156<br />
Creating a Document ........... ..... 158<br />
10 Accessing Notes Items . . . ...<br />
Accessing Notes Items (Fields) Using<br />
161<br />
the HiTest <strong>Basic</strong> API ......... ..... 161<br />
Items ........................ ..... 161<br />
Fields ....................... ..... 161<br />
Attachments .................. ..... 162<br />
CDRecord .................... ..... 162<br />
Composites ................... ..... 162<br />
Copying an Item ............... ..... 162<br />
Deleting an Item ............... .....<br />
Accessing Notes Items (Fields) in<br />
<strong>Visual</strong> <strong>Basic</strong> Using Notes Classes<br />
165<br />
through OLE Automation ..... ..... 165<br />
Copying an Item ............... ..... 167<br />
Deleting an Item ............... .....<br />
Accessing Notes Items (Fields) in<br />
168<br />
<strong>LotusScript</strong> ................. ..... 169<br />
11 Using Notes as an OLE 2<br />
Automation Client: Creating<br />
Objects .................. ... 171<br />
Creating an Embedded Object<br />
Embedding Part of a File in a<br />
...... ..... 171<br />
Document ................. ..... 171<br />
Embedding an Entire File in a<br />
Document ................. ..... 174<br />
Embedding a New Object in a<br />
Document ................. ..... 175<br />
Creating a Linked Object ........... ..... 176<br />
Linking Data to a Notes Document<br />
Creating an Embedded Object Using<br />
..... 177<br />
<strong>LotusScript</strong> ................. ..... 178<br />
Embedding an Entire File in a<br />
Document ................. ..... 178<br />
Embedding a New Object in a<br />
Document ................. ..... 182<br />
Creating a Linked Object Using<br />
<strong>LotusScript</strong> ................. ..... 184<br />
12 Using Notes as an OLE 2<br />
Automation Client: Managing<br />
Objects .................. ... 189<br />
Editing an Embedded Object ....... ..... 189<br />
Creating a View ............... ..... 189<br />
Editing the Object .............. ..... 191<br />
Editing a Linked Object ........... ..... 192<br />
Editing an Embedded or a Linked<br />
Object Using <strong>LotusScript</strong> ...... .....<br />
Deleting an Embedded or a Linked<br />
194<br />
Object Using <strong>LotusScript</strong> ...... ..... 196<br />
More Examples ................ ..... 198<br />
Appendix A HiTest and<br />
<strong>LotusScript</strong> Notes Classes:<br />
Comparing Functions ......<br />
...<br />
203<br />
Appendix B Special Notices . ... 211<br />
Appendix C Related<br />
Publications .............. ... 213<br />
International Technical Support<br />
Organization Publications ..... ..... 213<br />
How To Get ITSO <strong>Redbooks</strong><br />
How <strong>IBM</strong> Employees Can Get ITSO<br />
. ... 215<br />
<strong>Redbooks</strong> .................. ..... 215<br />
How Customers Can Get ITSO<br />
<strong>Redbooks</strong> .................. ..... 217<br />
Index .................... Index-1<br />
Contents vii