Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How to replace launch properties of a database by Lotus Notes C API ?

Posted on 2004-03-30
Medium Priority
Last Modified: 2013-12-18
How to replace launch properties (tab "Launch properties" on "Database properties" dialog) of a database by Lotus Notes C API ? I need to change string parameters "When opened in the Notes client", "Type of navigator" and "Name". Whether I can take advantage of function NSFDbGetExtendedInfo?
Question by:Yurij_Jilov
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
LVL 14

Expert Comment

ID: 10715612
Can u little clear on what u are trying to do? All i know is nsfdbgetextendedinfo is undocumented.

you can control the launch using database queryopen event also..

LVL 24

Expert Comment

ID: 10715637
There is no need of api to manipulate what is launched...Instead you can pretty much control what will be shown in the Database script open event.

If you use frames, you can pretty much calculate the content which should be and not be shown.. like bookmark db

Is there any specific application of api that I am missing.. And also as far the c api can access I have seen DBOptions that can be accessed doesn't include the above said object.

LVL 31

Accepted Solution

qwaletee earned 150 total points
ID: 10715814
Those values are stored in the database icon note.  The easiest way to figure out what you want to do is to take a snapshot of all the current values on the icon note, make your changes using the UI, then take another snapshot and compare.  Please note that $Flags is a series of characters, each of which represents some database setting, so you need to look at what letters are being used/not used between the snapshots.

Armed with this knowldge, you will be able to figure out how to chnage another database's icon to have the same launch settings.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 14

Expert Comment

ID: 10716192

Expert Comment

ID: 10716665
I use this little piece of code to change the default navigator using a LortusScript agent:

Sub Initialize
      ' Change the Standard Navigator to Demo
      Dim session As New NotesSession
      Dim db As NotesDatabase
      Dim note As NotesDocument
      Set db = session.CurrentDatabase
      ' Get the Icon note
      Set note = db.GetDocumentByID("FFFF0010")      
      note.~$DefaultNavigator = "Demo"
      Call note.Save(True, False)
End Sub
LVL 24

Expert Comment

ID: 10716800
When I have a straight forward method , why bother hacking thru .. it worked pretty good until R4. With advent of R5 that is made simpler ... And also this method will not yield dynamic page switch as frame does. You have to close and re-open the db to see the changes
LVL 14

Expert Comment

ID: 10716815
I concur hemanth's answer also :-), if u see that was my first suggetion

LVL 31

Expert Comment

ID: 10717063
Well, kiddies, I would guess there's a good reason for wanting to change the actual launch properties... maybe some sort of installer, or changes to user's local files, or something where a design change just isn't going to be easy to manage.

Author Comment

ID: 10721458
You are right, qwaletee, it's installer indeed :-)))). Thanks all answered and pgloor for code sample!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA:…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question