SCENARIO:
The familiar Notes 5 bug whereby a client crash = loss of database launch properties. We don't want to have to direct users in how to fix this manually, especially as the db design is locked anyway.
SOLUTION:
Ensure a "default" view is defined in the database -- once launch properties are lost this is what users see when they open the db. Create a "click me to fix me"-style action bar button, with this code behind it:
Dim session As New NotesSession
Dim db As NotesDatabase
Dim docIcon As NotesDocument
Set db = session.CurrentDatabase
Set docIcon = db.GetDocumentByID("FFFF0010")
docIcon.~$DefaultFrameset = "WHATEVER YOUR FRAMESET IS CALLED"
docIcon.~$Flags = docIcon.~$Flags(0) & "F"
Call docIcon.Save(True, False)
NOTE:
This solution is for databases that are set to open a specified frameset when launching. YMMV - investigate what $ flag gets set when you set other launch attributes.
IRIS:
_Please_ fix the Notes client!! This is just one of many fundamental usability issues with Notes 5 that compromise the software's adoption.

R5 Database launch properties loss ... (Benedict R Pool... 31.Oct.01)
. . 
