Removing a database icon from a workspace
Posted on 1999-06-29
This one is a "toughy"... I need to remove a database icon from the workspace programmatically... I know there are no methods in LotusScript to do that but I trust someone has found a way to "hack" lotus notes and do that.
I'm thinking, in LotusScript (as most solution requires), to open the desktop.dsk file (it's a database you know), try (if God helps me) to find the document that represents the icon I wish to remove and remove the document ?
I'm also thinking to put a button in the database (the one I wish to remove) that will 1. Quit the database (return to the workspace) 2. Call @Command([EditClear]) ... that should do the trick but I am too afraid that something goes wrong and I end up deleting another icon ...
Any toughts / solutions will be appreciated,