<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:wfw="http://wellformedweb.org/CommentAPI/"
 xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
 xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>
<channel>
<title>Dwight Wilbanks BLOG</title>
<description>Full Posts from Current Stories</description>
<lastBuildDate>Wed, 23 Jul 2008 16:47:10 -0500</lastBuildDate>
<link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/Open</link>
<item><title>More remote desktop tips, non-standard screen sizes</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-7GTTK3</link><description><![CDATA[ From Time to time I use my Wife's laptop, its not often, but, I do from time to time.   Mostly what I do with a laptop, is remote desktop back into a computer either in the data center or at  home.  That way I have all my application configured just the way ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-7GTTK3</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-7GTTK3</guid><content:encoded><![CDATA[ From Time to time I use my Wife's laptop, its not often, but, I do from time to time.   Mostly what I do with a laptop, is remote desktop back into a computer either in the data center or at  home.  That way I have all my application configured just the way that I want them.

Her laptop has a 1680x1050 wide screen resolution screen, which i suppose is fine, but, when used with remote desktop, its not one of the supported resolutions.

The impact of this is that it will downsize to the nearest supported resolution, for her's its 1600x1050, but, if you switch, to windowed mode then back to full screen, it will not go into full screen.

Up until now, my way around this, instead of minimizing a window full screen session, I would just kill it and restart it, which is much, much slower.

You can specify a non-standard  size directly in the RDP file, which is just a text configuration file.

Here are the important settings
desktopwidth:i:1680
desktopheight:i:1050]]></content:encoded><pubDate>Wed, 23 Jul 2008 16:47:10 -0500</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=2E2D103B6801B4918625748F0076EF08</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=2E2D103B6801B4918625748F0076EF08</wfw:comment></item><item><title>Remote desktop at home and port numbers</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-7FEMYP</link><description><![CDATA[ I am a HUGE fan of remote desktop, My server lab used to contain swarms of computers, mostly junk, used for single purpose, often I would go months without using one or the other, but, when I needed it I could just turn it on and have a pre-configured {fill ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-7FEMYP</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-7FEMYP</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">I am a HUGE fan of remote desktop, My server lab used to contain swarms of computers, mostly junk, used for single purpose, often I would go months without using one or the other, but, when I needed it I could just turn it on and have a pre-configured {fill in the blank} server that is up and running to play with.<br />
<br /> Enter Virtualization.<br />
<br /> My number of test machines has absolutely exploded, I now have single purpose virtual machines, I can clone easily dispose of failures quickly, come back to successes later.<br />
<br /> Each of my test machines is just a few files on a 6 drive, Quad core server at home, which also serves as a hardware mirror for a production server.<br />
<br /> As my dependancy increased, my productivity &quot;away&quot; decreased, when I'm on the laptop, I found myself connecting to one machine at home, then from there daisy chaining to another machine so, I have an RDP session inside an RDP session. &nbsp;Although this works, its not as productive as having direct connections.<br />
<br /> My home router does port forwarding and I get to &quot;choose&quot; which machine or virtual is becomes the weakest link.<br />
<br /> Recently, I've discovered the registry keys (on XP) to move the RDP service to an alternative port. &nbsp; By default RDP is on port 3389, for my purposes, I change the last two digits of the port number to the last two digits of the IP address.<br />
<br /> So, for the machine that would have the IP address 192.168.1.15 at home would be on port 3315. &nbsp; This allows me to save RDP connection files for homeaddress:3315 and connect directly to that machine.<br />
<br /> Here are the registry keys that I use:<br />
<br /> &lsqb;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List&rsqb;<br /> &quot;3389:TCP&quot;=&quot;3389:TCP:*:Enabled:@xpsp2res.dll,-22009&quot;<br /> 'this key is only necessary if you are using windows firewall<br /> 'I change this to:<br /> &quot;3315:TCP&quot;=&quot;3315:TCP:*:Enabled:@xpsp2res.dll,-22009&quot;<br />
<br />
<br /> &lsqb;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp&rsqb;<br /> &quot;PortNumber&quot;=dword:00000d3d<br /> '00000d3d is the hex value for 3389, the Hex value for 3315 is cf3<br />
<br /> Once those values are changed when the machine reboots, it comes back up using the new port, then all that is needed it to perform port forwarding at the router<br />
</font> ]]></content:encoded><pubDate>Sun, 8 Jun 2008 12:01:49 -0500</pubDate><slash:comments>1</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=EC186FFF7B24286F86257462005CFEE7</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=EC186FFF7B24286F86257462005CFEE7</wfw:comment></item><item><title>Screen capture, the easy way.</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76QKJL</link><description><![CDATA[ Have you read a page, thinking that you would come back to it, but, later can't find it, or any reference of it, or any external confirmation that it was not just completly imaginary?
 I've been asking everyone I know, &quot;did I tell you about...&quot; ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76QKJL</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76QKJL</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">Have you read a page, thinking that you would come back to it, but, later can't find it, or any reference of it, or any external confirmation that it was not just completly imaginary?<br />
<br /> I've been asking everyone I know, &quot;did I tell you about...&quot; followed by, &quot;did I send you a link to...?&quot;<br />
<br /> The </font><a href=http://www.jingproject.com/><font size=2 color=blue face="sans-serif">JingProject</font></a><font size=2 face="sans-serif"> allows you to capture either a screen, or video from your screen, similar to other products, with a difference of allowing very tight integration with their a web host.</font>
<br />
<br /><font size=2 face="sans-serif">After you complete your capture, it allows you to upload your video or screen capture directly to their web server and a URL is left on your clipboard.</font>
<br />
<br /><font size=2 face="sans-serif">Think Instant Message.</font>
<br />
<br /><font size=2 face="sans-serif">You're in a converstaion with someone, trying to describe something unsucuccessfully.</font>
<br />
<br /><font size=2 face="sans-serif">Click a hotkey (I chose control+alt+J)
</font>
<br /><font size=2 face="sans-serif">Select the window or screen region that you want to capture</font>
<br /><font size=2 face="sans-serif">Click Video</font>
<br /><font size=2 face="sans-serif">Perform the action</font>
<br /><font size=2 face="sans-serif">Click Stop</font>
<br /><font size=2 face="sans-serif">Click Share</font>
<br /><font size=2 face="sans-serif">go back to your chat window and paste the URL</font>
<br />
<br /><font size=2 face="sans-serif">Its magic and exceptionally cool and simple.</font> ]]></content:encoded><pubDate>Tue, 4 Sep 2007 09:56:51 -0500</pubDate><slash:comments>3</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=5538B1212C42ED8E8625734C00503ECA</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=5538B1212C42ED8E8625734C00503ECA</wfw:comment></item><item><title>Freebie SNTT for the Californians!   Validating mailing addresses.</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76L7Z8</link><description><![CDATA[ Well the whole west coast actually, Im pretty sure its already tomorrow in Asia.

I recently inherited a database that, at one time had a bad input translation formula (no relation to previous post), &nbsp;but, as the result, all the zip codes on all the ...]]></description><dc:subject>SNTT</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76L7Z8</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76L7Z8</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">Well the whole west coast actually, Im pretty sure its already tomorrow in Asia.</font>
<br />
<br /><font size=2 face="sans-serif">I recently inherited a database that, at one time had a bad input translation formula (no relation to previous post), &nbsp;but, as the result, all the zip codes on all the documents were zapped, proir to my comming on board..</font>
<br />
<br /><font size=2 face="sans-serif">There really was not that much data, but, I figured it was time to dig into google maps api and come up with a programatic solution.</font>
<br />
<br /><font size=2 face="sans-serif">I know that I get pretty good results pasteing partial addresses into the search bar, it comes back with whatever it can, formatted as well as it can.</font>
<br />
<br /><font size=2 face="sans-serif">I was quite amazed at how much data I could forget, and still come back with valid results.</font>
<br />
<br /><font size=2 face="sans-serif">I bookmarked this one a while ago, I new that I would come back to it at some time and it ended up being today. &nbsp; </font>
<br />
<br /><font size=2 face="sans-serif">http://econym.googlepages.com/example_geo.htm</font>
<br />
<br /><font size=2 face="sans-serif">Most importanly when I click the &quot;Go!&quot; button, while </font><a href=http://www.fiddler2.com/fiddler2/><font size=2 color=blue face="sans-serif">fiddler</font></a><font size=2 face="sans-serif"> is running it shows me the data that goes back and forth, its pretty clear what the URL syntax is and what the parsing method is.</font>
<br />
<br /><font size=2 face="sans-serif">In the case of the example, they use, &nbsp;what years ago, &nbsp;I called dynamic javascript. &nbsp; Now that this sort of thing is in vogue, Im sure its got a flashy name, but I don't know what it is. &nbsp;I'm pretty sure that even though it has JSON in the URL, its not &quot;real&quot; JSON because its directly executed, but, none the less, I digress. &nbsp; I'm really much less interested in the name than how it works.</font>
<br />
<br /><font size=2 face="sans-serif">On to the code!</font> ]]></content:encoded><pubDate>Fri, 31 Aug 2007 00:05:51 -0500</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=C4CD516803BF68CC86257348001A25E4</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=C4CD516803BF68CC86257348001A25E4</wfw:comment></item><item><title>Consistant formulas</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76L74G</link><description><![CDATA[ By my watch, in central time, its still thurday, so I'm posting this as SNTT even though theres very little Thursday left.

I sometimes I just fustrated performing the same tasks over and over again inside the domino designer.

Often times this can't be ...]]></description><dc:subject>SNTT</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76L74G</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-76L74G</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">By my watch, in central time, its still thurday, so I'm posting this as SNTT even though theres very little Thursday left.</font>
<br />
<br /><font size=2 face="sans-serif">I sometimes I just fustrated performing the same tasks over and over again inside the domino designer.</font>
<br />
<br /><font size=2 face="sans-serif">Often times this can't be helped, like when you have a whole bunch of rows and each one of them gets a slightly different hide formula, or a separate cell class on each cell in a column or whatever.</font>
<br />
<br /><font size=2 face="sans-serif">I recently ran into a case where I was doing a web survey, with radio buttons that should formatted the same throughout the form, but, &quot;the same&quot; was going to change.</font>
<br /><font size=2 face="sans-serif"><br /> I know that we needed consistent spacing and I was almost positive that domino radio button rendering would not do.</font>
<br />
<br /><font size=2 face="sans-serif">There were several things that I knew up front.</font>
<br />
<br /><font size=2 face="sans-serif">1. &nbsp; Whatever I put up in phase 1 would be wrong.</font>
<br /><font size=2 face="sans-serif">2. &nbsp; The wrong stuff specified by #1 needed to look consistant and when the new stuff comes in (likely several iterations), it also would need to be consistent.</font>
<br /><font size=2 face="sans-serif">3. &nbsp; I know up front that I hate, hate, hate going back and pasteing in one field after another.</font>
<br />
<br /><font size=2 face="sans-serif">Which lead me to think about the @eval function. &nbsp; I've been around for for a while and I've never used it. &nbsp; I also can't remember seeing anyone else using it, so, I thought I would give it a try.</font>
<br />
<br />
<br /><font size=2 face="sans-serif">Long story -&gt; short it worked awsome, I was able to store a &quot;template&quot; for the formula of rendering my HTML then evaluate that over and over.</font>
<br />
<br /><font size=2 face="sans-serif">Well, it accomplished the goal, but, the needs were not very universal and the solution, however cool to me, was not very portable.</font>
<br />
<br /><font size=2 face="sans-serif">Soon thereafter I stumbled upon by very own personal addressbook. &nbsp; Look at all those phone numbers, some of them clearly were imported from outlook, some of them came from add to local addressbook within some companies domain and all of them, across the board were formatted differenly.</font>
<br />
<br /><font size=2 face="sans-serif">I'm a &quot;data&quot; &nbsp; guy, I can't help myself from wanting a consistent format. &nbsp;One thing for sure, is that the moment that I draw a line in the sand and state, &quot;this is my format&quot; &nbsp;I will meet someone in a new country, and the formatting will need to be updated. &nbsp; But, since I've done it everywhere, I will need to apply the same fix to all the places that I did previously (and don't forget any)</font>
<br />
<br /><font size=2 face="sans-serif">This seemed to me to be another oportunity for my new friend the @eval function.</font>
<br />
<br /><font size=2 face="sans-serif">I started out putting my formula in a Computed for Display field, I did my testing, it all worked fine, I did some tweeking, etc it was a wonderfull thing.</font>
<br />
<br /><font size=2 face="sans-serif">Then, at the view level I thought about selecting all then hitting my homegrown ToolsRefreshSelectedDocs, toolbar icon, but stopped because that will not work. &nbsp;(or maybe it will, but, I know that the lotusscript compute with form will not work), so, instead, I created a CFD field that would update a profile document that contains the formula. &nbsp; &nbsp;Profile documents are always there and rockin fast.</font>
<br />
<br /><font size=2 face="sans-serif">So, heres how I did it.</font>
<br />
<br /><font size=2 face="sans-serif">In every phone field I put this formula in the input translation formula.</font>
<br />
<br />
<br /><font size=2 face="sans-serif">@Eval( @GetProfileField( &quot;Input&quot;;&quot;PhoneTranslation&quot;))</font>
<br />
<br /><font size=2 face="sans-serif">What that does is gets the string of text from the profile document and treats it like a formula and comes back with a result.</font>
<br />
<br /><font size=2 face="sans-serif">Then at the top of the form, I generated a computed for display field (marked as hidden) &nbsp;It had this formula.</font>
<br />
<br />
<table border width=100%>
<tr valign=top>
<td width=100%><font size=2 face="sans-serif">Translate := </font><font size=2 color=blue face="sans-serif">@GetProfileField</font><font size=2 face="sans-serif">(
</font><font size=2 color=#ff00ff face="sans-serif">&quot;Input&quot;</font><font size=2 face="sans-serif">;</font><font size=2 color=#ff00ff face="sans-serif">&quot;PhoneTranslation&quot;</font><font size=2 face="sans-serif">);</font>
<br /><font size=2 color=blue face="sans-serif">@If</font><font size=2 face="sans-serif">( Translate!=&quot;&quot;;</font><font size=2 color=blue face="sans-serif">@Return</font><font size=2 face="sans-serif">(</font><font size=2 color=#ff00ff face="sans-serif">&quot;Set.AlreadyDone&quot;</font><font size=2 face="sans-serif">);&quot;&quot;);</font>
<br /><font size=2 face="sans-serif">ProfileValue := </font><font size=2 color=#ff00ff face="sans-serif">&quot;</font>
<br /><font size=2 color=#ff00ff face="sans-serif">FieldVal := @ThisValue;
</font>
<br /><font size=2 color=#ff00ff face="sans-serif">WellFormed := \&quot;{+}+{0-9-}{ }{(}+{0-9}{)}+{0-9-}\&quot;;</font>
<br /><font size=2 color=#ff00ff face="sans-serif">Extention := \&quot;{ }{e}{ }+{0-9}\&quot;;</font>
<br /><font size=2 color=#ff00ff face="sans-serif">@If(</font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp;@Matches( FieldVal; WellFormed); @Return(FieldVal);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp;@Matches( FieldVal; WellFormed +Extention); @Return(FieldVal);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp;\&quot;\&quot;);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">StripFormat := \&quot;+\&quot;:\&quot; \&quot;:\&quot;(\&quot;:\&quot;)\&quot;:\&quot;.\&quot;:\&quot;-\&quot;:\&quot; \&quot;;</font>
<br /><font size=2 color=#ff00ff face="sans-serif">NoFmt := @ReplaceSubstring( FieldVal;StripFormat;\&quot;\&quot;);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">RTNValue := @If( &nbsp; &nbsp; &nbsp; &nbsp; </font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @Left( NoFmt;1) = \&quot;1\&quot; &amp; @Length( NoFmt) = 11; </font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \&quot;+1 (\&quot; +@Middle( NoFmt;1;3) + \&quot;)\&quot; + @Middle( NoFmt;4;3) + \&quot;-\&quot; + @Middle( NoFmt;7;4);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @Left( NoFmt;1) != \&quot;1\&quot; &amp; @Length( NoFmt) = 10; </font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \&quot;+1 (\&quot; +@Middle( NoFmt;0;3) + \&quot;)\&quot; + @Middle( NoFmt;3;3) + \&quot;-\&quot; + @Middle( NoFmt;6;4);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FieldVal);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">@return(RTNValue);</font>
<br /><font size=2 color=#ff00ff face="sans-serif">&quot;</font><font size=2 face="sans-serif">;</font>
<br /><font size=2 color=blue face="sans-serif">@SetProfileField</font><font size=2 face="sans-serif">(
</font><font size=2 color=#ff00ff face="sans-serif">&quot;Input&quot;</font><font size=2 face="sans-serif">;</font><font size=2 color=#ff00ff face="sans-serif">&quot;PhoneTranslation&quot;</font><font size=2 face="sans-serif">;ProfileValue);</font>
<br /><font size=2 face="sans-serif">Translate := </font><font size=2 color=blue face="sans-serif">@GetProfileField</font><font size=2 face="sans-serif">(
</font><font size=2 color=#ff00ff face="sans-serif">&quot;Input&quot;</font><font size=2 face="sans-serif">;</font><font size=2 color=#ff00ff face="sans-serif">&quot;PhoneTranslation&quot;</font><font size=2 face="sans-serif">);</font>
<br /><font size=2 color=blue face="sans-serif">@If</font><font size=2 face="sans-serif">(</font>
<br /><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Translate!=</font><font size=2 color=#ff00ff face="sans-serif">&quot;&quot;</font><font size=2 face="sans-serif">;</font>
<br /><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><font size=2 color=blue face="sans-serif">@Return</font><font size=2 face="sans-serif">(</font><font size=2 color=#ff00ff face="sans-serif">&quot;Set.Success&quot;</font><font size=2 face="sans-serif">);</font>
<br /><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><font size=2 color=blue face="sans-serif">@Return</font><font size=2 face="sans-serif">(</font><font size=2 color=#ff00ff face="sans-serif">&quot;Set.Failed&quot;</font><font size=2 face="sans-serif">))</font></table>
<br />
<br /><font size=2 face="sans-serif">I've got 12 minutes, so, Im gonna be quick about it.</font>
<br />
<br /><font size=2 face="sans-serif">If there is already a profile document stored in the database, then don't do anything, just exit out with the @return function, if that part of the @if statement is evaluated, nothing else after it, in the formula will be evaluated.</font>
<br />
<br /><font size=2 face="sans-serif">Directly after that I set the value for the ProfileValue field, notice that there is an opening quote on the first line, then that statement goes on until the closing quote &amp; semicolon several lines down.</font>
<br />
<br /><font size=2 face="sans-serif">Thats the part that I expect will need to change later, but, I don't know how. &nbsp; When it does change it will need to change everywhere.</font>
<br /><font size=2 face="sans-serif">So, I set the value into the profile field in the next line, directly after that I read it back.</font>
<br />
<br /><font size=2 face="sans-serif">Now, I didn't do any testing here, but, I assumed that &quot;SOMETHING&quot; could go wrong. &nbsp; I'm not sure what could go wrong in my personal addressbook, but, just in case I check the value, then promptly do nothing with the result of my check. </font>
<br />
<br /><font size=2 face="sans-serif">Wow, and me with 2 minutes to spare.</font> ]]></content:encoded><pubDate>Thu, 30 Aug 2007 23:19:51 -0500</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=AA099D9ED26E7807862573480015F200</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=AA099D9ED26E7807862573480015F200</wfw:comment></item><item><title>Hiding Column Formulas - Development tip</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-75APCE</link><description><![CDATA[ Most of my work recently has been web based, and the users don't have client access to the databases. &nbsp;All maintenance and other nondevelopment activity is done over the web.
 So, sometime I don't hide HTML based view columns, I just leave them showing ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-75APCE</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-75APCE</guid><content:encoded><![CDATA[ <br /><font size=2 face="sans-serif">Most of my work recently has been web based, and the users don't have client access to the databases. &nbsp;All maintenance and other nondevelopment activity is done over the web.<br />
<br /> So, sometime I don't hide HTML based view columns, I just leave them showing so, as I'm developing if I need to look at the raw generated HTML its very easy.<br />
<br /> Recently I've had the desire for a &quot;visible sometimes&quot; column, which leads me to this quick post. &nbsp;If the concept was any more difficult, I would take forever to make the post, then finally quit writing before completion.<br />
<br /> On the column properties (beanie tab) use this formula:<br />
<br /> @Environment( &quot;ShowHiddenColumns&quot; )!=&quot;Yes&quot;<br />
<br /> Then create a toolbar button with this formula:<br />
<br /> EnvName:=&quot;ShowHiddenColumns&quot;;<br /> NewVal:=@If(@Environment( EnvName )=&quot;Yes&quot;;&quot;No&quot;;&quot;Yes&quot;);<br /> @Environment( EnvName ;NewVal)<br />
<br /> The only thing that is missing is refreshing the view, currently, I have to switch to a different view, then back to the one with the &quot;sometimes hidden&quot; column<br />
<br /> Bonus tip:<br /> I always label my column headers beginning with &quot;H-&quot; and change the label color to red. &nbsp;Since this is only seen in then designer its helpful to separate programmatic columns VS display columns.<br /> Bonus tip 2:<br /> For hidden columns that are used to return data (like @implode(fullname:address:city:state:zip;&quot;~&quot;)), the column number is important, concider putting it in the label like this:<br />
<br /> H-Column 5-Lookup <br />
<br /> Also concider puting the lookup values in column 1 if your not sorting on it. &nbsp;That allows your lookup views to also be used and customized for developer maintenance too.<br />
<br /> Anyone still reading?<br />
</font> ]]></content:encoded><pubDate>Fri, 20 Jul 2007 13:11:45 -0500</pubDate><slash:comments>3</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=AF1D4CD64B6111CA8625731E00624C11</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=AF1D4CD64B6111CA8625731E00624C11</wfw:comment></item><item><title>Initial thoughts about rprwyatt and dominofile SPAM</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/rprwyattInitialThought</link><description><![CDATA[ My first contact with rprwyatt &nbsp;was through spam that I received from dominofiles. &nbsp;My gut feel is that any company that's product is not able to stand on its own without resorting to spam, is probably not very good, but, I have no knowlege ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/rprwyattInitialThought</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/rprwyattInitialThought</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">My first contact with </font><a href=http://www.rprwyatt.com><font size=2 color=blue face="sans-serif">rprwyatt</font></a><font size=2 face="sans-serif"> &nbsp;was through </font><a href=http://www.dominofiles.com/><font size=2 color=blue face="sans-serif">spam</font></a><font size=2 face="sans-serif"> that I received from </font><a href=http://en.wikipedia.org/wiki/Spam_(electronic)><font size=2 color=blue face="sans-serif">dominofiles</font></a><font size=2 face="sans-serif">. &nbsp;My gut feel is that any company that's product is not able to stand on its own without resorting to </font><a href=http://www.dominofiles.com/><font size=2 color=blue face="sans-serif">spam</font></a><font size=2 face="sans-serif">, is probably not very good, but, I have no knowlege whatsoever about them as a company (other than they've shown me they work with </font><a href=http://www.dominofiles.com/><font size=2 color=blue face="sans-serif">spammers</font></a><font size=2 face="sans-serif">).<br />
<br />
</font><a href=http://www.bruceelgort.com/><font size=2 color=blue face="sans-serif">Bruce</font></a><font size=2 face="sans-serif"> blogged about dominofiles </font><a href="http://www.bruceelgort.com/blogs/be.nsf/plinks/BELT-6XCPR5"><font size=2 color=blue face="sans-serif">last month</font></a><font size=2 face="sans-serif"> . <br />
<br /> I sent my opt out request to dominofiles (twice), but, to no avail, they bounced the first one back to me and didnt act on the second.<br />
<br /> I've chatted with </font><a href=http://www.bruceelgort.com/><font size=2 color=blue face="sans-serif">Bruce</font></a><font size=2 face="sans-serif"> and he tells me that he does not get dominofiles </font><a href=http://www.dominofiles.com/><font size=2 color=blue face="sans-serif">spam</font></a><font size=2 face="sans-serif"> anymore, so, it seems that I must blog about this problem to get it resolved. &nbsp;(worked for Bruce!)<br />
<br /> I don't believe it is my responsiblity to beg and plead to be removed from a list. &nbsp;Any reputable company would not want to annoy a potential customer, which leads me to believe dominofiles may not be reputible, and possibly rprwyatt by association. &nbsp;<br />
<br /> It reflects poorly on rprwyatt and any other companies that choose to use dominofiles as an advertising medium.<br />
<br /> I believe that honest mistakes happen and a company's virtues can be measured, by their reaction when it's drawn to their attention.</font>
<br />
<br /><font size=2 face="sans-serif">What do you think blogosphere?</font>
<br />
<br /><font size=2 face="sans-serif">Should </font><a href=http://www.rprwyatt.com><font size=2 color=blue face="sans-serif">rprwyatt</font></a><font size=2 face="sans-serif"> &nbsp;be held accountable for the actions of the vendors they choose?</font>
<br /> ]]></content:encoded><pubDate>Tue, 13 Feb 2007 13:03:25 -0500</pubDate><slash:comments>2</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=3C3B7FE5D1D79D0D862572810067E3F4</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=3C3B7FE5D1D79D0D862572810067E3F4</wfw:comment></item><item><title>Don't Debug Lotusscript</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6VHTBG</link><description><![CDATA[ The last time I blogged (is that a word?) was about 2 months ago, I was burried in a project, but I proposed a solution to the problem, where a developer is &nbsp;using the debugger, then has to switch gears and read or write an email.

Invariably for me, I ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6VHTBG</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6VHTBG</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">The </font><a href="http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6TDJW6"><font size=2 color=blue face="sans-serif">last time I blogged</font></a><font size=2 face="sans-serif"> (is that a word?) was about 2 months ago, I was burried in a project, but I proposed a solution to the problem, where a developer is &nbsp;using the debugger, then has to switch gears and read or write an email.</font>
<br />
<br /><font size=2 face="sans-serif">Invariably for me, I forget to turn the debugger off and have to hit the continue button to in the lotusscript debugger to be able to actually do, what I wanted.</font>
<br />
<br /><font size=2 face="sans-serif">The solution that I proposed was to set the design hidden flag in the mailfile.</font>
<br />
<br /><font size=2 face="sans-serif">Now that I've got a little time, I was able to write the code for it </font><a href=http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/DOWNLOADS/6F29C80CCB90D0E18625722500774D1E/$FILE/toggledesign01.lss><font size=2 color=blue face="sans-serif">here</font></a><font size=2 face="sans-serif">, its real rough code, but, it does the job.</font>
<br />
<br /><font size=2 face="sans-serif">Unfortunatly, it does not work.</font>
<br />
<br /><font size=2 face="sans-serif">What notes is actually using it the existence of a field called $$FormScript on the form design element.<br />
</font>
<br /><font size=2 face="sans-serif">I wrote the code that does that </font><a href=http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/DOWNLOADS/1988EEAD19E820FA862572250077EB6F/$FILE/HideFormScript01.lss><font size=2 color=blue face="sans-serif">here</font></a><font size=2 face="sans-serif"> and it seems to work fine.</font>
<br />
<br /><font size=2 face="sans-serif">When you run it, it works like a toggle.</font>
<br />
<br /><font size=2 face="sans-serif">If the agent has run before, it reverts out the changes it made previously</font>
<br /><font size=2 face="sans-serif">If the agent has not run before, it will make backup copies of the $$FormScript item on the &quot;Memo&quot;, &quot;Reply&quot; and &quot;Reply With History&quot; forms and protect them from the designer task that runs on the server at night.</font>
<br />
<br /><font size=2 face="sans-serif">Its designed to be placed as an agent in your mailfile.</font>
<br /> ]]></content:encoded><pubDate>Mon, 13 Nov 2006 15:35:05 -0500</pubDate><slash:comments>2</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=6AC10686DC5C21628625722500764CE0</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=6AC10686DC5C21628625722500764CE0</wfw:comment></item><item><title>How do I set this database property?</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6TDJW6</link><description><![CDATA[ Yesterday, I recieved an email with the subjet &quot;How do I set this database property?&quot; and a link to this graphics

http://www.domnotes.de/heini/home.nsf/perma?OpenView&amp;RestrictToCategory=6-09-05-134346

I should state for the record that, I ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6TDJW6</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6TDJW6</guid><content:encoded><![CDATA[ <br /><font size=2 face="sans-serif">Yesterday, I recieved an email with the subjet &quot;How do I set this database property?&quot; and a link to this graphics</font>
<br />
<br /><font size=2 face="sans-serif">http://www.domnotes.de/heini/home.nsf/perma?OpenView&amp;RestrictToCategory=6-09-05-134346</font>
<br />
<br /><font size=2 face="sans-serif">I should state for the record that, I have an API background and have been able to pull stuff out of, um, well, my ear in the past for this guy, so, I took the request seriously. &nbsp;I researched it and came to the conclusion that the graphics was a photoshop job, a fake!</font>
<br />
<br /><font size=2 face="sans-serif">Then it was brought to my attention that, it was a joke, he knew it was a fake and I should have found it funny. &nbsp; I was in a heads down coding mode and was just too dense to see the humor. &nbsp; I seriously wanted the feature. &nbsp;When I'm coding, I live with the LotusScript Debugger on, then someone sends me an email and I forget the debugger is on, you know the story, it's not a crisis, but, it is quite a pain in the ear.</font>
<br />
<br /><font size=2 face="sans-serif">I was also too dense to let it drop.</font>
<br />
<br /><font size=2 face="sans-serif">So, heres how you set the property.</font>
<br />
<br /><font size=2 face="sans-serif">When replacing design, you can optionally hide the design of your database. &nbsp;That will disable debugging of LotusScript </font>
<br />
<br /><img src="http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6TDJW6/StoryRichTextMime/M2?OpenElement"  alt="Image:Dwight Wilbanks BLOG - How do I set this database property?" Title="Image:Dwight Wilbanks BLOG - How do I set this database property?" />
<br />
<br /><font size=2 face="sans-serif">Tada!</font>
<br />
<br /><font size=2 face="sans-serif">Now, I'm a developer and I like to see the design of my mail file from time to time, I'll look at one thing of the other in the mail file design. &nbsp; But, I think this is a trade-off that I'm willing to make, when I need to look at the design, I can look at the template.</font>
<br /> ]]></content:encoded><pubDate>Wed, 6 Sep 2006 09:24:11 -0500</pubDate><slash:comments>2</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=4269A8BA00DDCB86862571E1004DD95F</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=4269A8BA00DDCB86862571E1004DD95F</wfw:comment></item><item><title>Changing Icons programatically-SNTT</title><link>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6RVSZR</link><description><![CDATA[ I've been feeling a little guilty not sharing for the SNTT (Show 'n Tell Thursdays), &nbsp;because I know that I have plenty to share, but, I have not wanted to take the time to make the presentation perfect so, &nbsp;I have shared nothing. &nbsp;Im going to ...]]></description><dc:subject>None</dc:subject><dc:creator>Dwight Wilbanks</dc:creator><comments>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6RVSZR</comments><guid isPermaLink="true">http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/d6plinks/DWIS-6RVSZR</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">I've been feeling a little guilty not sharing for the SNTT (Show 'n Tell Thursdays), &nbsp;because I know that I have plenty to share, but, I have not wanted to take the time to make the presentation perfect so, &nbsp;I have shared nothing. &nbsp;Im going to share this anyway, even though its not polished.</font>
<br />
<br /><font size=2 face="sans-serif">Back in the R4 and R5 days I was on several projects that required me to dive deap into the Lotus Notes API to accomplish things that really were not possible or at least very difficult to do without Lotus Notes API.</font>
<br />
<br /><font size=2 face="sans-serif">Initially I build EXE's then as my experience grew I created LotusScript declares for each of the API Calls. &nbsp; Initially I built custom agents for each function that I needed and things were fine. &nbsp; Over time however, I used the same functions over and over again, so I moved some stuff to script libraries. &nbsp; Over more time, I updated the script libraries, then I started to get regression bugs, or untested functions.</font>
<br />
<br /><font size=2 face="sans-serif">As the result I came up with the technique that I use here. &nbsp; Whever I am &quot;done&quot; with a scriptlibrary, I save the LSS out to the file system and create a unque name for it. &nbsp;Then use an &quot;Include&quot; inside my lotusscript instead of a &quot;use&quot; &nbsp; This allows me to track the last version that successfully ran, while still adding new features. &nbsp; Each time I make a revision, I created a new LSS file and increment the number within the file name and all old code that might not be compatible with the New lss will still run uneffecected. &nbsp;When IBM included the function &quot;Implode&quot; into lotusscript in R6, I had to upgrade my libaries because I had a function called &quot;implode&quot; already. &nbsp;The way that I addressed this issue was to create my own function called ImplodeSTR, instead of implode, &nbsp;which will still work on older version of notes as well as newer versions. &nbsp;But, I didn't want to force the upgrade of all my old R5 code immediately, I would upgrade each piece of code when I came around to it next. &nbsp;(The code just would not run in R6 until the code upgrade). &nbsp;Some of the code that was using my scripts were installed at clients that did not have maintenance contracts, so I didn't even have access to fix the version compatibilty issue if I wanted to, but, I expected them to be calling for upgrades when they wanted to use the R5 code in an R6 environment.</font>
<br />
<br /><font size=2 face="sans-serif">So in the file common06.lss there is a function called implode and in the file common07.lss it was renamed to implodeSTR and inside common08.lss, I have a comment at the bottom.</font>
<br />
<br /><font size=2 face="sans-serif">'**** 06/16/04 13:36</font>
<br /><font size=2 face="sans-serif">'Renamed Implode to ImplodeSTR for R6 compatabiltiy</font>
<br /><font size=2 face="sans-serif">'**** 06/16/04 13:36</font>
<br />
<br /><font size=2 face="sans-serif">OK, so enough history, here is the show n tell</font>
<br />
<br /><font size=2 face="sans-serif">I had a project that had somewhere in the neighborhood of 10 databases associated with it, each database had a template (10 more icons, totalling 20 per set) &nbsp;each set had production, development and test and in the group that I was participating in, we had labels on the icons to indicate which database we were in, so there was a &quot;T&quot; in some icons to indicate template, All icons had either &quot;PROD&quot;, &quot;DEV&quot; or &quot;TEST&quot; on the icon, someone on the team decided it was nessicary to change the icon (which meant 60 icon changes, don't ask me why)</font>
<br />
<br /><font size=2 face="sans-serif">I already had libraries able to grab a the ICON note out of the database and parse a binary object, change and update it, so I put together a class call the &quot;APIICON&quot; class, &nbsp;What that class does it read in an icon note, parse throught them memory object where the bitmap is stored and place that into a 2 dimentional array for both the color and the transparency of the icon.</font>
<br />
<br /><font size=2 face="sans-serif">As the result, a programmer can set a property like:</font>
<br />
<br /><font size=2 face="sans-serif">Icon.Color(RowCount,ColCount) = Color</font>
<br />
<br /><font size=2 face="sans-serif">and </font>
<br />
<br /><font size=2 face="sans-serif">Icon.Transparent(RowCount,ColCount) =1</font>
<br />
<br /><font size=2 face="sans-serif">then follow up with &nbsp; &nbsp; &nbsp; &nbsp; </font>
<br />
<br /><font size=2 face="sans-serif">Call icon.save()</font>
<br />
<br /><font size=2 face="sans-serif">I've not cleaned this up very much, but, I've included each of my LSS files in a zip file below.</font>
<br />
<br />
<br />
<br /><font size=2 face="sans-serif">Much of what is in the code was built for R4 &amp; R5, so, a lot of it is no-longer needed in R7, but, its still in there because there was no driving force to remove it.</font>
<br />
<br /><font size=2 face="sans-serif">If you are intersted in seeing the code, here are all of my LSS files, my system is setup to have all of my LSS files in a directory call c:\dwightlss &nbsp; There are many, many functions not being used within this example &quot;RemoveIconColor02.lss&quot; is the start point.</font>
<br />
<br /><a href=http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/DOWNLOADS/61D75C9C51B775C1862571B100740C8A/$file/dwightlss_Custom_20060720.zip><font size=2 color=blue face="sans-serif">dwightlss.zip</font></a>
<br />
<br /><font size=2 face="sans-serif">If you are just interested in seeing it work, download the NSF, it has all of the LSS files imported into a single agent, it's hard to read the code and most of it won't make sense to read the code, but, it will run without the build hassle.</font>
<br />
<br /><a href=http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/DOWNLOADS/61D75C9C51B775C1862571B100740C8A/$file/RemoveIconColor.zip><font size=2 color=blue face="sans-serif">RemoveIconColor.zip</font></a><font size=2 face="sans-serif"> &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br /> ]]></content:encoded><pubDate>Thu, 20 Jul 2006 16:19:35 -0500</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/CommentsRSS?Open&amp;id=EF8A693F9ADB77C4862571B10074A856</wfw:commentRss><wfw:comment>http://www.dwightwilbanks.org/dwightwilbanks/blog.nsf/PostComment?RunAgent&amp;id=EF8A693F9ADB77C4862571B10074A856</wfw:comment></item></channel>
</rss>
