I used the following code to delete obsolete icons from the workspace. The obsolete icons are caused by server migration. It will delete OK if the icon exists even if the icon is obsolete. However, if the icon does not exist, the AddDatabase line will generate an error msg popup saying “Server Error: File does not exist”. My question is: is there a way to suppress this error msg popup? I want it to behave like nothing happens if the icon does not exist in the workspace.
I posted this before, but I don’t think I made myself clear.
Subject: Delete obsolete icons from workspace using LotusScript
Would you be willing to share your code? A long time ago, we had our Helpdesk software on a server and had a survey link on the users workspace. We recently moved our Helpdesk software to a different server and the survey link moved, but the old link is still on our users workspace. So now our users can’t use the survey link because the DB isn’t there anymore.
Subject: RE: Delete obsolete icons from workspace using LotusScript
The code is in the post (the weird looking part of the code actually deletes the icon). The problem is, it will popup a error message if the the obsolete icon does not exist.