About This Code
Brief Description:
An OO class for frequently used LS code snippets
Contributor:
Ranjeet Rain
Last Modified:
28 Dec 2003
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
This is basically an OO wrapper around commonly used LS code snippets. Let us see this. How often do we write such code?
Private WS As NotesUIWorkspace
Private UIDoc As NotesUIDocument
Set WS = New NotesUIWorkspace
Set UIDoc = WS.CurrentDocument
Quite often, don't we? Not only this. There are many such objects that we need to access frequently in our application. And we always endup writing that repetitive piece of code again and again, besides cluttering our code. So I just created a library to access such objects.
I have seen most people havinsuch libraries. But what is special here is that - this is an Object oriented library. There is no comparison of Object-orientation when it comes to code reuse, and this library does exactly that. It wrapps up most commonly accessed object in a manageable OO library.
Usage / Example
Code Attachments