Solved

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

Posted on 2004-03-30
9
610 Views
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?
0
Comment
Question by:Yurij_Jilov
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 14

Expert Comment

by:p_partha
Comment Utility
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..


Partha
0
 
LVL 24

Expert Comment

by:HemanthaKumar
Comment Utility
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.


~Hemanth
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 50 total points
Comment Utility
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.
0
 
LVL 14

Expert Comment

by:p_partha
Comment Utility
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 5

Expert Comment

by:pgloor
Comment Utility
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
0
 
LVL 24

Expert Comment

by:HemanthaKumar
Comment Utility
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
0
 
LVL 14

Expert Comment

by:p_partha
Comment Utility
I concur hemanth's answer also :-), if u see that was my first suggetion

partha
0
 
LVL 31

Expert Comment

by:qwaletee
Comment Utility
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.
0
 

Author Comment

by:Yurij_Jilov
Comment Utility
You are right, qwaletee, it's installer indeed :-)))). Thanks all answered and pgloor for code sample!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now