<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-34728599</atom:id><lastBuildDate>Sat, 11 Jul 2009 07:36:36 +0000</lastBuildDate><title>Pastovenskyi Dmytro</title><description>Find the best way.
Everything about Lotus Notes Domino.</description><link>http://dpastov.blogspot.com/</link><managingEditor>dpastov@gmail.com (Dmytro Pastovenskyi)</managingEditor><generator>Blogger</generator><openSearch:totalResults>110</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/dpastov" type="application/rss+xml" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-6560236416510031313</guid><pubDate>Tue, 09 Jun 2009 16:02:00 +0000</pubDate><atom:updated>2009-06-09T18:15:03.860+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus issues</category><title>'Input Enabled' formula does not export in DXL using native exporter</title><description>Today we faced with funny problem in LN 6.5.4 (I'm sure the same behavior in any another version of 6.5.X)&lt;br /&gt;&lt;br /&gt;We do export of some LN elements and when we import it back we discovered that Input Enabled formula disappear. I checked our DXL file and found that formula was non there. Then I used simple way to check where was the problem, I create simple form, put there 1 field with Input Enabled formula and using &lt;span style="font-weight: bold;"&gt;Tools\DXL Utilities\Exporter&lt;/span&gt; export it to file. There was no Input Enabled formula at all. Funny issues but now we have to rewrite some places.&lt;br /&gt;&lt;br /&gt;FYI: This works correct in R7 and ++&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-6560236416510031313?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/TNuNyeX7Sd8/input-enabled-formula-does-not-export.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/06/input-enabled-formula-does-not-export.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-7375549084399151541</guid><pubDate>Mon, 08 Jun 2009 08:47:00 +0000</pubDate><atom:updated>2009-06-08T11:07:54.092+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">javascript</category><title>JavaScript libraries and reference sites</title><description>&lt;span style="font-weight: bold;"&gt;Got it from BestPracticesWebAppDevDomino8.pdf&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Ajaxian.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;a site dedicated to improving Web development&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;devguru.com&lt;/span&gt; - &lt;span style="font-style: italic;"&gt;A another site for Web development information&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dojo&lt;/span&gt;&lt;br /&gt;http://www.dojotoolkit.org/&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;jQuery&lt;/span&gt;&lt;br /&gt;http://jquery.com&lt;br /&gt;&lt;span style="font-style: italic;"&gt;A fast, concise, JavaScript Library that simplifies&lt;/span&gt; &lt;span style="font-style: italic;"&gt;working with HTML documents&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JSON.org&lt;/span&gt;&lt;br /&gt;http://json.org&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The home page for JSON information&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MooTools&lt;/span&gt;&lt;br /&gt;http://mootools.net&lt;br /&gt;&lt;span style="font-style: italic;"&gt;A compact, modular, OO JavaScript framework that is designed for the intermediate to advanced JavaScript developer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Prototype&lt;/span&gt;&lt;br /&gt;http://www.prototypejs.org/&lt;br /&gt;&lt;br /&gt;script.aculo.us&lt;br /&gt;script.aculo.us&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Provides an easy-to-use, cross-browser user interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Yahoo UI&lt;/span&gt;&lt;br /&gt;http://developer.yahoo.com/yui&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Provides a set of utilities and controls, written in JavaScript&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;EXT&lt;/span&gt;&lt;br /&gt;http://extjs.com&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Provides for a cross-browser UI libraries&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Some useful links:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pagetitle" style="margin: 0px; padding: 0px; text-decoration: none; font-weight: bold;"&gt;Web development tools&lt;/span&gt;&lt;br /&gt;&lt;span&gt;http://www.ibm.com/developerworks/wikis/display/dominoappdev/Web+development+tools&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pagetitle" style="margin: 0px; padding: 0px; text-decoration: none; font-weight: bold;"&gt;Web development resources&lt;br /&gt;&lt;/span&gt;&lt;span class="pagetitle" style="margin: 0px; padding: 0px; text-decoration: none;"&gt;http://www.ibm.com/developerworks/wikis/display/dominoappdev/Web+development+resources&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pagetitle" style="margin: 0px; padding: 0px; text-decoration: none; font-weight: bold;"&gt;Domino resources&lt;/span&gt;&lt;br /&gt;http://www.ibm.com/developerworks/wikis/display/dominoappdev/Domino+resources&lt;br /&gt;&lt;span class="pagetitle" style="margin: 0px; padding: 0px; text-decoration: none; font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-7375549084399151541?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/1EDi5KenjJc/javascript-libraries-and-reference.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/06/javascript-libraries-and-reference.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-1106674317438868813</guid><pubDate>Mon, 08 Jun 2009 08:30:00 +0000</pubDate><atom:updated>2009-06-08T10:44:33.526+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">javascript</category><title>isNumeric for web</title><description>&lt;span style="font-family:verdana;"&gt;as I think the best approach to check value in web for IsNumeric is:&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;font-family:verdana;font-size:85%;"  &gt;function IsNumeric(inputVal,sErrorMsg) {&lt;br /&gt;if (isNaN(parseFloat(inputVal))) {&lt;br /&gt;     alert(sErrorMsg)&lt;br /&gt;     return false;&lt;br /&gt;}&lt;br /&gt;return true&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;I also used such approach, but I don't like it anymore&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;function IsNumeric(expression) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;var nums = "0123456789";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;if (expression.length==0)return(false);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;      for (var n=0; n &lt;&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            if(nums.indexOf(expression.charAt(n))==-1)return(false);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;      }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;return(true);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-1106674317438868813?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/RNdBNatkRB8/isnumeric-for-web.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/06/isnumeric-for-web.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-2264706650403196162</guid><pubDate>Thu, 12 Feb 2009 13:15:00 +0000</pubDate><atom:updated>2009-02-12T14:21:09.663+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>overload of methods/functions in Lotus Script</title><description>&lt;span style="font-family:arial;"&gt;I make overload for any methods/functions using next approach. It is quite simple and useful from my point of view&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;Sub new(key As Variant)&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;Select Case Typename(key)&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;Case "STRING":&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;call newForString(key) or do code&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;Case "NOTESDOCUMENT&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;call newForNotesDocument(key) or do code&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;Case "EMPTY&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;call newForEmpty(key) or do code&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;color:#000099;"&gt;End Select&lt;/span&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-2264706650403196162?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/0TJ0_J8TtRA/overload-of-methodsfunctions-in-lotus.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/02/overload-of-methodsfunctions-in-lotus.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-7598984747365780367</guid><pubDate>Thu, 12 Feb 2009 08:10:00 +0000</pubDate><atom:updated>2009-02-12T09:15:07.950+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>EncryptOnSend, how can we send encrypted email even if "aim-user" does not have a key to read it?</title><description>&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;I was facing with interesting problem, have to send encrypted email to user even if user does not have a key to open/read encrypted email. Let's say in case if I user does not have the key to read/open encrypted email I would like to send him just a message with confirmation that he received an email that was encrypted by userA. So, my main point is to catch users which do not have key to read/open encrypted emails in moment when I send these emails.&lt;br /&gt;Right now Domino automatically UNencrypt emails for users which do not have a key to read/open them.&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#660000;"&gt;From help: EncryptOnSend property&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;To encrypt a document when mailed, this method looks for the public key of each recipient in the Domino Directory. &lt;u&gt;&lt;em&gt;If it cannot find a recipient's public key, the method sends an unencrypted copy of the document to that recipient&lt;/em&gt;&lt;/u&gt;. All other recipients receive an encrypted copy of the document.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-7598984747365780367?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/jOvguf55glo/encryptonsend-how-can-we-send-encrypted.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/02/encryptonsend-how-can-we-send-encrypted.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-1956058221787173858</guid><pubDate>Wed, 11 Feb 2009 09:30:00 +0000</pubDate><atom:updated>2009-02-11T10:40:15.924+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><title>how we can check LIST for empty</title><description>&lt;span&gt;Today I was faced with small issue, I realised that I don't know how to check LIST variable for empty. Really, I was so confused. I've done it using next approach, but to be honest I don't like it. If anybody knows better approch, please share it here!&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;em&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;...&lt;br /&gt;isValid = False&lt;br /&gt;Forall x In myList&lt;br /&gt; isValid = True&lt;br /&gt;Exit Forall&lt;br /&gt;End Forall&lt;br /&gt;...&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-1956058221787173858?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/A_xp_xrKaas/how-we-can-check-list-for-empty.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/02/how-we-can-check-list-for-empty.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-680622202849121673</guid><pubDate>Wed, 04 Feb 2009 09:06:00 +0000</pubDate><atom:updated>2009-02-09T09:37:08.064+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus notes</category><title>How to disable autorunning SameTime in 8.5</title><description>&lt;div&gt;After I installed LN 8.5 each time when I run LN8.5 the sametime run also. I don't like this because I don't use it. So if you want to disable it you should add/change variable in notes.ini:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;IM_ENABLE_SSO=0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;0 - means it will not run (or perhaps will not show icon in system tray)&lt;/div&gt;&lt;div&gt;1 - means it will run together with LN (or perhaps will show icon in system tray).&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What I also did&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Create file setup.txt and put next content there&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;IM.Server=fakeservername&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;IM.Port=80&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;IM.Protocol=1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;then in notes.ini add line:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=""&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ConfigFile=SETUP.TXT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-680622202849121673?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/nNYKXgxu77c/how-to-disable-autorunning-sametime-in.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/02/how-to-disable-autorunning-sametime-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-5121913690188289634</guid><pubDate>Tue, 20 Jan 2009 06:58:00 +0000</pubDate><atom:updated>2009-01-27T14:38:50.505+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus and java</category><title>Transfer file to WebService and Encode/Decode base64 string</title><description>&lt;span style="font-family:verdana;"&gt;I had a task where I should give opportunity to user send file to WebService written on Java. File always should come as decode base64 string, and in WebService I should decode string to normal (it should be DXL content as result) and then import it in a special database, so I had small problem with decode/encod (dont know why but it was happen). So here this simple exmplae how to do it&lt;/span&gt;&lt;div  style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div face="verdana"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span"&gt;public class Base64Test {&lt;br /&gt;   public static void main(String[] args) throws IOException {&lt;br /&gt;       String str = "my string";&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;span class="Apple-style-span"&gt;        String s = new BASE64Encoder().encode(str.getBytes("UTF-8"));&lt;br /&gt;       byte[] bytes = new BASE64Decoder().decodeBuffer(s);&lt;br /&gt;       String result = new String(bytes, "UTF-8");&lt;br /&gt;       System.out.println(result);&lt;br /&gt;   }&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5121913690188289634?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/b47sRpnUqtQ/transfer-file-to-webservice.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2009/01/transfer-file-to-webservice.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-9142628349172741458</guid><pubDate>Sat, 20 Dec 2008 10:00:00 +0000</pubDate><atom:updated>2008-12-20T12:24:54.435+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><category domain="http://www.blogger.com/atom/ns#">lotus formula</category><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>Debug Lotus Notes applications</title><description>I would like to present which approaches I use during debugging LN applications. I would be happy if anybody add new interesting approaches.&lt;p:colorscheme colors="#ffffff,#000000,#808080,#000000,#bbe0e3,#333399,#009999,#99cc00"&gt;&lt;/p:colorscheme&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;[@Formula]&lt;/span&gt;&lt;br /&gt;- @Prompt and @StatusBar – the easiest way to debug code written on @Formula&lt;br /&gt;- Field Debug_Fld := value_debug&lt;br /&gt;- @MailSend – for code that runs on server (sch. agents)&lt;br /&gt;- notes.ini - I don't like this approach because of size of variables&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;strA := "ABC"; strB := "DEF";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;strC := strA + strB;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;@Prompt([ok]; "strC";"strC = " + strC);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;@StatusBar("strC = " + strC);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;Field Debug_FieldName := strC;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;@MailSend("username";"";""; "debug strC"; ""; "strC = " + strC);&lt;/span&gt;&lt;/span&gt;&lt;div shape="_x0000_s1026" class="O" style=""&gt;&lt;p:colorscheme colors="#ffffff,#000000,#808080,#000000,#bbe0e3,#333399,#009999,#99cc00"&gt;&lt;div shape="_x0000_s1026" class="O"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[Lotus Script]&lt;/span&gt;&lt;br /&gt;- Lotus Script Debugger as tool for debugging&lt;br /&gt;- Print, MsgBox, NotesLog, Stop, on erorr goto errh&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;/span&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Dim strA As String&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Dim strB As String&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Dim strC As String&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;strA = "ABC"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;strB = "DEF"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;strC = strA &amp;amp; strB&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Print "strC = " &amp;amp; strC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Msgbox "strC = " &amp;amp; strC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Stop 'enable debugger require&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Dim currentLog As New NotesLog( “debug log 1" )&lt;br /&gt;Call currentLog.OpenFileLog( "c:\log.txt" )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Call currentLog.LogAction( "strC = " &amp;amp; strC)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;" &gt;Call currentLog.Close&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div shape="_x0000_s1026" class="O" style=""&gt;&lt;p:colorscheme colors="#ffffff,#000000,#808080,#000000,#bbe0e3,#333399,#009999,#99cc00"&gt;&lt;div shape="_x0000_s1026" class="O"&gt;&lt;span&gt;&lt;span&gt; &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;[Schedule Agents]&lt;/span&gt;&lt;br /&gt;- remote debugger (it is easy to enable it if you read help)&lt;br /&gt;- send an email, msgbox (log.nsf), noteslog&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[JavaScript]&lt;/span&gt;&lt;br /&gt;- alert(value);&lt;br /&gt;- try – catch();&lt;br /&gt;- Microsoft script debugger \ Mozilla firebug \ Chrom debugger&lt;br /&gt;&lt;br /&gt;Lets catch the next simple error&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MZPSfV8BGS8/SUzUzvT9aoI/AAAAAAAAIpg/05CbPJwi0Yw/s1600-h/debug0.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 173px;" src="http://2.bp.blogspot.com/_MZPSfV8BGS8/SUzUzvT9aoI/AAAAAAAAIpg/05CbPJwi0Yw/s400/debug0.JPG" alt="" id="BLOGGER_PHOTO_ID_5281830448337349250" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;code on the button use call function add, the body of function below&lt;br /&gt;&lt;span style="font-family: verdana;font-size:85%;" &gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;function add(frm){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;var i1 = frm.Number1.value;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;var i2 = frm.Number2.value;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;var fld = frm.total;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;fld.value = i1 + i2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;}        &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;when we call function we will see next error:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MZPSfV8BGS8/SUzVRXG0LlI/AAAAAAAAIpo/jzO7WfSsNs8/s1600-h/debug1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 266px;" src="http://4.bp.blogspot.com/_MZPSfV8BGS8/SUzVRXG0LlI/AAAAAAAAIpo/jzO7WfSsNs8/s400/debug1.JPG" alt="" id="BLOGGER_PHOTO_ID_5281830957235842642" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;what it could be? it does not provide us enough information (I think so). Now enable ie debugger&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MZPSfV8BGS8/SUzVgDRp5jI/AAAAAAAAIpw/N0XHgMpObgU/s1600-h/debug2-1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 271px; height: 163px;" src="http://4.bp.blogspot.com/_MZPSfV8BGS8/SUzVgDRp5jI/AAAAAAAAIpw/N0XHgMpObgU/s400/debug2-1.JPG" alt="" id="BLOGGER_PHOTO_ID_5281831209610634802" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;click Yes&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MZPSfV8BGS8/SUzVld25KcI/AAAAAAAAIp4/2_2zY1fCSlg/s1600-h/debug2-2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 234px;" src="http://1.bp.blogspot.com/_MZPSfV8BGS8/SUzVld25KcI/AAAAAAAAIp4/2_2zY1fCSlg/s400/debug2-2.JPG" alt="" id="BLOGGER_PHOTO_ID_5281831302645492162" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;Now we see where is error, but still could not understand "why?"&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MZPSfV8BGS8/SUzVrCDOTpI/AAAAAAAAIqA/ZER4iMXQ-zM/s1600-h/debug2-3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 269px;" src="http://1.bp.blogspot.com/_MZPSfV8BGS8/SUzVrCDOTpI/AAAAAAAAIqA/ZER4iMXQ-zM/s400/debug2-3.JPG" alt="" id="BLOGGER_PHOTO_ID_5281831398260231826" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;Now we are definitely close to solve the problem, we see that we did not take "number" field. Why we did not take number field? yes because of small first letter. We should wrote Number but not number.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[Java]&lt;/span&gt;&lt;br /&gt;-    Java debug console (System.out.println(“text”);&lt;br /&gt;- Try / catch with NotesError and NotesException classes&lt;br /&gt;- Remote java debugging with Eclipse&lt;br /&gt;&lt;br /&gt;also I would like to recomend you external LN application&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; &lt;a href="http://www.openntf.org/projects/pmt.nsf/ProjectLookup/OpenLog"&gt;openlog.nsf&lt;/a&gt;&lt;/span&gt; &lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/p:colorscheme&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p:colorscheme&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-9142628349172741458?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/3c7M-nvguYQ/debug-lotus-notes-applications.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_MZPSfV8BGS8/SUzUzvT9aoI/AAAAAAAAIpg/05CbPJwi0Yw/s72-c/debug0.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/12/debug-lotus-notes-applications.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-4918826046415889561</guid><pubDate>Thu, 18 Dec 2008 11:09:00 +0000</pubDate><atom:updated>2008-12-18T12:54:42.327+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>How we can copy ReplicaID to clipboard</title><description>&lt;div style="text-align: left;"&gt;Approach #1. Just make double click on triangle of Address bar, and you will get ReplicaID of database.&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MZPSfV8BGS8/SUo2elhTZDI/AAAAAAAAIn4/yIk6qb5tmcM/s1600-h/replica.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 175px;" src="http://2.bp.blogspot.com/_MZPSfV8BGS8/SUo2elhTZDI/AAAAAAAAIn4/yIk6qb5tmcM/s400/replica.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5281093412141098034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Approach #2. Open properties on document and look on "Meta" tab.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MZPSfV8BGS8/SUo4skPUmoI/AAAAAAAAIoA/A9TNvw0i1GQ/s1600-h/replicaid2.JPG"&gt;&lt;img src="http://3.bp.blogspot.com/_MZPSfV8BGS8/SUo4skPUmoI/AAAAAAAAIoA/A9TNvw0i1GQ/s400/replicaid2.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5281095851338668674" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 305px; height: 299px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-4918826046415889561?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/QIZm_KZsST0/how-we-can-copy-replicaid-to-clipboard.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_MZPSfV8BGS8/SUo2elhTZDI/AAAAAAAAIn4/yIk6qb5tmcM/s72-c/replica.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/12/how-we-can-copy-replicaid-to-clipboard.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-4289787691368277751</guid><pubDate>Wed, 10 Dec 2008 20:39:00 +0000</pubDate><atom:updated>2008-12-10T22:01:27.732+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><title>Difference between call of Sub/Functional</title><description>Actually I was surprised today when I saw this, please check both scenarios:&lt;br /&gt;In one scenario &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 51, 204);"&gt;Call addone(i)&lt;span style="color: rgb(0, 0, 0);"&gt; it transmit I as reference in another one&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(0, 153, 0);"&gt;addone(i)&lt;span style="color: rgb(0, 0, 0);"&gt; - ByVal&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;Sub Click(Source As Button)&lt;br /&gt;   Dim i As Integer&lt;br /&gt;   Dim j As Integer&lt;br /&gt;   i = 1&lt;br /&gt;   For j = 0 To 10&lt;br /&gt;       &lt;span style="color: rgb(204, 51, 204);"&gt;Call addone(i)&lt;/span&gt; | &lt;span style="color: rgb(0, 153, 0);"&gt;addone(i)&lt;/span&gt;&lt;br /&gt;   Next&lt;br /&gt;&lt;br /&gt;   Print "i = " &amp;amp; i&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Sub addone(i As Integer)&lt;br /&gt;   i = i + 1&lt;br /&gt;End Sub&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-4289787691368277751?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/u6wuFVMltV4/difference-between-call-of.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/12/difference-between-call-of.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-6612932601626792080</guid><pubDate>Mon, 01 Dec 2008 08:22:00 +0000</pubDate><atom:updated>2008-12-01T12:14:09.720+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus features</category><title>MS ListView Control in LN</title><description>&lt;a href="http://2.bp.blogspot.com/_MZPSfV8BGS8/STPGzyZpvII/AAAAAAAAH0U/wwF5zy4cp4k/s1600-h/mslistview.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5274778181585976450" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 143px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_MZPSfV8BGS8/STPGzyZpvII/AAAAAAAAH0U/wwF5zy4cp4k/s400/mslistview.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_MZPSfV8BGS8/STPGB5Qr3tI/AAAAAAAAHz0/MP9MmObdqbU/s1600-h/applet_properties.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5274777324433956562" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 289px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_MZPSfV8BGS8/STPGB5Qr3tI/AAAAAAAAHz0/MP9MmObdqbU/s400/applet_properties.JPG" border="0" /&gt;&lt;/a&gt;&lt;span&gt;In one of our project we used MS ListView Control to show the data in one table. So here what we did. If you want try this approach also, you should do next steps:&lt;br /&gt;Go to designer, create new form&lt;br /&gt;click on menu: Create\Object and choose MS ListView Control.&lt;br /&gt;Set name to this object and then you can do what you wish with this control, some code: &lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255)"&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic;font-size:85%;" &gt;Dim control As Variant&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Dim lwItem As Variant&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Set control = source.getObject("ListView")&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Set lwItem = control.ListItems.add(1, "a1", "fio2", 0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Set lwItem = control.ListItems.add(2, "a2", "fio3", 0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Set lwItem = control.ListItems.add(3, "a3", "fio4", 0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Set lwItem = control.ListItems.add(4, "a4", "fio5", 0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,255);font-size:85%;" &gt;Call control.refresh()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-6612932601626792080?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/TZM8IJQ4v5A/ms-listview-control-in-ln.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_MZPSfV8BGS8/STPGzyZpvII/AAAAAAAAH0U/wwF5zy4cp4k/s72-c/mslistview.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/12/ms-listview-control-in-ln.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-6420091344251725311</guid><pubDate>Tue, 11 Nov 2008 10:00:00 +0000</pubDate><atom:updated>2008-12-08T10:52:24.262+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>Full Text message: Work area overflown due to many hits</title><description>&lt;span style="font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;;mso-ansi-language:EN-US;mso-fareast-language: EN-US;mso-bidi-language:AR-SAfont-family:&amp;quot;;font-size:10.0pt;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;I was facing with strange error.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255); font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;11.11.2008 00:37:34   Full Text message: Work area overflown due to many hits. Error-Number = 130&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;11.11.2008 00:37:34   GTR search error for "D:\Lotus\Domino\Data\Referent\DD\ddagr.ft\UNDX\ftgi0000": Work area overflown due to many hits. Error-Number = 130: Full text error; see log for more information&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The error happened each time at line with NotesDatabase.FTSearch(query, 0)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;query = (([Form]="AgrAddon") &amp;amp; ( ([AgrDate]=08.07.2005 &amp;amp; [AgrAddonDate]=25.06.2008 &amp;amp; !([AgrAddonNum]=("-" | "/")) )))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255); font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;What I found in the internet (especially at IBM forum) that this problem could be because of this part of query [AgrAddonNum]=("-" | "/").&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;Actually sometimes(?) symbols - , ; : \ return this error.  So I changed query and it worked well (I hope it will not repeat anymore)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-6420091344251725311?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/san5E5pn69o/i-was-facing-with-strange-error-last.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/11/i-was-facing-with-strange-error-last.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-5883873130382099479</guid><pubDate>Wed, 05 Nov 2008 11:12:00 +0000</pubDate><atom:updated>2008-11-05T12:19:01.345+01:00</atom:updated><title>Defer index creation until first use + ENABLE_ON_DEMAND_COLLATIONS=1</title><description>In case if we would like to use "Defer index creation until first use" option in  columns,  we have to remember that it works only in case if Administrator set &lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ENABLE_ON_DEMAND_COLLATIONS=1&lt;/span&gt;&lt;/span&gt; in notes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5883873130382099479?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/3cyIQ18wDOw/defer-index-creation-until-first-use.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/11/defer-index-creation-until-first-use.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-5005009137903535356</guid><pubDate>Thu, 23 Oct 2008 13:58:00 +0000</pubDate><atom:updated>2008-10-24T13:15:33.425+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus news</category><title>Just found the test-exams for Lotus Notes R7</title><description>&lt;a href="http://dpastov.googlepages.com/IBM_Lotus_Notes_Domino_7_Certificati.rar"&gt;download tests&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;btw, does somebody have free tests for Lotus Notes R8 ? :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5005009137903535356?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/jr6NQwjajYE/just-found-test-exams-for-lotus-notes.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/10/just-found-test-exams-for-lotus-notes.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-5772838105101082015</guid><pubDate>Thu, 23 Oct 2008 10:03:00 +0000</pubDate><atom:updated>2008-10-23T12:09:14.248+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus fun</category><title>NotesDocumentCollection.IsSorted where I can use it?</title><description>I looked on this method many times and still don't understand where/how I can use it.&lt;br /&gt;I really expected that new method NotesDocumentCollection.Sort(...) would  in Lotus Notes later, but it did not happen. So how can I cook it? Can anybody explain me? What I see that we really can't sort collection at all...&lt;span style="font-style: italic;font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;&lt;br /&gt;Sub Click(Source As Button)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  Dim session As New NotesSession&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  Dim db As NotesDatabase&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  Dim collection As NotesDocumentCollection&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  Set db = session.CurrentDatabase&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  Set collection = db.FTSearch( "white wine", 0 )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  If collection.&lt;span style="font-weight: bold;"&gt;IsSorted&lt;/span&gt; Then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    Messagebox( "This collection is sorted" )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  Else&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    Messagebox( "This collection is unsorted" )&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  End If&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5772838105101082015?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/gVRKQO7YKpM/notesdocumentcollectionissorted-where-i.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/10/notesdocumentcollectionissorted-where-i.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-2999127789718571686</guid><pubDate>Wed, 22 Oct 2008 14:02:00 +0000</pubDate><atom:updated>2008-10-22T20:16:26.081+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><title>edit attachment via LS</title><description>I don't know good solution for this task, so it would be cool if somebody share better way then this one.&lt;br /&gt;So if you want to emulate editing of attachments via backend you can do next:&lt;br /&gt;1. make edit button,.&lt;br /&gt;- this button "Open attachment" should export attachment to disk and remember/save the path to the file somewhere.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Dim w As New NotesUIWorkspace&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Dim s As New NotesSession&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Dim doc As NotesDocument&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Dim rtitem As NotesRichTextItem&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Dim filename As String&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Set doc = w.CurrentDocument.Document&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    Set rtitem = doc.GetFirstItem("Body")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    If doc.HasEmbedded Then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;        Forall o In rtitem.EmbeddedObjects&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;            filename = "c:\" &amp;amp; o.name&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;            Call o.ExtractFile (filename)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;            Call doc.ReplaceItemValue("filename", filename)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;            &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;            Call ShellExecute(0, "Open", fileName,"", "C:\", 1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;        End Forall&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;    End If&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;than step #2&lt;br /&gt;you should make some changes and save attachments&lt;br /&gt;&lt;br /&gt;step #3&lt;br /&gt;now we have to click on Import button, this button should remove old attachment and import new one. Something like this&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;   Dim w As New NotesUIWorkspace&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Dim s As New NotesSession&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Dim doc As NotesDocument&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Dim rtitem As NotesRichTextItem&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Dim filename As String&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Set doc = w.CurrentDocument.Document&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Set rtitem = doc.GetFirstItem("Body")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    If doc.HasEmbedded Then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;        Forall o In rtitem.EmbeddedObjects&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;            filename = "c:\" &amp;amp; o.name&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;            Call o.Remove()&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;            Call rtitem.EmbedObject(EMBED_ATTACHMENT, "", doc.GetItemValue("filename")(0))&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;        End Forall&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    End If&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Call doc.ReplaceItemValue("filename", "")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;    Call doc.Save(True, True)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;But if you read comments you will see much better &lt;a style="font-weight: bold;" href="http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/8829cb697c74ab6d8525693700564486?OpenDocument"&gt;solution&lt;/a&gt;, I should say that it is really good way to solve this task.&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-2999127789718571686?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/oCM-F-QOoq4/edit-attachment-via-ls.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/10/edit-attachment-via-ls.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-840868238703402712</guid><pubDate>Mon, 06 Oct 2008 11:40:00 +0000</pubDate><atom:updated>2008-10-06T21:31:26.642+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><category domain="http://www.blogger.com/atom/ns#">lotus features</category><title>FTSearch on empty field</title><description>I'm facing with problem where I should get collection of documents with empty field. It means that query should look like this&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:85%;" &gt;set col = db.FTSearch({[myField] = ""}, 0)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;but we know that it does not work at all. So I found the solution &lt;a style="font-weight: bold;" href="http://www.alanlepofsky.net/alepofsky/alanblog.nsf/dx/searching-for-blank-fields"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;set col = db.FTSearch({not [myField] = is present}, 0)&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-840868238703402712?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/uHzfHEzUk7A/ftsearch-on-empty-field.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/10/ftsearch-on-empty-field.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-5425852987530508740</guid><pubDate>Sat, 27 Sep 2008 08:14:00 +0000</pubDate><atom:updated>2008-09-27T10:18:52.407+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus community</category><title>Upgrade Design Folder in Lotus Notes 8</title><description>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.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MZPSfV8BGS8/SN3rqwd4VtI/AAAAAAAAHpQ/7Tqfczd0QyE/s1600-h/replace_template.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_MZPSfV8BGS8/SN3rqwd4VtI/AAAAAAAAHpQ/7Tqfczd0QyE/s320/replace_template.JPG" alt="" id="BLOGGER_PHOTO_ID_5250611860381128402" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5425852987530508740?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/Ke6WRVI6Y5I/upgrade-design-folder-in-lotus-notes-8.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_MZPSfV8BGS8/SN3rqwd4VtI/AAAAAAAAHpQ/7Tqfczd0QyE/s72-c/replace_template.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/09/upgrade-design-folder-in-lotus-notes-8.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-6113101939663480689</guid><pubDate>Thu, 25 Sep 2008 14:26:00 +0000</pubDate><atom:updated>2008-09-26T09:38:46.882+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus script</category><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>get user name from id file</title><description>&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span sans="" serif=""  style="font-family:Default;"&gt;&lt;/span&gt;&lt;/span&gt;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...&lt;span style="font-style: italic; color: rgb(0, 0, 153);font-size:85%;" &gt;&lt;span sans="" serif=""  style="font-family:Default;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);font-size:85%;" &gt;Dim s As New NotesSession&lt;br /&gt;Dim stream As NotesStream&lt;br /&gt;&lt;br /&gt;Dim body As Variant&lt;br /&gt;Dim pathname As String&lt;br /&gt;Dim strBody As String&lt;br /&gt;&lt;br /&gt;pathname = "c:\user.id"&lt;br /&gt;&lt;br /&gt;Set stream = s.CreateStream&lt;br /&gt;&lt;br /&gt;If Not stream.Open(pathname, "ASCII") Then&lt;br /&gt;Messagebox pathname,, "Open failed"&lt;br /&gt;Exit Sub&lt;br /&gt;End If&lt;br /&gt;If stream.Bytes = 0 Then&lt;br /&gt;Messagebox pathname,, "File has no content"&lt;br /&gt;Exit Sub&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;body = stream.Read(stream.Bytes)&lt;br /&gt;Call stream.Close&lt;br /&gt;&lt;br /&gt;Forall x In body&lt;br /&gt;If x &lt;&gt; 0 Then&lt;br /&gt; strBody = strBody &amp;amp; Chr(x)&lt;br /&gt;End If&lt;br /&gt;End Forall&lt;br /&gt;&lt;br /&gt;Msgbox Strleft(Strrightback(strBody, "CN="), "/")&lt;/span&gt;       &lt;span style="color: rgb(0, 0, 153);font-size:85%;" &gt;&lt;span sans="" serif=""  style="font-family:Default;"&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-6113101939663480689?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/Ee5mxQk3lw4/lets-think-if-you-should-receive-name.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/09/lets-think-if-you-should-receive-name.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-4715931266242959860</guid><pubDate>Sun, 21 Sep 2008 11:33:00 +0000</pubDate><atom:updated>2008-09-21T13:39:27.130+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>easy way to debug schedule agents</title><description>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.&lt;br /&gt;&lt;br /&gt;Look at this simple code in schedule agent. Would you  like to check which value contain strC ? no problem, send an email yourself...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="font-style: italic;"&gt;strA := "ABC";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;strB := "DEF";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;strC := strA + strB;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;@MailSend("your are";"";""; "debug strC"; ""; "strC = " + strC)&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-4715931266242959860?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/5jpW-jPAnSw/easy-way-to-debug-schedule-agents.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/09/easy-way-to-debug-schedule-agents.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-307429275284948974</guid><pubDate>Sat, 20 Sep 2008 11:22:00 +0000</pubDate><atom:updated>2008-09-25T12:27:33.319+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus perfomance</category><title>Platform Stats: Unable to obtain performance data. Please check Microsoft MSDN on how to enable performance data collection</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MZPSfV8BGS8/SNTfwP69mBI/AAAAAAAAHoc/9Xe2wzK29Pc/s1600-h/perfomance_data.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 355px; height: 174px;" src="http://4.bp.blogspot.com/_MZPSfV8BGS8/SNTfwP69mBI/AAAAAAAAHoc/9Xe2wzK29Pc/s320/perfomance_data.JPG" alt="" id="BLOGGER_PHOTO_ID_5248065485794023442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;why is it?&lt;br /&gt;&lt;/span&gt;because you are running Domino on an unsupported OS (as clearly stated in the Platform requirements in the documentation/release notes).&lt;br /&gt;&lt;br /&gt;XP is not supported, and there are known issues with it.&lt;br /&gt;Supported Windows-based OSes for the Server are NT, 2000 and 2003. Not XP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to disable this alarm / notification?&lt;/span&gt;&lt;br /&gt;Put this line in notes.ini &lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;platform_statistics_disabled=1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; on Lotus Domino server.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-307429275284948974?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/ArHK60C6tBA/platform-stats-unable-to-obtain.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_MZPSfV8BGS8/SNTfwP69mBI/AAAAAAAAHoc/9Xe2wzK29Pc/s72-c/perfomance_data.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/09/platform-stats-unable-to-obtain.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-688217435925752862</guid><pubDate>Wed, 17 Sep 2008 07:37:00 +0000</pubDate><atom:updated>2008-09-17T09:45:33.030+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus community</category><category domain="http://www.blogger.com/atom/ns#">lotus fun</category><title>File - Tools : Additional options</title><description>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: &lt;span style="font-style: italic; color: rgb(51, 51, 255); font-weight: bold;"&gt;[Cleanup Separators]&lt;/span&gt; and &lt;span style="font-style: italic; font-weight: bold; color: rgb(51, 51, 255);"&gt;[Debugging Dashboard]&lt;/span&gt;. I don't know if it useful, but at least something new :)&lt;br /&gt;Here is a screen with two additional options.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MZPSfV8BGS8/SNC0BOe0CuI/AAAAAAAAHoM/fjNtA3W2Zjs/s1600-h/File_Tools.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 430px; height: 405px;" src="http://3.bp.blogspot.com/_MZPSfV8BGS8/SNC0BOe0CuI/AAAAAAAAHoM/fjNtA3W2Zjs/s320/File_Tools.JPG" alt="" id="BLOGGER_PHOTO_ID_5246891499046832866" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-688217435925752862?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/OGHc0PgOBdg/file-tools-additional-options.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_MZPSfV8BGS8/SNC0BOe0CuI/AAAAAAAAHoM/fjNtA3W2Zjs/s72-c/File_Tools.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/09/file-tools-additional-options.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-6254384803351818123</guid><pubDate>Tue, 16 Sep 2008 06:53:00 +0000</pubDate><atom:updated>2008-09-16T08:56:39.979+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus formula</category><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><title>how we can remove temporary fields from document</title><description>Set a computed field in the bottom of the form with next formula:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;@If(@IsDocBeingSaved; @Success; @Return("")); &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;@SetField("Field1"; @DeleteField); &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;@SetField("Field2"; @Unavailable); &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;@DeleteField&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;It is very simple and useful solutions as for me and to be honest I did not find any better way&lt;span style="font-style: italic;font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-6254384803351818123?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/u9daPw8OAaI/how-we-can-remove-temporary-fields-from.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/09/how-we-can-remove-temporary-fields-from.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-34728599.post-3176278498713603843</guid><pubDate>Thu, 28 Aug 2008 15:44:00 +0000</pubDate><atom:updated>2008-08-29T08:27:28.879+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">lotus approach</category><category domain="http://www.blogger.com/atom/ns#">web</category><title>Redirect in WebQueryOpen</title><description>It looks like very simple task -  redirect to another element in WebQueryOpen , but when I tried to do it it did not work ! I mean in WQO JavaScript does not work well (or probably at all).&lt;br /&gt;So I found good solution for me, and I would like to share it:&lt;br /&gt;&lt;br /&gt;We have to take current document and then change the value in $$HTMLHeader.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-3176278498713603843?l=dpastov.blogspot.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/dpastov/~3/Pk-bQlUa8_o/redirect-in-webqueryopen.html</link><author>dpastov@gmail.com (Dmytro Pastovenskyi)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://dpastov.blogspot.com/2008/08/redirect-in-webqueryopen.html</feedburner:origLink></item></channel></rss>
