I´m studying for my PCLP exam in LotusScript and looking at the CreateObject method of the NotesUIDocument class, and then the NotesEmbeddedObject class…
I can think of only a couple of useful things to do with embedded objects. I wonder if anyone has some more ideas to inspire me as to what they have used this for ??
Subject: Useful things to do with .CreateObject ??
We’ve built a number of applications where sales people can enter information on price quotes: we propose to sell these parts, these options, these payment terms, etc. The applications have a Word file embedded in a profile document. We’ve got code that detaches a copy of the Word file, launches it, pours information from the Notes document into fields in the file (automatically generating a nicely formatted contract with all of the legal boilerplate), and reattaches the contract file to the Notes document. With CreateObject (and the OLE classes we can run on the resulting object), we can simultaneously and automatically generate and archive our sales contracts. Neat.
Subject: RE: Useful things to do with .CreateObject ??
I would sure like a peek at some of your code 