Running Lotusscript code on start up of Lotus Notes
Posted on 2003-11-18
I have some DLLs to initialize which should be done one time that is when notes start up and terminate it at notes termination. I want to do this before my mail database opens... I tried to use the database script in mail database. But I am not able to dynamically append my code into the existing database script, that is while my client installs my application. Right now I am only able to replace the whole database script using C API. But I know it is not safe to do this. Please tell me some place where I can write some lotusscript code which will load a view with some 200 documents. Only if this view is loaded I will be able to proceed with my application. I want the place the code in some stable location... That is it should never fail.
I also tried to use the database script in bookmarks.nsf but I dont how far this will also be stable and it requires to copy all of my script libraries once again into bookmark.nsf which will lead to code repetition which may cause further other problems.
I dont know how far I am clear with my question... If I am not clear please let me know I will try to explain my problem more clearly.
I am expecting for some good answers.
Thanks in advance to all the experts who answer this.