Monday, May 05, 2008

ProgressBar example

There is a small progessBar.rar of this kind of dialog. There are only main page and LS library.

Display all private agents in a database

The first step to detemine what agent are running on each server is to issue a:

Tell Amgr Sched server command

This will display all agents running in each database whether they are private or not.


Now the really cool trick - Before one can delete an agent you have to be able to see them, right? And private agent is'nt visible because they're private, stating the obvious... But here's a neat workaround:

To display all private agents in a database, all you have to do is create another private agent! It doesn't have to contain any code just create the agent, save it and exit. All private agents are now visible and you can even remove your agent and they'll stay visible.

I checked it with R5, and R6.5 it works ! but with R7.03 and R8 it did not work

Saturday, May 03, 2008

cross language via URL

I finished one small project, where I had to add possibility to change language. I did not find the best solution/way how to do it in Internet. So, I did it how I wanted :)
In my case I had documents in database (=> HTML pages) with content. So, I added in every document (HTML's page) new fields with different content (for different language). I put content in different fields: content_en, content_it, content_ru... For opening document in every language I used next approach, look at these URL:
http://host/db.nsf/EN/F593D4CBD7E802FFC125742500638A22?opendocument
http://host/db.nsf/RU/F593D4CBD7E802FFC125742500638A22?opendocument
http://host/db.nsf/IT/F593D4CBD7E802FFC125742500638A22?opendocument

Then I added agent on QO event, and checked the name of "view" (EU/RU/IT), then took it and used it when I received content => "content_" & language.

Friday, April 18, 2008

View applet - ext. problem.

Nothing news to be honest, but for me it happened first time. I had a task with View's applet, it didn't work correctly in several users and on my PC. It was simple applet, you can see it below my text.


the problem was in cab ext. I found that I have to switch off JRE support in my browser, or just to modify the ext. to jar.


Wednesday, April 09, 2008

Which parameters we can use in a command line to start a Notes client?

1) We can specify the path to notes.ini file:
c:\Notes\Notes.exe =c:\Notes\Data\Notes.ini

2) Do you want to open special database?
c:\Notes\Notes.exe names.nsf
c:\Notes\Notes.exe open names.nsf
c:\Notes\Notes.exe Servername!!\Directory\DatabaseName.nsf

3) You can also specify a .NDL file (Notes doclink). It will permit you to open a specified note:
c:\Notes\Notes.exe doclink.ndl

4) Do you want to open special URL?
c:\Notes\Notes.exe http:\\www.lotus.com
c:\Notes\Notes.exe notes://servername/databaseName?OpenDatabase

5) Start with new email to?
c:\Notes\Notes.exe mailto:myemail@name.com

6) Other:
/EMBEDDING or -EMBEDDING - starts Lotus as an OLE Server
/AUTOMATION - starts Lotus in Minimized State
/kiosk - starts Notes without Menus (but to be honest in my case it shows only grey window, hope it is only in my case)
/DEBUGGER - starts the Notes Remote Agent Debugger
/DESIGN - starts Notes Designer
/MAIL open the default mail database on the Notes client
/ADMINONLY open Notes Admin

also you can see it here:
http://www-1.ibm.com/support/docview.wss?uid=swg21099846
http://www.nsftools.com/tips/NotesTips.htm