70 pts.
 Get Lotus Notes Template name from NSF using C
Hey all,
Is it possible to get the name of the template using the database (NSF) in C program? How? Please suggest.
ASKED: Mar 9, 2009  4:12 AM GMT
UPDATED: July 31, 2009  2:54:13 AM GMT
70 pts.

Answer Wiki:
HI Pradip,

Instead of going for C APIs i will suggest to use Windows API to read ini files.
Since notes.ini is having information about the default template in a key

DefaultMailTemplate=mail7.ntf

So better if you read the ini and get the template name.
Last Wiki Answer Submitted:  Jul 30, 2009  5:24 AM (GMT)  by  Paia   70 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

LotusScript offers the templatename property in a NotesDatabase object, so the API offers it as well. Not sure how or where off the top of my head, but that is the areas I would be looking in.

Mike K

 1,695 pts.