Luca Zanini
  • Home
    • Astronomy
    • Android
    • Java
    • Lotus
  • About me
  • Hiding a rich text field

    Mar 4, 2012

    —

    by

    Luca Zanini
    in Lotus

    Hiding a rich text field with a formula “Hide paragraph if formula is true” does not work as with other fields. In fact the contents of rich text field can retain the same property “Hide paragraph if formula is true” when it is saved even if this property was modified with a notes client designer.…

    Read more: Hiding a rich text field

  • Sending an e-mail from an other user

    Feb 27, 2012

    —

    by

    Luca Zanini
    in Lotus

    If a user sends an e-mail using an agent, he seems to be the sender or the agent signer seems to be the sender if the agent is scheduled. This is not always the desired behavior, especially in the case of scheduled agents in which the sender of the e-mail seems to be the developer…

    Read more: Sending an e-mail from an other user

  • The method getDocumentByUNID in NotesDatabase class

    Feb 20, 2012

    —

    by

    Luca Zanini
    in Lotus

    The method getDocumentByUNID NotesDatabase class returns the appropriate document for the UniversalUnid passed as argument, but it does not return Nothing if it does not find the document but the error 4091 (lsERR_NOTES_BAD_UNID). Then a code to handle this would be the following: Dim s As New NotesSession Dim db As NotesDatabase Dim doc As…

    Read more: The method getDocumentByUNID in NotesDatabase class

  • The method UpdateProcessedDoc in NotesSession class

    Feb 17, 2012

    —

    by

    Luca Zanini
    in Lotus

    The method UpdateProcessedDoc in NotesSession class can be used to mark a document as already processed by an agent

    Read more: The method UpdateProcessedDoc in NotesSession class

  • Accessibility of this site from a mobile

    Jan 6, 2012

    —

    by

    Luca Zanini
    in Android

    I’m checking the accessibility of this site from a mobile phone.According to the site mobiReady, the score is bad.It was difficult to think a better result, having never done any tests until now.I begin to think about it, even if it is not so bad on a Samsung Nexus.

    Read more: Accessibility of this site from a mobile

  • Connecting to internet from an Android emulator through a proxy server

    Sep 19, 2011

    —

    by

    Luca Zanini
    in Android

    Usually I use linux with squid as a proxy server on the same PC and the Android emulator does not connect to internet returning the error “Web page not available” as in Figure 1.

    Read more: Connecting to internet from an Android emulator through a proxy server

  • Replace a string in the documents in a Lotus database

    Aug 21, 2011

    —

    by

    Luca Zanini
    in Lotus

    I think it might be useful to replace each occurrence of a string in all the documents or in the selected documents in a Lotus database, especially when you want to replace a user in the fields author/reader. The use of roles or groups should be recommended to set the access to the documents, but…

    Read more: Replace a string in the documents in a Lotus database

  • How to set Sun’s java platform as the default java platform in Netbeans

    Jun 19, 2011

    —

    by

    Luca Zanini
    in Java

    I realized that in Netbeans the default Java platform for the projects was not the Sun’s and it was not possible to change this setting by using some features of NetBeans, but I had to manually edit a configuration file.

    Read more: How to set Sun’s java platform as the default java platform in Netbeans

  • How to get a resource from a java agent in Lotus

    Apr 29, 2011

    —

    by

    Luca Zanini
    in Lotus

    In this post I explain how to get a resource, for example an image, from a java agent even if this file is not saved on the file system.

    Read more: How to get a resource from a java agent in Lotus

  • Basic configuration of Log4j in Spring using a .xml file

    Feb 16, 2011

    —

    by

    Luca Zanini
    in Java

    There are 2 ways to configure Log4j in Spring using: a .properties file a .xml file The configuration with the. xml file allows to take advantage of some aspects that can not be configured with the .properties file that is therefore regarded as obsolete. This article will explain how to configure Log4j using the .xml…

    Read more: Basic configuration of Log4j in Spring using a .xml file

←Previous Page Next Page→