Saturday, September 27, 2008
Upgrade Design Folder in Lotus Notes 8
Just changed my home Lotus Client to 8.02 version. Finally they (IBM) added this function which can replace design folder. I guess a lot of people already know about it, but hopefully somebody not :) . So look on the sreen.
Thursday, September 25, 2008
get user name from id file
Lets think, if you should receive a name from user.id. Which approach did you choose? I made it using next function. Would be great if somebody share another approach. I think it is possible to use Notes API approach...
Dim s As New NotesSession
Dim stream As NotesStream
Dim body As Variant
Dim pathname As String
Dim strBody As String
pathname = "c:\user.id"
Set stream = s.CreateStream
If Not stream.Open(pathname, "ASCII") Then
Messagebox pathname,, "Open failed"
Exit Sub
End If
If stream.Bytes = 0 Then
Messagebox pathname,, "File has no content"
Exit Sub
End If
body = stream.Read(stream.Bytes)
Call stream.Close
Forall x In body
If x <> 0 Then
strBody = strBody & Chr(x)
End If
End Forall
Msgbox Strleft(Strrightback(strBody, "CN="), "/")
Dim s As New NotesSession
Dim stream As NotesStream
Dim body As Variant
Dim pathname As String
Dim strBody As String
pathname = "c:\user.id"
Set stream = s.CreateStream
If Not stream.Open(pathname, "ASCII") Then
Messagebox pathname,, "Open failed"
Exit Sub
End If
If stream.Bytes = 0 Then
Messagebox pathname,, "File has no content"
Exit Sub
End If
body = stream.Read(stream.Bytes)
Call stream.Close
Forall x In body
If x <> 0 Then
strBody = strBody & Chr(x)
End If
End Forall
Msgbox Strleft(Strrightback(strBody, "CN="), "/")
Sunday, September 21, 2008
easy way to debug schedule agents
If you have problems with debugging formula's schedule agents (they run on server) you can send an email to yourself directly in this agent with debugging data.
Look at this simple code in schedule agent. Would you like to check which value contain strC ? no problem, send an email yourself...
strA := "ABC";
strB := "DEF";
strC := strA + strB;
@MailSend("your are";"";""; "debug strC"; ""; "strC = " + strC)
Look at this simple code in schedule agent. Would you like to check which value contain strC ? no problem, send an email yourself...
strA := "ABC";
strB := "DEF";
strC := strA + strB;
@MailSend("your are";"";""; "debug strC"; ""; "strC = " + strC)
Saturday, September 20, 2008
Platform Stats: Unable to obtain performance data. Please check Microsoft MSDN on how to enable performance data collection
I had this alarm on my home server (OS - XP, Domino 6.5.1IF1) where I made some testing. If somebody has the same thing then here you will find why it is so and how to disable this alarm.
why is it?
because you are running Domino on an unsupported OS (as clearly stated in the Platform requirements in the documentation/release notes).
XP is not supported, and there are known issues with it.
Supported Windows-based OSes for the Server are NT, 2000 and 2003. Not XP.
How to disable this alarm / notification?
Put this line in notes.ini platform_statistics_disabled=1 on Lotus Domino server.
Wednesday, September 17, 2008
File - Tools : Additional options
Today I found one trick, during loading View "This view is being update... and so on" if we click at menu File and then Tools, we will see two additional options: [Cleanup Separators] and [Debugging Dashboard]. I don't know if it useful, but at least something new :)
Here is a screen with two additional options.
Here is a screen with two additional options.
Subscribe to:
Posts
(
Atom
)