<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6717556</id><updated>2011-11-01T13:24:29.286-07:00</updated><category term='Oracle Export Import'/><category term='Histogram Natural SoftwareAG'/><category term='DesignMode C#'/><category term='&quot;Recent Projects&quot; VS2008 Visual Studio'/><category term='Remoting events'/><category term='WPF XAML namespace'/><category term='DebbugerDisplay C# CSharp'/><title type='text'>Work Blog</title><subtitle type='html'>This is just a remember site. I can take a look and remember how I solved some tight issues.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default?start-index=101&amp;max-results=100'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>166</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6717556.post-2383219420789939111</id><published>2011-11-01T13:24:00.001-07:00</published><updated>2011-11-01T13:24:29.308-07:00</updated><title type='text'>Eternal Marshal object for remoting.</title><content type='html'>&lt;pre id="pre11" style="background-color: white; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;Got this code from &lt;a href="http://www.codeproject.com/KB/IP/remotingcallbacks.aspx"&gt;this&lt;/a&gt; article&lt;/span&gt;&lt;/pre&gt;&lt;pre id="pre11" style="background-color: white; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre id="pre11" style="background-color: white; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; &lt;span class="code-keyword" style="color: blue;"&gt;class&lt;/span&gt; CallbackClass : MarshalByRef&lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;Object&lt;/span&gt;&lt;br /&gt;{ &lt;br /&gt;   &lt;span class="code-keyword" style="color: blue;"&gt;private&lt;/span&gt; Form1 _parent = null;&lt;br /&gt;   &lt;span class="code-keyword" style="color: blue;"&gt;private&lt;/span&gt; &lt;span class="code-keyword" style="color: blue;"&gt;bool&lt;/span&gt;  _state = &lt;span class="code-keyword" style="color: blue;"&gt;false&lt;/span&gt;;&lt;br /&gt;   &lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; Form1 Parent { &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;set&lt;/span&gt; { _parent = &lt;span class="code-keyword" style="color: blue;"&gt;value&lt;/span&gt;; }}&lt;br /&gt;   &lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; &lt;span class="code-keyword" style="color: blue;"&gt;bool&lt;/span&gt; State   { &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;set&lt;/span&gt; { lock(&lt;span class="code-keyword" style="color: blue;"&gt;this&lt;/span&gt;) { _state = &lt;span class="code-keyword" style="color: blue;"&gt;value&lt;/span&gt;; }}}&lt;br /&gt;   &lt;span class="code-comment" style="color: green; font-style: italic;"&gt;//&lt;/span&gt;&lt;span class="code-comment" style="color: green; font-style: italic;"&gt; &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;set&lt;/span&gt; a &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;lease&lt;/span&gt;ing time for infinity&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; override &lt;span class="code-SDKkeyword" style="color: #339999;"&gt;&lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;Object&lt;/span&gt;&lt;/span&gt; &lt;b&gt;InitializeLifetimeService&lt;/b&gt;()&lt;br /&gt;   {&lt;br /&gt;     I&lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;Lease&lt;/span&gt; &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;lease&lt;/span&gt; = (I&lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;Lease&lt;/span&gt;)base.InitializeLifetimeService();&lt;br /&gt;     &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt;(&lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;lease&lt;/span&gt;.CurrentState == &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;Lease&lt;/span&gt;State.Initial)  &lt;br /&gt;     {&lt;br /&gt;        &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;lease&lt;/span&gt;.InitialLea&lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;seT&lt;/span&gt;ime = TimeSpan.FromMinutes(&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;);&lt;br /&gt;     }&lt;br /&gt;     &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; &lt;span class="search-highlight" style="border-bottom-color: rgb(255, 153, 0); border-bottom-style: dotted; border-bottom-width: 1px; font-weight: bold;"&gt;lease&lt;/span&gt;;&lt;br /&gt;   }&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-2383219420789939111?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/2383219420789939111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=2383219420789939111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2383219420789939111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2383219420789939111'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/11/eternal-marshal-object-for-remoting.html' title='Eternal Marshal object for remoting.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-216456987831111601</id><published>2011-10-12T19:37:00.000-07:00</published><updated>2011-10-12T19:37:18.986-07:00</updated><title type='text'>TFS Team Foundation Server using ipv6 and slowing down</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: #202020; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px;"&gt;&lt;a href="http://www.lostapalooza.com/?p=150"&gt;This&lt;/a&gt;&amp;nbsp;article helped me solve my slow down TFS issue:&lt;/div&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px;"&gt;Here is what my &lt;system.net&gt; section used to look like:&lt;/system.net&gt;&lt;/div&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 30px; padding-right: 10px; padding-top: 0px;"&gt;&lt;code&gt;&lt;system.net&gt;&lt;br /&gt;&lt;settings&gt;&lt;br /&gt;&lt;ipv6 enabled="true"&gt;&lt;br /&gt;&lt;/ipv6&gt;&lt;/settings&gt;&lt;/system.net&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 30px; padding-right: 10px; padding-top: 0px;"&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="background-color: #202020; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px;"&gt;Here is what my &lt;system.net&gt; section looks now:&lt;/system.net&gt;&lt;/div&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 30px; padding-right: 10px; padding-top: 0px;"&gt;&lt;code&gt;&lt;system.net&gt;&lt;br /&gt;&lt;settings&gt;&lt;br /&gt;&lt;ipv6 enabled="false"&gt;&lt;br /&gt;&lt;/ipv6&gt;&lt;/settings&gt;&lt;/system.net&gt;&lt;/code&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #202020; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;div style="font-size: 11px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-216456987831111601?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/216456987831111601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=216456987831111601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/216456987831111601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/216456987831111601'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/10/tfs-team-foundation-server-using-ipv6.html' title='TFS Team Foundation Server using ipv6 and slowing down'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-434619544024723708</id><published>2011-09-25T13:27:00.001-07:00</published><updated>2011-09-25T13:27:57.402-07:00</updated><title type='text'>Nice interface for SVN</title><content type='html'>&lt;a href="http://www.visualsvn.com/visualsvn/"&gt;http://www.visualsvn.com/visualsvn/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-434619544024723708?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/434619544024723708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=434619544024723708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/434619544024723708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/434619544024723708'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/09/nice-interface-for-svn.html' title='Nice interface for SVN'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1537830903357773302</id><published>2011-09-18T17:06:00.001-07:00</published><updated>2011-09-18T17:06:50.113-07:00</updated><title type='text'>Red X after refresh on DataGrid on C# Winforms</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 16px;"&gt;Got the following solution from this&amp;nbsp;&lt;a href="http://social.msdn.microsoft.com/forums/en-US/winforms/thread/fdd94896-80e9-4e91-9ed5-0348bf2633a9" style="color: #5588aa; text-decoration: none;"&gt;forum&amp;nbsp;&lt;/a&gt;entry on the comments&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="post-body entry-content" id="post-body-605556014191546996" style="line-height: 1.6em; margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white; line-height: 16px;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; line-height: 16px;"&gt;--------&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white; line-height: 16px;"&gt;Probem is probably that after you clear datasource it start repainting datagridview and if you start fill it during it, it throw exception.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: arial; font-size: small; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: arial; font-size: small; line-height: 16px;"&gt;Problem is that it not seems very good, there is a little blink.&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; line-height: 16px; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;I found just one dirty trick:&lt;br /&gt;&lt;br /&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Before changing data in datasource set visibility of datagridview to false and after it set visibility to true.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; line-height: 16px; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;---------------------&lt;/div&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; line-height: 16px; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;Did the following on my binding code:&lt;/div&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/div&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;dataGridViewProcedure.Visible = false;&lt;/span&gt;&lt;/div&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;dataGridViewProcedure.DataSource = procedureList;&lt;/span&gt;&lt;/div&gt;&lt;div style="border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; list-style-type: none; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;dataGridViewProcedure.Visible = true;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&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/6717556-1537830903357773302?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1537830903357773302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1537830903357773302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1537830903357773302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1537830903357773302'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/09/red-x-after-refresh-on-datagrid-on-c.html' title='Red X after refresh on DataGrid on C# Winforms'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4543894117891288468</id><published>2011-07-26T19:14:00.001-07:00</published><updated>2011-07-26T19:14:02.987-07:00</updated><title type='text'>Auto-scroll on ListView on WPF</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; color: #333333; font-family: 'Courier New'; font-size: 11px; line-height: 11px;"&gt;ListView1.ScrollIntoView(selectedItem);&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4543894117891288468?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4543894117891288468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4543894117891288468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4543894117891288468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4543894117891288468'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/07/auto-scroll-on-listview-on-wpf.html' title='Auto-scroll on ListView on WPF'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7649964426456376852</id><published>2011-07-26T19:12:00.001-07:00</published><updated>2011-07-26T19:12:53.241-07:00</updated><title type='text'>Getting Assembly version</title><content type='html'>Assembly.GetExecutingAssembly().GetName().Version.ToString();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-7649964426456376852?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7649964426456376852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7649964426456376852' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7649964426456376852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7649964426456376852'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/07/getting-assembly-version.html' title='Getting Assembly version'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5661726133641894664</id><published>2011-07-21T05:10:00.000-07:00</published><updated>2011-07-21T05:10:48.233-07:00</updated><title type='text'>The calling thread cannot access this object because a different thread owns it.</title><content type='html'>The &lt;a href="http://www.switchonthecode.com/tutorials/working-with-the-wpf-dispatcher"&gt;source&lt;/a&gt;&amp;nbsp;for this article is found on the link.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="background-color: #ecefff; font-family: monospace; font-size: 12px; line-height: 15px;"&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;public&lt;/span&gt;&amp;nbsp;Window1&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; InitializeComponent&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckBox&lt;/span&gt;&amp;nbsp;myCheckBox&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckBox&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Content&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"A Checkbox"&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Thread&lt;/span&gt;&amp;nbsp;thread&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Thread&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ThreadStart&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Dispatcher&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Invoke&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DispatcherPriority&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Normal&lt;/span&gt;,&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Action&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsChecked&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; thread.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Start&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="background-color: #ecefff; font-family: monospace; font-size: 12px; line-height: 15px;"&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;public&lt;/span&gt;&amp;nbsp;Window1&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; InitializeComponent&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckBox&lt;/span&gt;&amp;nbsp;myCheckBox&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckBox&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Content&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"A Checkbox"&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Thread&lt;/span&gt;&amp;nbsp;thread&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Thread&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ThreadStart&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DispatcherOperation&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dispatcherOp&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Dispatcher&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;BeginInvoke&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DispatcherPriority&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Normal&lt;/span&gt;,&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Action&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsChecked&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dispatcherOp.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Completed&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;+=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;EventHandler&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;dispatcherOp_Completed&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; thread.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Start&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;void&lt;/span&gt;&amp;nbsp;dispatcherOp_Completed&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;object&lt;/span&gt;&amp;nbsp;sender,&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;EventArgs&lt;/span&gt;&amp;nbsp;e&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Console&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;WriteLine&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"The checkbox has finished being updated!"&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="background-color: #ecefff; font-family: monospace; font-size: 12px; line-height: 15px;"&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;public&lt;/span&gt;&amp;nbsp;Window1&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; InitializeComponent&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckBox&lt;/span&gt;&amp;nbsp;myCheckBox&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckBox&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Content&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: red; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"A Checkbox"&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Thread&lt;/span&gt;&amp;nbsp;thread&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Thread&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;ThreadStart&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Dispatcher&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Invoke&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DispatcherPriority&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;SystemIdle&lt;/span&gt;,&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;TimeSpan&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;FromSeconds&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;1&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;,&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Action&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsChecked&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; thread.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Start&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="background-color: #ecefff; font-family: monospace; font-size: 12px; line-height: 15px;"&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;if&lt;/span&gt;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;!&lt;/span&gt;myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Dispatcher&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CheckAccess&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Dispatcher&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Invoke&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;System&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows&lt;/span&gt;.&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Threading&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;DispatcherPriority&lt;/span&gt;.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Normal&lt;/span&gt;,&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: teal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Action&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;delegate&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsChecked&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;else&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&amp;nbsp; myCheckBox.&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;IsChecked&lt;/span&gt;&amp;nbsp;&lt;span style="color: #296d26; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0600ff; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;true&lt;/span&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5661726133641894664?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5661726133641894664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5661726133641894664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5661726133641894664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5661726133641894664'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2011/07/calling-thread-cannot-access-this.html' title='The calling thread cannot access this object because a different thread owns it.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7431021136955920991</id><published>2010-11-09T13:29:00.000-08:00</published><updated>2010-11-09T13:31:10.073-08:00</updated><title type='text'>"Input Error: There is no script engine for file extension ".js"</title><content type='html'>Getting the following error when trying to run NeoBatch:&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Tahoma, Arial, Helvetica; font-size: 14px; border-collapse: collapse; color: rgb(91, 91, 91); line-height: 21px; "&gt;"Input Error: There is no script engine for file extension ".js"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 21px;"&gt;Found &lt;a href="http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/95d58867-3f31-45e3-aeaf-32ecea4d33c1"&gt;this&lt;/a&gt; website which had the answer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 21px;"&gt;which was:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 21px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 21px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal; "&gt;I fixed it!  In my case, the problem was caused because a program I had installed (UltraEdit) associated the .js file type with it, which broke the ability to run .js files as scripts.  I was able to go into UltraEdit and unassociate .js files with it.  Another way would be to right-click on a .js file in Windows Explorer, choose "Open with" and then choose "Choose default program", and make sure the default program is "Microsoft Windows Based Script Host".&lt;/span&gt;&lt;/span&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/6717556-7431021136955920991?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7431021136955920991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7431021136955920991' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7431021136955920991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7431021136955920991'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/11/input-error-there-is-no-script-engine.html' title='&quot;Input Error: There is no script engine for file extension &quot;.js&quot;'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1964719983088547979</id><published>2010-07-14T05:44:00.001-07:00</published><updated>2010-07-14T05:44:26.296-07:00</updated><title type='text'>ORA-00911: invalid character</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', sans-serif; font-size: 13px; color: rgb(41, 48, 59); "&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; font-size: 18px; color: rgb(27, 4, 49); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(41, 48, 59); font-size: 13px; "&gt;&lt;b&gt;Opportunity:&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div class="post-body entry-content"&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Got the following error on ADO on a query that worked fine on Oracle:&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;System.Data.OracleClient.OracleException was caught&lt;/div&gt;&lt;div&gt;Message="ORA-00911: invalid character\n"&lt;/div&gt;&lt;div&gt;Source="System.Data.OracleClient"&lt;/div&gt;&lt;div&gt;ErrorCode=-2146232008&lt;/div&gt;&lt;div&gt;Code=911&lt;/div&gt;&lt;div&gt;StackTrace:&lt;/div&gt;&lt;div&gt;at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc)&lt;/div&gt;&lt;div&gt;at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor&amp;amp; rowidDescriptor, ArrayList&amp;amp; resultParameterOrdinals)&lt;/div&gt;&lt;div&gt;at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList&amp;amp; resultParameterOrdinals)&lt;/div&gt;&lt;div&gt;at System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior)&lt;/div&gt;&lt;div&gt;at Dbs.Prodesp.FrameworkLibrary.Domain.DalBase.ExecuteDynamicDataQuery(DataTable&amp;amp; myDt) in C:\Ateras\CSharp Conversion\Adabas-Natural\Prodesp\FrameworkLibrary\Domain\DalBase.cs:line 435&lt;/div&gt;&lt;div&gt;InnerException:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Found that if you have a ; on a query on ADO for Oracle we get the error above&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1964719983088547979?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1964719983088547979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1964719983088547979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1964719983088547979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1964719983088547979'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/07/ora-00911-invalid-character.html' title='ORA-00911: invalid character'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6508038758482740474</id><published>2010-07-13T13:15:00.000-07:00</published><updated>2010-07-13T13:17:29.523-07:00</updated><title type='text'>Oracle for Top 5</title><content type='html'>WITH tempTable AS (select Id, Name, Address, RANK() OVER ( order by Zip ASC ) as tempRowNum from tblCustomer where (birthyear &gt; 1985 ) ) select * from tempTable where tempRowNum BETWEEN 0 and 5&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will sort correctly but only get 5 record, yes very inefficient, but I could not think of another solution.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-6508038758482740474?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6508038758482740474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6508038758482740474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6508038758482740474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6508038758482740474'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/07/oracle-for-top-5.html' title='Oracle for Top 5'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7392190617211744806</id><published>2010-06-29T19:13:00.000-07:00</published><updated>2010-06-29T19:14:10.700-07:00</updated><title type='text'>Windows Mobile 6.5.3 DTK In Visual Studio 2008</title><content type='html'>&lt;h3 class="bTitle" style="color: rgb(167, 0, 0); font-size: 14px; margin-top: 1ex; margin-right: 0px; margin-bottom: 1ex; margin-left: 0px; text-align: left; font-family: Arial, Verdana, sans-serif; "&gt;Got the following information from &lt;a href="http://www.davidmillington.net/news/index.php/2010/06/18/windows-mobile-6-5-3-dtk-in-visual-studio-2008"&gt;another blog&lt;/a&gt;:&lt;/h3&gt;&lt;h3 class="bTitle" style="color: rgb(167, 0, 0); font-size: 14px; margin-top: 1ex; margin-right: 0px; margin-bottom: 1ex; margin-left: 0px; text-align: left; font-family: Arial, Verdana, sans-serif; "&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 class="bTitle" style="color: rgb(167, 0, 0); font-size: 14px; margin-top: 1ex; margin-right: 0px; margin-bottom: 1ex; margin-left: 0px; text-align: left; font-family: Arial, Verdana, sans-serif; "&gt;&lt;a href="http://www.davidmillington.net/news/index.php/2010/06/18/windows-mobile-6-5-3-dtk-in-visual-studio-2008" style="color: rgb(167, 0, 0); text-decoration: none; "&gt;Windows Mobile 6.5.3 DTK In Visual Studio 2008&lt;/a&gt;&lt;/h3&gt;&lt;div class="bText" style="margin-top: 0px; margin-bottom: 0px; text-align: left; font-family: Arial, Verdana, sans-serif; font-size: 12px; "&gt;&lt;div class="content_full"&gt;&lt;div class="bText" style="margin-top: 0px; margin-bottom: 0px; text-align: left; "&gt;&lt;p&gt;I can't believe how much of pain getting my core Windows Mobile 6.5 development enviroment setup could be. Here are the hoops I've had to jump through so far. I ran into two really annoying hurdles which I couldn't find a solution for so I thought I'd note down what I did for any other people lucky enough to be in the same boat as yours truly. For the record, I'm trying to write my first 6.5 app for my HTC HD2. That is a WVGA phone which means it has a resolution of 480x800.&lt;/p&gt;&lt;a id="more170" name="more170" style="color: rgb(167, 0, 0); text-decoration: none; "&gt;&lt;/a&gt;&lt;p class="bMore" style="text-align: left; "&gt;Follow up:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Get and install Visual Studio 2008. The latest Microsoft MAPS Development &amp;amp; Design program that I'm a member of only has VS 2010 in it because I'm soooo cutting edge. 2010 doesn't currently allow you to develop for WinMo 6.5 but only the shiney new (as in unreleased) Windows Phone 7.&lt;/li&gt;&lt;li&gt;Download and install the Windows Mobile 6 Professional Refresh SDKs.&lt;/li&gt;&lt;li&gt;Download and install the Windows Mobile 6.5.3 Professional DTKs.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Takes bloody ages to do all of that even though it only takes a few mouse clicks. I read that the difference between the "Standard" and "Professional" versions of the SDK and DTK are that the standard version is for non touch screen devices were as the professional edition is. Since I'm developing for a HTC HD2 which has a touch screen I went with the pro editions for both. So now that's all done it should be a simple case of firing up VS2008, choosing new "Smart Device" project using the 3.5 compact framework and away we go. A-ha! Not so. The next screen lets you pick a target platform. There is no Windows Mobile 6.5 in the selection. This is were the workarounds kick in.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Pick "Windows Mobile 6 Professional SDK" and leave the framework set to 3.5 compact. Well for my project I'm using the 3.5 framework. Choose what you like for that.&lt;/li&gt;&lt;li&gt;Choose "Device Application" since I'm creating a new app from scratch.&lt;/li&gt;&lt;li&gt;Now you're presented with a form that looks like an older WinMo 6 device using the default "classic" skin and form factor.&lt;/li&gt;&lt;li&gt;Not a biggy I hear you say, why not just pick the 6.5 form factor from the "Form Factor" property? Because it's not there, that's why!&lt;/li&gt;&lt;li&gt;OK, ignore that for now, at least we can test run the WinMo 6.5 emulator right? Nope. Look at the emulator dropdown and you won't see it.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;What is going on? Well it seems a bunch of things have not been wired up correctly. Time to sort the mess out.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;On the main menu choose "Project-&gt;Change Target Platform". In the dropdown choose "Windows Mobile 6.5.3 Professional DTK" and then OK.&lt;/li&gt;&lt;li&gt;You'll be told that your project needs to be saved and re-opened so OK that. Now when it opens you can see the 6.5.3 emulators in the dropdown. Hoora!&lt;/li&gt;&lt;li&gt;For me and my HD2 development I chose the "Windows Mobile 6.5.3 Professional WVGA Emulator".&lt;/li&gt;&lt;li&gt;So now we head back to the form properties. When the target platform was changed and it re-opened the project it closed the default form window so I have to re-open that with a quick double click.&lt;/li&gt;&lt;li&gt;Selecting the form and looking at it's properties there is still no WVGA option. WTF? I know, that's what I was like. Seems some silly sausage at MS made a typo. If you look at the Form Factor list you'll see two entries titled "Windows Mobile 6.5.3 Professional Square". How strange you say. Before we proceed make sure you don't have either of the two identically named Square form factors chosen at this point. I'll explain why later on.&lt;/li&gt;&lt;li&gt;Let's make things clearer for future projects. On the main menu do "Tools-&gt;Options-&gt;Device Tools-&gt;Form Factors". Make sure the top dropdown says "Windows Mobile 6.5.3 Professional DTK".&lt;/li&gt;&lt;li&gt;In the list below the dropdown you'll see the two Square entries. Select the first one and hit Properties. On the greyed out "Skin Defaults" area check to see if the width and height are 480x800. If not then check the second Square entry.&lt;/li&gt;&lt;li&gt;Once you've found the right one, get out of the Properties panel and hit the Rename option and change it to be "Windows Mobile 6.5.3 Professional WVGA".&lt;/li&gt;&lt;li&gt;A nice little extra step here is to move out of the "Form Factors" sub category and go up one to the "Devices" area. I set the "Default Device" to be the "Windows Mobile 6.5.3 Professional WVGA Emulator" which means each time I create a new 6.5.3 project it will automatically select the correct emulator. I'll still have to manually pick the correct form factor but I'm fine with that.&lt;/li&gt;&lt;li&gt;Now close VS and re-open it. When you re-load your project and look at the Form Factor dropdown you should now see your renamed WVGA option.&lt;/li&gt;&lt;li&gt;Note that if you had cheated and tried selecting the Square option we renamed earlier before you saved and restarted then you will still see the two Sqaure options. It's very important that you don't pick the Form Factor we renamed before we renamed it.&lt;/li&gt;&lt;li&gt;That's it. You now have a WVGA form to work with at design time and you can also test it in the 6.5.3 WVGA emulator all from within the VS2008 IDE.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;So the process for creating a new HD2 application becomes:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Open VS and create a new Windows Professional 6, Device Application.&lt;/li&gt;&lt;li&gt;On the main menu choose "Project-&gt;Change Target Platform". In the dropdown choose "Windows Mobile 6.5.3 Professional DTK" and then OK.&lt;/li&gt;&lt;li&gt;Let it save and re-open the project and then manually re-open the design time form screen by double clicking the form CS file.&lt;/li&gt;&lt;li&gt;Then change the Form Factor dropdown to the WVGA option we renamed earlied.&lt;/li&gt;&lt;li&gt;Ready to rumble!&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;As you can see there are still a few steps to have to do each time but it's not too bad now and only has to be done when creating a new project or converting an old one.&lt;/p&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/6717556-7392190617211744806?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7392190617211744806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7392190617211744806' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7392190617211744806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7392190617211744806'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/06/windows-mobile-653-dtk-in-visual-studio.html' title='Windows Mobile 6.5.3 DTK In Visual Studio 2008'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3806127560385398403</id><published>2010-06-15T11:18:00.000-07:00</published><updated>2010-06-15T11:23:03.834-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Export Import'/><title type='text'>Oracle moving to another server</title><content type='html'>Export the database as dmp file.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 - Add a new user to the database using the web interface on Oracle Express Edition&lt;/div&gt;&lt;div&gt;2 - Run the IMP command on the command line&lt;/div&gt;&lt;div&gt;3 - Select the dmp file&lt;/div&gt;&lt;div&gt;4 - log in as the new user&lt;/div&gt;&lt;div&gt;Note: User and Database is the same thing on Oracle (if you are a SQL developer)&lt;/div&gt;&lt;div&gt;5 - Do everything as default, except the question about importing the whole dmp file.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Attention: triggers are not exported, so we need to select all the triggers on the Oracle SQL Developer. Ask to export to DDL and edit with the new name of the user from the old. Execute the query on the new database and everything should be fine.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3806127560385398403?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3806127560385398403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3806127560385398403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3806127560385398403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3806127560385398403'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/06/oracle-moving-to-another-server.html' title='Oracle moving to another server'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-2601568222861970612</id><published>2010-05-20T10:30:00.000-07:00</published><updated>2010-05-20T10:36:57.095-07:00</updated><title type='text'>Software AG Natural Compiler Structured mode / Report mode</title><content type='html'>When running natural you might need to change the mode of the compiler between Structured and Report. Here is how you get to it on the PC version of the Natural compiler:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1-Go to Tools-&gt;Session Parameters&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_HvXOdblv6Ak/S_Vy_QLDhKI/AAAAAAAAMnQ/u66LJ0iIMLs/s1600/screen1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 208px;" src="http://4.bp.blogspot.com/_HvXOdblv6Ak/S_Vy_QLDhKI/AAAAAAAAMnQ/u66LJ0iIMLs/s320/screen1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5473407353137366178" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;a new window will open.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2-Go to "Compiler Options"-&gt;"Structured Mode" and now you should be able to check and uncheck the "Structured mode" check box.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_HvXOdblv6Ak/S_VzJWLvovI/AAAAAAAAMnY/qhFqx8-aFhc/s1600/screen2.JPG"&gt;&lt;img src="http://4.bp.blogspot.com/_HvXOdblv6Ak/S_VzJWLvovI/AAAAAAAAMnY/qhFqx8-aFhc/s320/screen2.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5473407526549562098" style="cursor: pointer; width: 320px; height: 162px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;I think this is all&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-2601568222861970612?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/2601568222861970612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=2601568222861970612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2601568222861970612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2601568222861970612'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/05/software-ag-natural-compiler-structured.html' title='Software AG Natural Compiler Structured mode / Report mode'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_HvXOdblv6Ak/S_Vy_QLDhKI/AAAAAAAAMnQ/u66LJ0iIMLs/s72-c/screen1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1276718670065207828</id><published>2010-04-29T12:26:00.000-07:00</published><updated>2010-04-29T12:27:20.021-07:00</updated><title type='text'>How to debug Visual Studio design view</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is a copy of the link above:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; "&gt;&lt;div class="majorTitle" asp="http://msdn2.microsoft.com/asp" style="font-weight: bold; color: rgb(93, 93, 93); "&gt;Windows Forms Programming &lt;/div&gt;&lt;div class="title" asp="http://msdn2.microsoft.com/asp" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.9173em; color: rgb(63, 82, 156); font-weight: bold; "&gt;Walkthrough: Debugging Custom Windows Forms Controls at Design Time &lt;/div&gt;&lt;div id="mainSection" style="padding-top: 30px; "&gt;&lt;div id="mainBody"&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;When you create a custom control, you will often find it necessary to debug its design-time behavior. This is especially true if you are authoring a custom designer for your custom control. For details, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/35ea88wb(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;You can debug your custom controls using Visual Studio, just as you would debug any other .NET Framework classes. The difference is that you will debug a separate instance of Visual Studio that is running your custom control's code&lt;/p&gt;&lt;p&gt;Tasks illustrated in this walkthrough include:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Creating a Windows Forms project to host your custom control&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Creating a control library project&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Adding a property to your custom control&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Adding your custom control to the host form&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Setting up the project for design-time debugging&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Debugging your custom control at design time&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;When you are finished, you will have an understanding of the tasks necessary for debugging the design-time behavior of a custom control.&lt;/p&gt;&lt;div class="alert" style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(252, 254, 197); "&gt;&lt;table width="100%" style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); border-collapse: collapse; width: 1294px; "&gt;&lt;tbody&gt;&lt;tr style="vertical-align: top; "&gt;&lt;th align="left" style="border-top-style: hidden; border-right-style: hidden; border-bottom-style: hidden; border-left-style: hidden; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(252, 254, 197); padding-right: 11px; padding-left: 11px; padding-bottom: 1px; padding-top: 10px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(0, 0, 0); font-style: normal; font-weight: bold; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;img class="note" alt="Note" src="http://i.msdn.microsoft.com/5ytx0z24.note(en-US,VS.80).gif" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-right: 5px; " /&gt;Note&lt;/th&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top; "&gt;&lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(252, 254, 197); line-height: 22px; padding-right: 11px; padding-left: 11px; padding-bottom: 10px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 1px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose &lt;b&gt;Import and Export Settings&lt;/b&gt; on the &lt;b&gt;Tools&lt;/b&gt; menu. For more information, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/zbhkx167(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;Visual Studio Settings&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Creating the Project&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle0" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;The first step is to create the application project. You will use this project to build the application that hosts the custom control.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To create the project&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Create a Windows Application project called "DebuggingExample". For details, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/42wc9kk5(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;How to: Create a Windows Application Project&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Creating a Control Library Project&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle1" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;The next step is to create the control library project and set up the custom control.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To create the control library project&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;Add a &lt;b&gt;Windows Control Library&lt;/b&gt; project to the solution. For details, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/z43wb41f(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;Add New Project Dialog Box&lt;/a&gt;&lt;/span&gt;. Name the project "DebugControlLibrary".&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Add a new &lt;b&gt;UserControl&lt;/b&gt; item to the DebugControlLibrary project. For details, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/w0572c5b(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;How to: Add New Project Items&lt;/a&gt;&lt;/span&gt;. Give the new source file a base name of "DebugControl".&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Using the &lt;b&gt;Solution Explorer&lt;/b&gt;, delete the project's default control by deleting the code file with a base name of "&lt;tt&gt;UserControl1&lt;/tt&gt;". For details, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/0ebzhwsk(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;How to: Remove, Delete, and Exclude Items&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Build the solution.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Checkpoint&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle2" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;At this point, you will be able to see your custom control in the &lt;b&gt;Toolbox&lt;/b&gt;.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To check your progress&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Find the new tab called &lt;b&gt;DebugControlLibrary Components&lt;/b&gt; and click to select it. When it opens, you will see your control listed as &lt;b&gt;DebugControl&lt;/b&gt; with the default icon beside it.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Adding a Property to Your Custom Control&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle3" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;To demonstrate that your custom control's code is running at design-time, you will add a property and set a breakpoint in the code that implements the property.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To add a property to your custom control&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;Open &lt;b&gt;DebugControl&lt;/b&gt; in the &lt;b&gt;Code Editor&lt;/b&gt;. Add the following code to the class definition:&lt;/p&gt;&lt;div class="LW_CodeSnippetContainer" xmlns=""&gt;&lt;a name="CodeSpippet0"&gt;&lt;/a&gt;&lt;div class="LW_CodeSnippetContainerTabs" style="vertical-align: middle; font-family: 'Segoe UI', Verdana, Arial; font-size: 10pt !important; height: 22px; position: relative; z-index: 1; "&gt;&lt;div class="LW_CodeSnippetContainerTabLeft cl_lw_codesnippet_lt_tab" style="background-image: url(http://i3.msdn.microsoft.com/Hash/c8fa0e114fddd26055d4bde03f9fe3f6.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: initial; width: 6px; height: 20px; overflow-x: hidden; overflow-y: hidden; float: left; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); background-position: -375px -3px; background-repeat: no-repeat no-repeat; "&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabFirst" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 6px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkBold" style="font-weight: bold !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;VB&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabActive" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(255, 255, 255); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(230, 106, 56); text-decoration: none; "&gt;C#&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTab" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;C++&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTab" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;F#&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabLast" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;JScript&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabRight cl_lw_codesnippet_rt_tab" style="background-image: url(http://i3.msdn.microsoft.com/Hash/c8fa0e114fddd26055d4bde03f9fe3f6.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: initial; width: 6px; height: 20px; overflow-x: hidden; overflow-y: hidden; float: left; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); background-position: -387px -3px; background-repeat: no-repeat no-repeat; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerCodeCollection" style="border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 3px; border-bottom-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-right-color: rgb(229, 229, 229); clear: both; margin-bottom: 12px; position: relative; top: -3px; "&gt;&lt;div class="LW_CodeSnippetToolBar" style="width: auto; height: auto; border-top-style: solid; border-top-width: 3px; border-top-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 3px; border-right-color: rgb(229, 229, 229); "&gt;&lt;div class="LW_CodeSnippetToolBarText" style="float: right; top: -10px; position: relative; background-color: rgb(255, 255, 255); width: auto; padding-left: 4px; padding-right: 4px; height: 0px; "&gt;&lt;a title="Copy to clipboard." href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; margin-left: 5px; margin-right: 5px; font-family: 'Segoe UI', Verdana, Arial; font-size: 10pt; background-color: white; padding-left: 4px; padding-right: 4px; "&gt;Copy&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="CodeSnippetContainerCode0" class="LW_CodeSnippetContainerCode" style="width: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-right: 21px; padding-left: 21px; "&gt;&lt;div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: black; "&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;This language is not supported, or no code example is available. &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="LW_CodeSnippetContainer" xmlns=""&gt;&lt;a name="CodeSpippet1"&gt;&lt;/a&gt;&lt;div class="LW_CodeSnippetContainerTabs" style="vertical-align: middle; font-family: 'Segoe UI', Verdana, Arial; font-size: 10pt !important; height: 22px; position: relative; z-index: 1; "&gt;&lt;div class="LW_CodeSnippetContainerTabLeft cl_lw_codesnippet_lt_tab" style="background-image: url(http://i3.msdn.microsoft.com/Hash/c8fa0e114fddd26055d4bde03f9fe3f6.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: initial; width: 6px; height: 20px; overflow-x: hidden; overflow-y: hidden; float: left; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); background-position: -375px -3px; background-repeat: no-repeat no-repeat; "&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabFirst" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 6px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;VB&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabActive" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(255, 255, 255); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a class="LW_CodeSnippetContainerTabLinkBold" style="font-weight: bold !important; color: rgb(230, 106, 56); text-decoration: none; "&gt;C#&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTab" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;C++&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTab" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;F#&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabLast" style="height: 19px; float: left; width: auto; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 8px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(239, 245, 255); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(146, 146, 146); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" class="LW_CodeSnippetContainerTabLinkNormal" style="font-weight: normal !important; color: rgb(19, 100, 196); text-decoration: none; "&gt;JScript&lt;/a&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerTabRight cl_lw_codesnippet_rt_tab" style="background-image: url(http://i3.msdn.microsoft.com/Hash/c8fa0e114fddd26055d4bde03f9fe3f6.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: initial; width: 6px; height: 20px; overflow-x: hidden; overflow-y: hidden; float: left; border-bottom-style: solid; border-bottom-width: 2px; border-bottom-color: rgb(208, 210, 210); background-position: -387px -3px; background-repeat: no-repeat no-repeat; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CodeSnippetContainerCodeCollection" style="border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 3px; border-bottom-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-right-color: rgb(229, 229, 229); clear: both; margin-bottom: 12px; position: relative; top: -3px; "&gt;&lt;div class="LW_CodeSnippetToolBar" style="width: auto; height: auto; border-top-style: solid; border-top-width: 3px; border-top-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 1px; border-left-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 3px; border-right-color: rgb(229, 229, 229); "&gt;&lt;div class="LW_CodeSnippetToolBarText" style="float: right; top: -10px; position: relative; background-color: rgb(255, 255, 255); width: auto; padding-left: 4px; padding-right: 4px; height: 0px; "&gt;&lt;a title="Copy to clipboard." href="http://msdn.microsoft.com/en-us/library/5ytx0z24(VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; margin-left: 5px; margin-right: 5px; font-family: 'Segoe UI', Verdana, Arial; font-size: 10pt; background-color: white; padding-left: 4px; padding-right: 4px; "&gt;Copy&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="CodeSnippetContainerCode1" class="LW_CodeSnippetContainerCode" style="width: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-right: 21px; padding-left: 21px; "&gt;&lt;div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: black; "&gt;&lt;pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Consolas, Courier, monospace; word-break: break-all; word-wrap: break-word; font-style: normal; font-weight: normal; "&gt;&lt;span style="color: blue; "&gt;private&lt;/span&gt; &lt;span style="color: blue; "&gt;string&lt;/span&gt; demoStringValue = &lt;span style="color: blue; "&gt;null&lt;/span&gt;; [Browsable(&lt;span style="color: blue; "&gt;true&lt;/span&gt;)] &lt;span style="color: blue; "&gt;public&lt;/span&gt; &lt;span style="color: blue; "&gt;string&lt;/span&gt; DemoString {     &lt;span style="color: blue; "&gt;get&lt;/span&gt;     {         &lt;span style="color: blue; "&gt;return&lt;/span&gt; &lt;span style="color: blue; "&gt;this&lt;/span&gt;.demoStringValue;     }     &lt;span style="color: blue; "&gt;set&lt;/span&gt;     {         demoStringValue = value;     } } &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Build the solution.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Adding Your Custom Control to the Host Form&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle4" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;To debug the design-time behavior of your custom control, you will place an instance of the custom control class on a host form.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To add your custom control to the host form&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;In the "DebuggingExample" project, open Form1 in the &lt;b&gt;Windows Forms Designer&lt;/b&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;In the &lt;b&gt;Toolbox&lt;/b&gt;, open the &lt;b&gt;DebugControlLibrary Components&lt;/b&gt; tab and drag a &lt;b&gt;DebugControl&lt;/b&gt; instance onto the form.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Find the &lt;tt&gt;DemoString&lt;/tt&gt; custom property in the &lt;b&gt;Properties&lt;/b&gt; window. Note that you can change its value as you would any other property. Also note that when the &lt;tt&gt;DemoString&lt;/tt&gt; property is selected, the property's description string appears at the bottom of the &lt;b&gt;Properties&lt;/b&gt; window.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Setting Up the Project for Design-Time Debugging&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle5" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;To debug your custom control's design-time behavior, you will debug a separate instance of Visual Studio that is running your custom control's code.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To set up the project for design-time debugging&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;Right-click on the &lt;b&gt;DebugControlLibrary&lt;/b&gt; project in the &lt;b&gt;Solution Explorer&lt;/b&gt; and select &lt;b&gt;Properties&lt;/b&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;In the &lt;b&gt;DebugControlLibrary&lt;/b&gt; property sheet, select the &lt;b&gt;Debug&lt;/b&gt; tab.&lt;/p&gt;&lt;p&gt;In the &lt;b&gt;Start Action&lt;/b&gt; section, select &lt;b&gt;Start external program&lt;/b&gt;. You will be debugging a separate instance of Visual Studio, so click the ellipsis (&lt;img alt="VisualStudioEllipsesButton screenshot" src="http://i.msdn.microsoft.com/5ytx0z24.Local_1163045495_vbellipsesbutton(en-US,VS.80).gif" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " /&gt;) button to browse for the Visual Studio IDE. The name of the executable file is &lt;b&gt;devenv.exe&lt;/b&gt;, and if you installed to the default location, its path will be "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe".&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Click &lt;b&gt;OK&lt;/b&gt; to close the dialog box.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Right-click the &lt;b&gt;DebugControlLibrary&lt;/b&gt; project and select &lt;b&gt;Set as StartUp Project&lt;/b&gt; to enable this debugging configuration.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Debugging Your Custom Control at Design Time&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="sectionToggle6" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;Now you are ready to debug your custom control as it runs in design mode. When you start the debugging session, a new instance of Visual Studio will be created, and you will use it to load the "DebuggingExample" solution. When you open Form1 in the &lt;b&gt;Forms Designer&lt;/b&gt;, an instance of your custom control will be created and will start running.&lt;/p&gt;&lt;h3 class="procedureSubHeading" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.1666em; color: rgb(63, 82, 156); font-weight: bold; "&gt;To debug your custom control at design time&lt;/h3&gt;&lt;div class="subSection" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;ol&gt;&lt;li&gt;&lt;p&gt;Open the &lt;b&gt;DebugControl&lt;/b&gt; source file in the &lt;b&gt;Code Editor&lt;/b&gt; and place a breakpoint on the &lt;b&gt;Set&lt;/b&gt; accessor of the &lt;tt&gt;DemoString&lt;/tt&gt; property.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Press F5 to start the debugging session. Note that a new instance of Visual Studio is created. You can distinguish between the instances in two ways:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;The debugging instance has the word &lt;b&gt;Running&lt;/b&gt; in its title bar&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;The debugging instance has the &lt;b&gt;Start&lt;/b&gt; button on its &lt;b&gt;Debug&lt;/b&gt; toolbar disabled&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Your breakpoint is set in the debugging instance.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;In the new instance of Visual Studio, open the "DebuggingExample" solution. You can easily find the solution by selecting &lt;b&gt;Recent Projects&lt;/b&gt; from the &lt;b&gt;File&lt;/b&gt; menu. The "DebuggingExample.sln" solution file will be listed as the most recently used file.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Open Form1 in the &lt;b&gt;Forms Designer&lt;/b&gt; and select the &lt;b&gt;DebugControl&lt;/b&gt; control.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Change the value of the &lt;tt&gt;DemoString&lt;/tt&gt; property. Note that when you commit the change, the debugging instance of Visual Studio acquires focus and execution stops at your breakpoint. You can single-step through the property accessor just as your would any other code.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;When you are finished with your debugging session, you can exit by dismissing the hosted instance of Visual Studio or by clicking the &lt;b&gt;Stop Debugging&lt;/b&gt; button in the debugging instance.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;Next Steps&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="nextStepsToggle" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;Now that you can debug your custom controls at design time, there are many possibilities for expanding your control's interaction with the Visual Studio IDE.&lt;/p&gt;&lt;ul xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;li&gt;&lt;p&gt;You can use the &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.component.designmode(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;DesignMode&lt;/a&gt;&lt;/span&gt; property of the &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.component(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;Component&lt;/a&gt;&lt;/span&gt; class to write code that will only execute at design time. For details, see &lt;b&gt;DesignMode&lt;/b&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;There are several attributes you can apply to your control's properties to manipulate your custom control's interaction with the designer. You can find these attributes in the&lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.componentmodel(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;System.ComponentModel&lt;/a&gt;&lt;/span&gt; namespace.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You can write a custom designer for your custom control. This gives you complete control over the design experience using the extensible designer infrastructure exposed by Visual Studio. For details, see &lt;span class="linkTerms"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/35ea88wb(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="LW_CollapsibleArea_Container" xmlns=""&gt;&lt;div class="LW_CollapsibleArea_TitleDiv" style="margin-top: 19px; margin-bottom: 19px; "&gt;&lt;span class="LW_CollapsibleArea_Title" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 1.6666em; color: rgb(63, 82, 156); font-weight: bold; float: left; "&gt;See Also&lt;/span&gt;&lt;div class="LW_CollapsibleArea_HrDiv" style="padding-top: 12px; "&gt;&lt;hr class="LW_CollapsibleArea_Hr" style="border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-left-style: none; border-left-width: initial; border-left-color: initial; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name="seeAlsoToggle" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt;&lt;h4 class="subHeading" xmlns="http://www.w3.org/1999/xhtml"&gt;Tasks&lt;/h4&gt;&lt;span class="linkTerms" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/35ea88wb(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="linkTerms" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms171822(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;How to: Access Design-Time Services&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="linkTerms" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms171827(v=VS.80).aspx" style="color: rgb(19, 100, 196); text-decoration: none; "&gt;How to: Access Design-Time Support in Windows Forms&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&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/6717556-1276718670065207828?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1276718670065207828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1276718670065207828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1276718670065207828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1276718670065207828'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/04/how-to-debug-visual-studio-design-view.html' title='How to debug Visual Studio design view'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8327221969588850672</id><published>2010-04-29T10:28:00.001-07:00</published><updated>2010-04-29T10:29:35.877-07:00</updated><title type='text'>Stop XP from bothering you on the restart after update</title><content type='html'>Just run the following on the run command:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sc stop wuauserv&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Done.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8327221969588850672?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8327221969588850672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8327221969588850672' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8327221969588850672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8327221969588850672'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/04/stop-xp-from-bothering-you-on-restart.html' title='Stop XP from bothering you on the restart after update'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-2958125387310394414</id><published>2010-04-29T10:26:00.000-07:00</published><updated>2010-04-29T10:28:29.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='&quot;Recent Projects&quot; VS2008 Visual Studio'/><title type='text'>Start up page on VS2008 Recent Projects</title><content type='html'>&lt;div&gt;The list of items can be found on the following Registry Key:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;VS2005:&lt;/div&gt;&lt;div&gt;HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;VS2008:&lt;/div&gt;&lt;div&gt;HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;VS2010:&lt;/div&gt;&lt;div&gt;HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can delete them all the clear the history of the Recent Projects.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I think this is it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;God bless,&lt;/div&gt;&lt;div&gt;Bruno&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-2958125387310394414?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/2958125387310394414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=2958125387310394414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2958125387310394414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2958125387310394414'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/04/start-up-page-on-vs2008-recent-projects.html' title='Start up page on VS2008 Recent Projects'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7909570092863257235</id><published>2010-03-16T13:19:00.000-07:00</published><updated>2010-03-16T13:20:26.432-07:00</updated><title type='text'>S Getting to search</title><content type='html'>Go to Navigator-&gt;Tools-&gt;CompentsTextSearch-&gt;All&lt;div&gt;Now you can search.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-7909570092863257235?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7909570092863257235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7909570092863257235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7909570092863257235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7909570092863257235'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/03/s-getting-to-search.html' title='S Getting to search'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5161755279712725943</id><published>2010-03-02T11:38:00.001-08:00</published><updated>2010-03-16T13:20:42.622-07:00</updated><title type='text'>S getting to Schemas</title><content type='html'>&lt;span class="Apple-style-span"   style="  color: rgb(41, 48, 59); font-family:Georgia, 'Times New Roman', sans-serif;font-size:13px;"&gt;&lt;h3 class="post-title entry-title"  style="font-weight: normal;  color: rgb(27, 4, 49); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size:18px;"&gt;&lt;span class="Apple-style-span"   style="font-size:100%;color:#29303B;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal;font-size:13px;"&gt;1 - Select Transporter&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal;font-size:13px;"&gt;2 - Click Tools -&gt; PowerSkel Command Center&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal;font-size:13px;"&gt;3 - Look for PowerSkel Management tab for what type of entry "NATURAL TO C#"&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal;font-size:13px;"&gt;PowerSkel is a collection of Prototype.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal;font-size:13px;"&gt;Prototype is the small part.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5161755279712725943?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5161755279712725943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5161755279712725943' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5161755279712725943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5161755279712725943'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/03/shuttle-getting-to-schemas.html' title='S getting to Schemas'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1846492015791846923</id><published>2010-02-26T06:10:00.000-08:00</published><updated>2010-02-26T06:15:42.191-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Histogram Natural SoftwareAG'/><title type='text'>Histogram on Natural</title><content type='html'>Histogram is a way to query your indexes on Natural, they are not called Indexes in Natural, but that is the way I see them. Since you choose keys on the Data tables and those keys create this index field, so we can do queries against the keys, this is more for the purpose of doing a count after wards, or getting items that are within a range of items faster. It is all about speed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1846492015791846923?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1846492015791846923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1846492015791846923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1846492015791846923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1846492015791846923'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/02/histogram-on-natural.html' title='Histogram on Natural'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-9100697628084022297</id><published>2010-02-24T10:55:00.000-08:00</published><updated>2010-02-24T10:56:40.750-08:00</updated><title type='text'>Everest Diagnostics</title><content type='html'>This nice &lt;a href="http://www.lavalys.com/"&gt;tool&lt;/a&gt; is nice to see what type of motherboard you are using.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-9100697628084022297?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/9100697628084022297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=9100697628084022297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/9100697628084022297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/9100697628084022297'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/02/everest-diagnostics.html' title='Everest Diagnostics'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7090327065683243360</id><published>2010-02-24T07:25:00.000-08:00</published><updated>2010-03-16T13:20:55.934-07:00</updated><title type='text'>How to look at Natural code in S</title><content type='html'>&lt;div&gt;Open Shuttle on the project that you want.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Navigator&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;Viewer-&gt;Workbenches-&gt;Canisters&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Screwdriver (filter)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Column Tab&lt;/div&gt;&lt;div&gt;Component name (double-click)&lt;/div&gt;&lt;div&gt;text_header like 'MAI%'     /// this is a case for this instance that the names are MAI&lt;/div&gt;&lt;div&gt;text_header can change names since it was an input when I double clicked the Component Name.&lt;/div&gt;&lt;div&gt;The double click action is getting the name of that field in SQL for the table name so we can create nice SQL statements.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-7090327065683243360?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7090327065683243360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7090327065683243360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7090327065683243360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7090327065683243360'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/02/how-to-look-at-natural-code-in-shuttle.html' title='How to look at Natural code in S'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4295493350674582604</id><published>2010-02-19T08:58:00.001-08:00</published><updated>2010-02-19T08:59:01.147-08:00</updated><title type='text'>Natural Importing Source Files</title><content type='html'>We got inside the Natural interface and we type the following on the command line:&lt;div&gt;SYSOBJH&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That will bring up a wizard that eventually we need to select the file to be imported.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4295493350674582604?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4295493350674582604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4295493350674582604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4295493350674582604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4295493350674582604'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/02/natural-importing-source-files.html' title='Natural Importing Source Files'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3270097598628421514</id><published>2010-02-04T11:10:00.000-08:00</published><updated>2010-02-04T11:11:10.112-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF XAML namespace'/><title type='text'>Adding Namespaces to WPF inside XAML</title><content type='html'>&lt;div&gt;Here is a code snipet that should go inside the Window element as an attribute.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;xmlns:custom="clr-namespace:Dbs.Prodesp.FrameworkLibrary.Domain;assembly=Dbs.Prodesp.FrameworkLibrary"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3270097598628421514?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3270097598628421514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3270097598628421514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3270097598628421514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3270097598628421514'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/02/adding-namespaces-to-wpf-inside-xaml.html' title='Adding Namespaces to WPF inside XAML'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7413574846768726926</id><published>2010-01-18T06:54:00.000-08:00</published><updated>2010-01-18T06:55:34.710-08:00</updated><title type='text'>[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]</title><content type='html'>The following command:&lt;div&gt;[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]&lt;br /&gt;&lt;div&gt;If put above a property will make the property not appear on the designer code. This was used to hide information from the designer, when we were controlling it from somewhere else.&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/6717556-7413574846768726926?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7413574846768726926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7413574846768726926' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7413574846768726926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7413574846768726926'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/01/designerserializationvisibilitydesigner.html' title='[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6729163222965354200</id><published>2010-01-13T09:23:00.000-08:00</published><updated>2010-01-13T09:27:50.881-08:00</updated><title type='text'>App.config for Designer VS 2008</title><content type='html'>So I had a screen that loaded some values from the app.config file. For some reason these were already set when I got to them using the Debug Designer code. And finally by the motion of the Holy Spirit I was able to figure it out. There is a devenv.exe.config file which stores those attributes for the designer.&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Look for the file and you will see those settings that you wanted so much.&lt;span class="Apple-tab-span" style="white-space:pre"&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/6717556-6729163222965354200?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6729163222965354200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6729163222965354200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6729163222965354200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6729163222965354200'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/01/appconfig-for-designer-vs-2008.html' title='App.config for Designer VS 2008'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8141258621247616029</id><published>2010-01-13T07:35:00.000-08:00</published><updated>2010-01-13T07:41:33.870-08:00</updated><title type='text'>Debugging the designer</title><content type='html'>&lt;div style="text-align: left;"&gt;I have been doing work with the designer with my custom Form and my custom TextBox, but I had problems when the designer would crash on me and I had no idea what was going on. I found &lt;a href="http://msdn.microsoft.com/en-us/library/ms996457.aspx"&gt;this&lt;/a&gt; article that talks about this. You can launch another copy of the compiler in Debug mode.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It comes down adding a new project to your solution and doing the following change to the properties of the new project:&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://4.bp.blogspot.com/_HvXOdblv6Ak/S03o9fdHNJI/AAAAAAAAMh0/Ydl-cf1LFUk/s1600-h/VisualStudio.JPG"&gt;&lt;img src="http://4.bp.blogspot.com/_HvXOdblv6Ak/S03o9fdHNJI/AAAAAAAAMh0/Ydl-cf1LFUk/s320/VisualStudio.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5426249269164586130" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 231px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt; And changing Start Action from "Start Project" to "Start external program:" and pointing to "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" launches the VS2008 again and this time you can load your project and put break points on the original VS2008 and debbuging it on the fly.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8141258621247616029?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8141258621247616029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8141258621247616029' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8141258621247616029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8141258621247616029'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/01/debugging-designer.html' title='Debugging the designer'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_HvXOdblv6Ak/S03o9fdHNJI/AAAAAAAAMh0/Ydl-cf1LFUk/s72-c/VisualStudio.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1591327906274161160</id><published>2010-01-12T11:00:00.001-08:00</published><updated>2010-01-12T11:01:58.044-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DesignMode C#'/><title type='text'>DesignMode C#</title><content type='html'>&lt;div&gt;I have created a new control which only needed to run the class to handle the reposition code when we were in design view, but it should deactivate on real time, which on my code would make the custom text box get smaller with each resize. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I just had to do the following call:&lt;/div&gt;&lt;div&gt;if( DesignMode )&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;  /// do things for design mode only&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This worked like a charm.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;God bless,&lt;/div&gt;&lt;div&gt;Spike&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1591327906274161160?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1591327906274161160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1591327906274161160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1591327906274161160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1591327906274161160'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/01/designmode-c.html' title='DesignMode C#'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5964691116078541125</id><published>2010-01-05T11:19:00.000-08:00</published><updated>2010-01-05T11:24:18.696-08:00</updated><title type='text'>Why the gotos (Natural)</title><content type='html'>Here is a nice trick that Natural has:&lt;br /&gt;&lt;br /&gt;ReInput&lt;br /&gt;&lt;br /&gt;This command has caused us a lot of problems.&lt;br /&gt;&lt;br /&gt;When you normally call a screen (Map) to show up you use the Input command, which will display the map. Say you are going down and you display a lot of maps, you decide you need the last one to show up you can call ReInput. This will cause the last known map to display, however it will jump execution to that point in to the code, the part where you called that map. So if you have some code after that map call it will get executed again.&lt;br /&gt;&lt;br /&gt;This is one of the hardest problems on converting a Natural program into another language and is one we will need to deal with it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5964691116078541125?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5964691116078541125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5964691116078541125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5964691116078541125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5964691116078541125'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2010/01/why-gotos-natural.html' title='Why the gotos (Natural)'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7657974887752539610</id><published>2009-12-23T08:33:00.000-08:00</published><updated>2009-12-23T08:34:36.937-08:00</updated><title type='text'>Configuration of the Natural 6.2 Studio</title><content type='html'>Start the&lt;br /&gt;Natural 6.2 Configuration Utility&lt;br /&gt;- In there you should find the way to switch between , and . for the delimiter of numbers and for the customer P**esp you should be able to put the delimiter as ; instead of ,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-7657974887752539610?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7657974887752539610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7657974887752539610' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7657974887752539610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7657974887752539610'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/12/configuration-of-natural-62-studio.html' title='Configuration of the Natural 6.2 Studio'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3812042778199635256</id><published>2009-12-23T08:31:00.001-08:00</published><updated>2009-12-23T08:33:13.666-08:00</updated><title type='text'>DBA Workbench</title><content type='html'>Here are the starts of the ADABAS database manipulation:&lt;br /&gt;&lt;br /&gt;Click on New&lt;br /&gt;Need to give a DBID (give a number that is not used)&lt;br /&gt;Then do a Restore and put the file on DBID the same.&lt;br /&gt;Then Start the database and it should say active.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3812042778199635256?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3812042778199635256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3812042778199635256' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3812042778199635256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3812042778199635256'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/12/dba-workbench.html' title='DBA Workbench'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6208674324986101560</id><published>2009-12-23T08:29:00.000-08:00</published><updated>2009-12-23T08:30:58.224-08:00</updated><title type='text'>Natural starting</title><content type='html'>Got the application started.&lt;br /&gt;&lt;br /&gt;Now here are some commands, these are typed into the command area on the Natural Studio 6.2&lt;br /&gt;&lt;br /&gt;CATALL - will catalog all the programs, maps, etc...&lt;br /&gt;SYSOBJH - this will import programs into the interface.&lt;br /&gt;&lt;br /&gt;&lt;program&gt; - this will launch the application&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-6208674324986101560?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6208674324986101560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6208674324986101560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6208674324986101560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6208674324986101560'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/12/natural-starting.html' title='Natural starting'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3817316012728687363</id><published>2009-12-23T06:12:00.000-08:00</published><updated>2009-12-23T06:14:08.659-08:00</updated><title type='text'>OnPaint override on C#</title><content type='html'>I was trying to get the OnPaint to work:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia,'Times New Roman',serif;"&gt;protected override void OnPaint(PaintEventArgs e)&lt;br /&gt;{&lt;br /&gt;  base.OnPaint(e);&lt;br /&gt;  e.Graphics.DrawString(Text, this.Font,&lt;br /&gt;                                    new SolidBrush(this.ForeColor),&lt;br /&gt;                                    -1, 0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;however this would never get called, so I found the following command on the web that I put on my constructor and it made it all work:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia,'Times New Roman',serif;"&gt;this.SetStyle(ControlStyles.UserPaint, true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now I can move stuff around, very cool&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3817316012728687363?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3817316012728687363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3817316012728687363' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3817316012728687363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3817316012728687363'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/12/onpaint-override-on-c.html' title='OnPaint override on C#'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5528260936603660262</id><published>2009-12-03T16:48:00.000-08:00</published><updated>2009-12-03T16:50:55.062-08:00</updated><title type='text'>ASP.Net error when trying to use the asp items on the code behind page.</title><content type='html'>I got an example solution that had some problems. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A code behind page could not access the members of the page on ASP.Net 3.5. Whenever I tried to access the members on the code it would not show them, as if the cs file behind the page was not seening the page.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After some comparison I noticed that the CodeGen file was missing. I just created a new Class file with the name of the page plus the .Designer.cs at the end. The file got created but it was empty. I just had to add a new control to the page and the CodeGeneration took care of the rest. Now the file behind page works fine.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is just a note so I will remember it.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5528260936603660262?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5528260936603660262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5528260936603660262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5528260936603660262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5528260936603660262'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/12/aspnet-error-when-trying-to-use-asp.html' title='ASP.Net error when trying to use the asp items on the code behind page.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4706357027452646909</id><published>2009-11-10T12:45:00.000-08:00</published><updated>2009-11-10T12:49:03.164-08:00</updated><title type='text'>Item 1 - Generics implementation check</title><content type='html'>if( anyObject is ClassName)&lt;div&gt;{&lt;/div&gt;&lt;div&gt;   /// will be true if the object is an instance of the ClassName&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-----------------&lt;/div&gt;&lt;div&gt;Now I can create generic interfaces&lt;/div&gt;&lt;div&gt;public interface IMyInterface&lt;t&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;   int GetValue(T myGuy);&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/6717556-4706357027452646909?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4706357027452646909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4706357027452646909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4706357027452646909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4706357027452646909'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/11/item-1-generics-implementation-check.html' title='Item 1 - Generics implementation check'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4156022743341100758</id><published>2009-10-27T09:07:00.000-07:00</published><updated>2009-10-27T09:10:58.647-07:00</updated><title type='text'>SQL .Net 3.5 Compact size error</title><content type='html'>&lt;div&gt;Got the following error on my database when trying to connect:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;TITLE: Connect to Server&lt;/div&gt;&lt;div&gt;------------------------------&lt;/div&gt;&lt;div&gt;Cannot connect to C:\..\CompactDatabase.sdf.&lt;/div&gt;&lt;div&gt;------------------------------&lt;/div&gt;&lt;div&gt;ADDITIONAL INFORMATION:&lt;/div&gt;&lt;div&gt;The database file cannot be found. Check the path to the database. [ Data Source = C:\Temp\CommunicationEventLogData.sdf ] (SQL Server Compact ADO.NET Data Provider)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I knew the SQL .Net 3.5 Compact has a size of 4GB, but my database was only about 260MB, so something was wrong. When I first connect to the database I need to make sure to add the "Max Database Size=4000" line to the ConnectionString to the database.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I think this is all,&lt;/div&gt;&lt;div&gt;Spike&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4156022743341100758?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4156022743341100758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4156022743341100758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4156022743341100758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4156022743341100758'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/10/sql-net-35-compact-size-error.html' title='SQL .Net 3.5 Compact size error'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6672043730533277528</id><published>2009-09-28T07:03:00.000-07:00</published><updated>2009-09-28T07:06:40.818-07:00</updated><title type='text'>Create database for LINQ without using LINQ, but instead using bak file from SQL.</title><content type='html'>I found &lt;a href="http://vinothnat.blogspot.com/2009/01/how-to-restore-database-from-bak-file.html"&gt;here &lt;/a&gt;a nice code for .Net 3.5 to get the database up and running from a bak file:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;using Microsoft.SqlServer.Management.Smo;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;string backupFile="Backupfile";//.bak file&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;string dbName = "DBName";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;string dbServerMachineName = "MachineName";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;Microsoft.SqlServer.Management.Smo.Server server = new Microsoft.SqlServer.Management.Smo.Server(dbServerMachineName);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;Database database = new Database(server, dbName);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;//If Need&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;database.Create();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;database.Refresh();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;//Restoring&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;Restore restore = new Restore();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.NoRecovery = false;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.Action = RestoreActionType.Database;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;BackupDeviceItem bdi = default(BackupDeviceItem);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;bdi = new BackupDeviceItem(backupFile, DeviceType.File);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.Devices.Add(bdi);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.Database = dbName;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.ReplaceDatabase = true;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.PercentCompleteNotification = 10;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;restore.SqlRestore(server);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;database.Refresh();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;database.SetOnline();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;server.Refresh();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The reason for using this is because LINQ will not move over the indexes, and it turns out I need them, so the CreateDatabase method is useless on LINQ right now, who knows in the future MS fixes this.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;God bless,&lt;/div&gt;&lt;div&gt;Spike&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/6717556-6672043730533277528?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6672043730533277528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6672043730533277528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6672043730533277528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6672043730533277528'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/09/i-found-here-nice-code-for.html' title='Create database for LINQ without using LINQ, but instead using bak file from SQL.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5474560587375527597</id><published>2009-06-04T16:33:00.000-07:00</published><updated>2009-06-04T16:41:01.955-07:00</updated><title type='text'>WPF ListView binding</title><content type='html'>Found &lt;a href="http://www.c-sharpcorner.com/UploadFile/raj1979/DataBinding10042007165025PM/DataBinding.aspx"&gt;this&lt;/a&gt; blog about the WPF List View binding&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So I have a class:&lt;/div&gt;&lt;div&gt;Class Table&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;  public string FirstName{get;set;}&lt;/div&gt;&lt;div&gt;  public string LastName{get;set;}&lt;/div&gt;&lt;div&gt;  public DateTime BirthDate{get;set;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then I have the list:&lt;/div&gt;&lt;div&gt;List TableList {get;set;}&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My WPF window are&lt;/div&gt;&lt;div&gt;&lt;listview name="MyListView" itemssource="{Binding Path=TableEntry}"&gt;&lt;br /&gt;&lt;/listview&gt;&lt;/div&gt;&lt;div&gt;&lt;!--&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;listview itemssource="{Binding Path=Table}"&gt;&lt;/div&gt;&lt;div&gt;  &lt;listview.view&gt;         &lt;/div&gt;&lt;div&gt;    &lt;gridview&gt;&lt;/div&gt;&lt;div&gt;      &lt;gridviewcolumn header="Employee ID" displaymemberbinding="{Binding Path=EmployeeID}"&gt;&lt;/div&gt;&lt;div&gt;      &lt;gridviewcolumn header="First Name" displaymemberbinding="{Binding Path=FirstName}"&gt;&lt;/div&gt;&lt;div&gt;      &lt;gridviewcolumn header="Last Name" displaymemberbinding="{Binding Path=LastName}"&gt;&lt;/div&gt;&lt;div&gt;      &lt;gridviewcolumn header="BirthDate" displaymemberbinding="{Binding Path=BirthDate}"&gt;&lt;/div&gt;&lt;div&gt;      &lt;gridviewcolumn header="City" displaymemberbinding="{Binding Path=City}"&gt;&lt;/div&gt;&lt;div&gt;      &lt;gridviewcolumn header="Country" displaymemberbinding="{Binding Path=Country}"&gt;&lt;/div&gt;&lt;div&gt;    &lt;/gridview&gt;&lt;/div&gt;&lt;div&gt;  &lt;/ListView.View&gt;&lt;/div&gt;&lt;div&gt;&lt;/listview&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;--&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;"&lt;"ListView ItemsSource="{Binding Path=Table}""&gt;"&lt;/div&gt;&lt;div&gt;  "&lt;"ListView.View"&gt;"         &lt;/div&gt;&lt;div&gt;    "&lt;"GridView"&gt;"&lt;/div&gt;&lt;div&gt;      "&lt;"GridViewColumn Header="Employee ID" DisplayMemberBinding="{Binding Path=EmployeeID}"/"&gt;"&lt;/div&gt;&lt;div&gt;      "&lt;"GridViewColumn Header="First Name" DisplayMemberBinding="{Binding Path=FirstName}"/"&gt;"&lt;/div&gt;&lt;div&gt;      "&lt;"GridViewColumn Header="Last Name" DisplayMemberBinding="{Binding Path=LastName}"/"&gt;"&lt;/div&gt;&lt;div&gt;      "&lt;"GridViewColumn Header="BirthDate" DisplayMemberBinding="{Binding Path=BirthDate}"/"&gt;"&lt;/div&gt;&lt;div&gt;      "&lt;"GridViewColumn Header="City" DisplayMemberBinding="{Binding Path=City}"/"&gt;"&lt;/div&gt;&lt;div&gt;      "&lt;"GridViewColumn Header="Country" DisplayMemberBinding="{Binding Path=Country}"/"&gt;"&lt;/div&gt;&lt;div&gt;    "&lt;"/GridView"&gt;"&lt;/div&gt;&lt;div&gt;  "&lt;"/ListView.View"&gt;"&lt;/div&gt;&lt;div&gt;"&lt;"/ListView"&gt;"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;MyListView.DataContext = TableList;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;All done&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;table&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5474560587375527597?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5474560587375527597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5474560587375527597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5474560587375527597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5474560587375527597'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/06/wpf-listview-binding.html' title='WPF ListView binding'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7512698711913218195</id><published>2009-06-03T08:53:00.001-07:00</published><updated>2009-06-03T08:54:29.208-07:00</updated><title type='text'>WPF TextBox not typing</title><content type='html'>I was trying to get the TextBox to type after opening the WPF window from a WinForm and the text box would not get any of the keyboard events. Looking around I found the following fix:&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;WindowMeterSelection windowMeterSelection = new WindowMeterSelection();&lt;/div&gt;&lt;div&gt;System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(windowMeterSelection);&lt;/div&gt;&lt;div&gt;windowMeterSelection.Show();&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/6717556-7512698711913218195?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7512698711913218195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7512698711913218195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7512698711913218195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7512698711913218195'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/06/wpf-textbox-not-typing.html' title='WPF TextBox not typing'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-467618544147219326</id><published>2009-05-18T07:27:00.000-07:00</published><updated>2009-05-18T07:28:26.452-07:00</updated><title type='text'>FIX: When you undock some windows or change the window layout in the Visual Studio 2008 Service Pack 1 IDE, the IDE crashes</title><content type='html'>Found this about it:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://code.msdn.microsoft.com/KB960075"&gt;http://code.msdn.microsoft.com/KB960075&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://support.microsoft.com/kb/960075"&gt;http://support.microsoft.com/kb/960075&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-467618544147219326?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/467618544147219326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=467618544147219326' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/467618544147219326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/467618544147219326'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/05/fix-when-you-undock-some-windows-or.html' title='FIX: When you undock some windows or change the window layout in the Visual Studio 2008 Service Pack 1 IDE, the IDE crashes'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8861491209877717348</id><published>2009-05-06T19:45:00.000-07:00</published><updated>2009-05-06T19:47:56.420-07:00</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;div style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; width: auto; font: normal normal normal 100%/normal Georgia, serif; text-align: left; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; "&gt;&lt;div style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; width: auto; font: normal normal normal 100%/normal Georgia, serif; text-align: left; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; "&gt;&lt;div style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; width: auto; font: normal normal normal 100%/normal Georgia, serif; text-align: left; "&gt;&lt;div&gt;Got this information &lt;a href="http://www.c-sharpcorner.com/uploadfile/mahesh/wpfusercontrol06292008215701pm/wpfusercontrol.aspx"&gt;from&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Put this call on the Window xaml header, this is like a using statement:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;xmlns:local="clr-namespace:UserControlNamespace"&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then on the area we want the control to be in we put the following code&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;Grid x:Name="LayoutRoot"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;        local:XamlFileBrowser &lt;/div&gt;&lt;div&gt;/Grid&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And that is it... all done.&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&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/6717556-8861491209877717348?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8861491209877717348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8861491209877717348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8861491209877717348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8861491209877717348'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/05/got-this-information-from-httpwww.html' title=''/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-2769205899239469411</id><published>2009-04-29T09:11:00.000-07:00</published><updated>2009-04-29T11:46:17.053-07:00</updated><title type='text'>Singles on LINQ</title><content type='html'>&lt;div&gt;So we can do one line queries to getting the exact product back.&lt;/div&gt;Product chai = db.Products.Single(p =&gt; p.ProductName == "Chai");&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So we can do an initialization of fields from the contructor&lt;/div&gt;&lt;div&gt;OrderDetail li1 = new OrderDetail() { Product = chai, Quantity = 23 };&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-2769205899239469411?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/2769205899239469411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=2769205899239469411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2769205899239469411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2769205899239469411'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/04/singles-on-linq.html' title='Singles on LINQ'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5085415223791087349</id><published>2009-04-29T08:24:00.000-07:00</published><updated>2009-04-29T08:25:47.913-07:00</updated><title type='text'>Transactions on LINQ</title><content type='html'>&lt;div&gt;Found this at:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.asp.net/learn/linq-videos/video-235.aspx"&gt;http://www.asp.net/learn/linq-videos/video-235.aspx&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;using(TransactionScope tx = new TransactionScope())&lt;div&gt;{&lt;/div&gt;&lt;div&gt; // Do LINQ things here&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;  Transaction.Current.Rollback()&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/6717556-5085415223791087349?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5085415223791087349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5085415223791087349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5085415223791087349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5085415223791087349'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/04/transactions-on-linq.html' title='Transactions on LINQ'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4805405805630720896</id><published>2009-04-25T12:14:00.001-07:00</published><updated>2009-04-25T12:15:28.313-07:00</updated><title type='text'>WPF ListView keep at last one added visible</title><content type='html'>This simple command focus the ListView for WPF into the last possition:&lt;div&gt;listViewLog.ScrollIntoView(listViewLog.Items[listViewLog.Items.Count - 1]);&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4805405805630720896?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4805405805630720896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4805405805630720896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4805405805630720896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4805405805630720896'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/04/wpf-listview-keep-at-last-one-added.html' title='WPF ListView keep at last one added visible'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1572434821961839523</id><published>2009-04-03T13:40:00.000-07:00</published><updated>2009-04-03T13:49:23.782-07:00</updated><title type='text'>Socket timeout exception disconnects the Socket.</title><content type='html'>Very fun stuff...&lt;br /&gt;&lt;br /&gt;I found out that whenever you set your Socket to a timeout period and you are not using async sockets you get a socket exception for your timeout. Which was fine, but I found that the exception cause the socket to disconnect. Nasty since I am working with AT&amp;amp;T network and if you disconnect your socket you need to wait 60 seconds before you can try again. I had to somehow not let the Socket.Receive(buffer) throw that exception, the solution? I check to see if there is anything to receive before I receive.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;// initialize your socket.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;// send information through socket&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;/// this is for how long do we process information&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;int intervalSpacing = 10;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;/// keep looping until we get information or the timeout runs out. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;while (!_socket.Poll(intervalSpacing, SelectMode.SelectRead) &amp;amp;&amp;amp; (internalTimeout &gt; 0))&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;    internalTimeout -= intervalSpacing;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;    Thread.Sleep(intervalSpacing);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;/// if our timeout is 0 or less than&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;/// than we ran out of time.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;if (internalTimeout &lt;= 0)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;    /// handle the time out here, the socket is still active.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;    &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;   /// buffer for the received data&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;   byte[] buffer = new byte[1024];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;                                            &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;   /// get the data&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;   int dataReceived = _socket.Receive(buffer); /// this is where I would get my exception before&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;   /// handle the processing of the data here&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 102, 0); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The trick here was just add that Pool call before I did my synced receive. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1572434821961839523?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1572434821961839523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1572434821961839523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1572434821961839523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1572434821961839523'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/04/socket-timeout-exception-disconnects.html' title='Socket timeout exception disconnects the Socket.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6458613658584199494</id><published>2009-03-27T11:52:00.001-07:00</published><updated>2009-03-27T11:55:36.305-07:00</updated><title type='text'>C# .Net 3.5 Socket issue after timeout</title><content type='html'>Here is the scenario.&lt;br /&gt;My communication times out on receive.&lt;br /&gt;I set a time out period of about 2 seconds then I call:&lt;br /&gt;&lt;br /&gt;_socket.Receive(buffer);&lt;br /&gt;&lt;br /&gt;Which is fine. I get a SocketException with the message "A connection attempt failed because the connected party did not properly respond after a period of time"&lt;br /&gt;&lt;br /&gt;The problem comes when I try to receive again. Basically when I time out I am supposed to retry for a certain count. So I send the last packet again fine using the same _socket class, but when I attempt to Receive again I get a SocketException where the message is "A non-blocking socket operation could not be completed immediately" immediately after the call.&lt;br /&gt;&lt;br /&gt; If I do disconnect and connect again I am fine. So now I will keep adding to comments as I find new things about this issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-6458613658584199494?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6458613658584199494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6458613658584199494' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6458613658584199494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6458613658584199494'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/03/c-net-35-socket-issue-after-timeout.html' title='C# .Net 3.5 Socket issue after timeout'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1147294360582204726</id><published>2009-03-13T19:34:00.000-07:00</published><updated>2009-03-14T11:50:22.966-07:00</updated><title type='text'>WDS Hell</title><content type='html'>For the last 48 hours I have been trying to make this piece of crap work.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have a Windows 2003 which is running WDS (Windows Deployment Server) and trying to get it working.&lt;/div&gt;&lt;div&gt;First the new machine booting in PXE would not even see it.&lt;/div&gt;&lt;div&gt;It is a x64 machine so I had to run the following command:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;WDSUTIL /set-server /architecturediscovery:yes&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This would get me to an error that gave me&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;\Boot\BCD&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;error 0xc000000f&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then I basically got fed up got to my remote install folder and just shared and security user "everyone" full rights. After that I got the Windows 2008 x64 to install on the machine.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Got this far, but now Windows 2008 wants the Network card drivers. I need to create a new image with the drivers in it? The driver will not give me a driver file because it is contained inside a .exe file which detects if I am running a x64 machine. Ok I give up. This machine can do a SATA DVD Drive. I am going to do that instead.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Sorry if you came here for a solution, perhaps my notes above might help you, but I am giving up on this. WDS is too complicated, that would mean I would need to have the driver for every machine that I install I would need to create a new image. That is too much hasle. Why couldn't they install using the same driver they used to communicate to the WDS.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Oh well.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;God bless,&lt;/div&gt;&lt;div&gt;Spike&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1147294360582204726?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1147294360582204726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1147294360582204726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1147294360582204726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1147294360582204726'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/03/wds-hell.html' title='WDS Hell'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8972579952170514556</id><published>2009-01-26T14:52:00.000-08:00</published><updated>2009-01-26T14:53:24.952-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remoting events'/><title type='text'>More information easy to understand on Remoting and Events</title><content type='html'>&lt;a href="http://dotnetjunkies.com/Tutorial/BFB598D4-0CC8-4392-893D-30252E2B3283.dcik"&gt;http://dotnetjunkies.com/Tutorial/BFB598D4-0CC8-4392-893D-30252E2B3283.dcik&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;only problem is this guy is on VB... so I had to try to understand his code which in theory should translate to C# very easily.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8972579952170514556?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8972579952170514556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8972579952170514556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8972579952170514556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8972579952170514556'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/01/more-information-easy-to-understand-on.html' title='More information easy to understand on Remoting and Events'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5432477917415410374</id><published>2009-01-22T08:42:00.001-08:00</published><updated>2009-01-22T08:50:21.858-08:00</updated><title type='text'>Events on Remoting .Net 3.5</title><content type='html'>I have been trying to get the events to work on the remoting side of things. However every time I tried to get the event to link on a remote like the following:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;m_RemoteObject.myevent += new myeventhandler(sink.myCallback);&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;it would throw me an exception saying ""Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level."&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After much research I found the following post:&lt;/div&gt;&lt;div&gt;&lt;a href="http://groups.google.com/group/microsoft.public.dotnet.framework.remoting/browse_thread/thread/264fe6bd76f8cced?pli=1"&gt;http://groups.google.com/group/microsoft.public.dotnet.framework.remoting/browse_thread/thread/264fe6bd76f8cced?pli=1&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Which had the gem inside:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;br /&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;In server side, need to set the "typeFilterLevel=Full" in the server &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;channel, the following code is for TCPchannel. &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;Search "typeFilterLevel","Full","Event" in google can find many information. &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;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 255);"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;IDictionary &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;providerProps = &lt;/span&gt;new &lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;Hashtable&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;providerProps[&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 0, 0);"&gt;"typeFilterLevel"&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;] = "Full";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;BinaryServerFormatterSinkProvider &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;provider = &lt;/span&gt;new &lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;BinaryServerFormatterSinkProvider&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;(providerProps, null);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;IDictionary &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;props = &lt;/span&gt;new &lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;Hashtable&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;props[&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 0, 0);"&gt;"port"&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;] = 9999;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;TcpChannel &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;tcpChannel = &lt;/span&gt;new &lt;span class="Apple-style-span" style="color: rgb(51, 153, 153);"&gt;TcpChannel&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); "&gt;(props, null, provider); &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;//open a channel&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;And that was it...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;God bless,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;Spike&lt;/span&gt;&lt;/div&gt;&lt;/span&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/6717556-5432477917415410374?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5432477917415410374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5432477917415410374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5432477917415410374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5432477917415410374'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2009/01/events-on-remoting-net-35.html' title='Events on Remoting .Net 3.5'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4305250111473164746</id><published>2008-08-18T12:53:00.001-07:00</published><updated>2008-08-18T12:55:20.251-07:00</updated><title type='text'>Windows Search, disabled</title><content type='html'>Open Regedit by going Start-&gt;Run and type in "Regedit".&lt;br /&gt;&lt;br /&gt;Go to:&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows Desktop Search\DS&lt;br /&gt;&lt;br /&gt;and on the ShowStartSearchBand option change it from 1 to 0. This will disabled the new Windows Search.&lt;br /&gt;&lt;br /&gt;This was from:&lt;br /&gt;http://www.johnsadventures.com/archives/2006/11/how_to_default_to_search_companion_with_windows_de.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4305250111473164746?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4305250111473164746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4305250111473164746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4305250111473164746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4305250111473164746'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/08/windows-search-disabled.html' title='Windows Search, disabled'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5772916027484379279</id><published>2008-08-04T15:54:00.000-07:00</published><updated>2008-08-04T15:55:40.963-07:00</updated><title type='text'>Auto Scroll on ListView C# .Net 3.5</title><content type='html'>After much issues I figure out this way of making sure when new items are added to the list view that the newest item is visible:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;myListView.Items[myListView.Items.Count - 1].EnsureVisible();&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5772916027484379279?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5772916027484379279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5772916027484379279' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5772916027484379279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5772916027484379279'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/08/auto-scroll-on-listview-c-net-35.html' title='Auto Scroll on ListView C# .Net 3.5'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-2763862249707904877</id><published>2008-08-04T14:31:00.000-07:00</published><updated>2008-08-04T14:39:07.943-07:00</updated><title type='text'>Iteration through enumeration</title><content type='html'>I was wondering how I could get all the value of a enumeration, so I found the nice Enum class on C# .Net 3.5.&lt;br /&gt;&lt;br /&gt;Here is a quick code:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;namespace ConsoleSandBox2&lt;br /&gt;{&lt;br /&gt;    enum Animals&lt;br /&gt;    {&lt;br /&gt;        Cat = 0,&lt;br /&gt;        Dog = 1,&lt;br /&gt;        Bird = 5&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            /// does not really mater which one you pick here.&lt;br /&gt;            Animals animals = Animals.Cat;&lt;br /&gt;&lt;br /&gt;            /// stores the name and numbers of each entry&lt;br /&gt;            Array animalArray = Enum.GetValues(animals.GetType());&lt;br /&gt;&lt;br /&gt;            Console.WriteLine("Contents of all the items inside Animals");&lt;br /&gt;&lt;br /&gt;            for (int count = 0; count &lt; animalArray.Length; count++)&lt;br /&gt;            {&lt;br /&gt;                /// now it prints &lt;enum&gt; &lt;enum&gt;&lt;br /&gt;                Console.WriteLine((int)animalArray.GetValue(count) + " " + animalArray.GetValue(count).ToString());&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            Console.WriteLine("Done");&lt;br /&gt;&lt;br /&gt;            /// just for a pause&lt;br /&gt;            Console.Read();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output:&lt;br /&gt;Contents of all the items inside Animals&lt;br /&gt;0 Cat&lt;br /&gt;1 Dog&lt;br /&gt;5 Bird&lt;br /&gt;Done&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-2763862249707904877?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/2763862249707904877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=2763862249707904877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2763862249707904877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2763862249707904877'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/08/iteration-through-enumeration.html' title='Iteration through enumeration'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4085546127312827688</id><published>2008-08-04T13:47:00.000-07:00</published><updated>2008-08-04T14:09:30.784-07:00</updated><title type='text'>MarshalByRefObject with eternal life against Garbage Collection</title><content type='html'>If you create a Remoting object and it needs to stay alive and all its member what you need to do is just add the following override method call to it.&lt;br /&gt;&lt;pre name="code" class="Cpp"&gt;&lt;br /&gt;public override object InitializeLifetimeService()&lt;br /&gt;{&lt;br /&gt;return null;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4085546127312827688?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4085546127312827688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4085546127312827688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4085546127312827688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4085546127312827688'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/08/marshalbyrefobject-with-eternal-life.html' title='MarshalByRefObject with eternal life against Garbage Collection'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8474159495233953631</id><published>2008-07-31T11:09:00.000-07:00</published><updated>2008-07-31T11:10:26.959-07:00</updated><title type='text'>DebuggerStepThrough C# compiler tag</title><content type='html'>class SomeValue&lt;br /&gt;{&lt;br /&gt;  ...&lt;br /&gt;  public int Value&lt;br /&gt;  {&lt;br /&gt;    [DebuggerStepThrough]&lt;br /&gt;    get { return value; }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;flag will make the debugger step through the entry so when we press F11 we do not get this stuff.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8474159495233953631?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8474159495233953631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8474159495233953631' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8474159495233953631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8474159495233953631'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/07/debuggerstepthrough-c-compiler-tag.html' title='DebuggerStepThrough C# compiler tag'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-269895229172348830</id><published>2008-06-03T13:07:00.000-07:00</published><updated>2008-06-03T13:08:38.286-07:00</updated><title type='text'>Unix Time on C#</title><content type='html'>Got the total Unix time for the operation bellow on C# .Net 3.5&lt;br /&gt;&lt;br /&gt;(DateTime.UtcNow - new DateTime(1970,1,1,0,0,0)).TotalSeconds;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-269895229172348830?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/269895229172348830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=269895229172348830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/269895229172348830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/269895229172348830'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/06/unix-time-on-c.html' title='Unix Time on C#'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6020059004206823896</id><published>2008-05-02T09:59:00.000-07:00</published><updated>2008-05-02T10:02:56.415-07:00</updated><title type='text'>Serializating and Deserializing manually</title><content type='html'>These are the methods to make a class have some fields or processes that are done manually when the object is ready to be serialized and decerialized on the other side.&lt;br /&gt;&lt;br /&gt;[OnSerializing]&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// When the object is asked to serialize we need to save the information about&lt;br /&gt;/// the Linq object, since it cannot be serialized normally.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;void OnSerializing1(StreamingContext context)&lt;br /&gt;{&lt;br /&gt;    /// do your serialization stuff here&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[OnDeserialized]&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// When the object is asked to serialize we need to save the information about&lt;br /&gt;/// the Linq object, since it cannot be serialized normally.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;void OnDeserialized(StreamingContext context)&lt;br /&gt;{&lt;br /&gt;    /// do your deserialization stuff here&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Must add the following using to the class doing this.&lt;br /&gt;using System.Runtime.Serialization;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-6020059004206823896?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6020059004206823896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6020059004206823896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6020059004206823896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6020059004206823896'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/05/serializating-and-deserializing.html' title='Serializating and Deserializing manually'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8949855264145220805</id><published>2008-05-01T11:56:00.000-07:00</published><updated>2008-05-09T08:26:30.100-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DebbugerDisplay C# CSharp'/><title type='text'>Debugger display</title><content type='html'>using System.Diagnostics;&lt;br /&gt;[DebuggerDisplay("{ToDebugString()}")]&lt;br /&gt;public class MyClass&lt;br /&gt;{&lt;br /&gt; public string ToDebugString()&lt;br /&gt; {&lt;br /&gt;  return "My own whatever I want to display on the debug screen";&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;This is for when the class is in debug mode we can display whatever we want.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8949855264145220805?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8949855264145220805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8949855264145220805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8949855264145220805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8949855264145220805'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/05/debugger-display.html' title='Debugger display'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1080048182177338837</id><published>2008-04-30T10:59:00.000-07:00</published><updated>2011-05-19T11:24:35.220-07:00</updated><title type='text'>Trying to create a proxy to an unbound type.</title><content type='html'>While doing remoting on .Net 3.5 and I am pretty sure this applies to .Net 3.0, 2.0, and possibly 1.0.&lt;br /&gt;&lt;br /&gt;I got the error "Trying to create a proxy to an unbound type." Which basically means the object I was trying to remote was not inheriting the MarshalByRefObject class, which made the class not able to be referenced by the remote command.&lt;br /&gt;&lt;br /&gt;Detail error:&lt;br /&gt;System.Runtime.Remoting.RemotingException was unhandled&lt;br /&gt;Message="Trying to create a proxy to an unbound type."&lt;br /&gt;Source="mscorlib"&lt;br /&gt;StackTrace:&lt;br /&gt;at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)&lt;br /&gt;at System.Activator.GetObject(Type type, String url, Object state)&lt;br /&gt;at System.Activator.GetObject(Type type, String url)&lt;br /&gt;at Product1.Application1.RemotingService.RemotingManager.ConnectToServer(String serverName) in U:\Product1\Application1\RemotingService\RemotingManager.cs:line 67&lt;br /&gt;at Product1.Application1.RemotingService.RemotingManager.StartServerAndInitalize() in U:\Product1\Application1\RemotingService\RemotingManager.cs:line 50&lt;br /&gt;at Product1.Application1.Presentation.MainForm.MainForm_Load(Object sender, EventArgs e) in U:\Product1\Application1\Presentation\MainForm.cs:line 52&lt;br /&gt;at System.Windows.Forms.Form.OnLoad(EventArgs e)&lt;br /&gt;at System.Windows.Forms.Form.OnCreateControl()&lt;br /&gt;at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;br /&gt;at System.Windows.Forms.Control.CreateControl()&lt;br /&gt;at System.Windows.Forms.Control.WmShowWindow(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.ContainerControl.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Form.WmShowWindow(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Form.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, Int32 wParam, Int32 lParam)&lt;br /&gt;at System.Windows.Forms.Form.SetVisibleCore(Boolean value)&lt;br /&gt;at System.Windows.Forms.Control.set_Visible(Boolean value)&lt;br /&gt;at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)&lt;br /&gt;at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)&lt;br /&gt;at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)&lt;br /&gt;at System.Windows.Forms.Form.ShowDialog()&lt;br /&gt;at Product1.Application1.Presentation.SelectDataSource.Exit() in U:\Product1\Application1\Presentation\SelectDataSource.cs:line 43&lt;br /&gt;at Product1.Application1.Presentation.SelectDataSource.btn_Product1Server_Click(Object sender, EventArgs e) in U:\Product1\Application1\Presentation\SelectDataSource.cs:line 24&lt;br /&gt;at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br /&gt;at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;br /&gt;at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;br /&gt;at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)&lt;br /&gt;at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)&lt;br /&gt;at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)&lt;br /&gt;at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)&lt;br /&gt;at System.Windows.Forms.Application.Run(Form mainForm)&lt;br /&gt;at Product1.Application1.Presentation.Program.Main() in U:\Product1\Application1\Presentation\Program.cs:line 19&lt;br /&gt;at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)&lt;br /&gt;at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;br /&gt;at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br /&gt;at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;br /&gt;at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br /&gt;at System.Threading.ThreadHelper.ThreadStart()&lt;br /&gt;InnerException:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Just adding this here to remind me when I get this error again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1080048182177338837?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1080048182177338837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1080048182177338837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1080048182177338837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1080048182177338837'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/04/trying-to-create-proxy-to-unbound-type.html' title='Trying to create a proxy to an unbound type.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-4067556372585397367</id><published>2008-04-07T12:06:00.000-07:00</published><updated>2008-04-07T12:08:32.846-07:00</updated><title type='text'>Solution Explorer won't highlight active file.</title><content type='html'>Got this information from &lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2968083&amp;amp;SiteID=1"&gt;this &lt;/a&gt;forum entry.&lt;br /&gt;&lt;br /&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;I am currently working in a new install of vs2005 and i am used to the solutiion explorer automatically highlighting the active file, so if i am editing someclass.cs, it would highlight that file within the solution explorer, however it is currently not doing this.  is this a setting somewhere?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;CColeman88,&lt;br /&gt;-----------------------------------&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;CColeman88,&lt;br /&gt;&lt;br /&gt;There is a setting.  Go to Tools | Options | Projects and Solutions and check the box for 'Track Active Item in Solution Explorer'.  Another cool tip while you're there is to uncheck the 'Save new projects when created' box (more info).&lt;br /&gt;&lt;br /&gt;Hope this helps,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;.NETicated!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-4067556372585397367?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/4067556372585397367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=4067556372585397367' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4067556372585397367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/4067556372585397367'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/04/solution-explorer-wont-highlight-active.html' title='Solution Explorer won&apos;t highlight active file.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3224554083659636897</id><published>2008-03-28T08:35:00.000-07:00</published><updated>2008-03-28T08:36:54.173-07:00</updated><title type='text'>Luca Bolognese's for LINQ</title><content type='html'>Found this great blog from &lt;a href="http://blogs.msdn.com/lucabol/default.aspx"&gt;one &lt;/a&gt;of the programmers at Microsoft encharged of doing LINQ. Also he linked me to this great &lt;a href="http://www.microsoft.com/emea/msdn/spotlight/sessionh.aspx?videoid=716"&gt;introduction &lt;/a&gt;to LINQ. Get your Northwind database installed and follow along on this webcast.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3224554083659636897?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3224554083659636897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3224554083659636897' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3224554083659636897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3224554083659636897'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/03/luca-bologneses-for-linq.html' title='Luca Bolognese&apos;s for LINQ'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8075869185140287801</id><published>2008-03-28T08:31:00.000-07:00</published><updated>2008-03-28T08:34:44.285-07:00</updated><title type='text'>Where is the SQL 2000 Northwind after the Sample Installation?</title><content type='html'>First I went &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=06616212-0356-46a0-8da2-eebc53a68034&amp;amp;displaylang=en"&gt;here &lt;/a&gt;to get the SQL 2000 Northwind and Pubs sample. After installing the files to the  &lt;c:\program&gt; directory I looked into that directory and could not find the Northwind database that I saw required. After looking around I found that the installer actually put the database files under &lt;c:\sql&gt;. In that directory I was able to find the ldf and mdf files for the northwind and pubs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8075869185140287801?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8075869185140287801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8075869185140287801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8075869185140287801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8075869185140287801'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/03/where-is-sql-2000-northwind-after.html' title='Where is the SQL 2000 Northwind after the Sample Installation?'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-2702628478825691457</id><published>2008-03-14T13:28:00.001-07:00</published><updated>2008-03-14T13:28:54.874-07:00</updated><title type='text'>Project Templates on Visual Studio 2008</title><content type='html'>The templates on my system are located under.&lt;br /&gt;&lt;br /&gt;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-2702628478825691457?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/2702628478825691457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=2702628478825691457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2702628478825691457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/2702628478825691457'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/03/project-templates-on-visual-studio-2008.html' title='Project Templates on Visual Studio 2008'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5034658353127395064</id><published>2008-03-13T14:04:00.000-07:00</published><updated>2008-03-13T14:05:15.665-07:00</updated><title type='text'>Snippet for VIsual Studio 2008</title><content type='html'>This is the directory where the Visual Studio 2008 listing of Snippets for Visual C# comes from:&lt;br /&gt;C:\Program Files\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Visual C#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5034658353127395064?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5034658353127395064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5034658353127395064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5034658353127395064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5034658353127395064'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/03/snippet-for-visual-studio-2008.html' title='Snippet for VIsual Studio 2008'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-452170470251559908</id><published>2008-02-22T15:48:00.000-08:00</published><updated>2008-02-22T15:52:48.780-08:00</updated><title type='text'>Windows SteadyState</title><content type='html'>Today on my drive into the office I heard about &lt;a href="http://www.microsoft.com/windows/products/winfamily/sharedaccess/default.mspx"&gt;Windows SteadyState&lt;/a&gt; on &lt;a href="http://twit.tv/sn"&gt;SecurityNow&lt;/a&gt;. If you have not had to chance to listen to SecurityNow it is an excelent PodCast for anyone who wants to know a little bit more about network security, and also the latest on cool applications.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-452170470251559908?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/452170470251559908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=452170470251559908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/452170470251559908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/452170470251559908'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/02/windows-steadystate.html' title='Windows SteadyState'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5052462078272697470</id><published>2008-02-19T12:10:00.000-08:00</published><updated>2008-02-19T12:11:07.040-08:00</updated><title type='text'>DNS external</title><content type='html'>Default Server:  dns.atl.cbeyond.comAddress:  64.238.96.12&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5052462078272697470?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5052462078272697470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5052462078272697470' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5052462078272697470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5052462078272697470'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2008/02/dns-external.html' title='DNS external'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8370800419245880975</id><published>2007-12-14T07:41:00.000-08:00</published><updated>2007-12-14T07:48:14.203-08:00</updated><title type='text'>Modbus Basic</title><content type='html'>Start of Packet (2 byte)0104&lt;br /&gt;SizeOfPayload (1 byte)&lt;br /&gt;Payload (SizeOfPayload byte)&lt;br /&gt;Within payload:&lt;br /&gt;  Status(4 bytes) where 0000 is all is good.&lt;br /&gt;  Where:&lt;br /&gt;0 - DATA VALID&lt;br /&gt;1 - DEVICE NOT READ&lt;br /&gt;2 - DEVICE NOT PRESENT&lt;br /&gt;3 - READ IN PROGRESS&lt;br /&gt;4 - START BIT INVALID&lt;br /&gt;5 - STOP BIT INVALID&lt;br /&gt;6 - PARITY BIT INVALID&lt;br /&gt;7 - CARRIAGE RETURN NOT PRESENT&lt;br /&gt;&lt;br /&gt;Last 2 bytes is the CRC piece&lt;br /&gt;------ EXAMPLES ------&lt;br /&gt;01 01 01 00 5188 (answer Coils)&lt;br /&gt;01 04 02 A301 (answer 14 )&lt;br /&gt;01 04 22 00040000000000000000000000000000000000000000000000000000000000000000 4713 (answer 14 and 15 CT)&lt;br /&gt;01 04 22 0000563B52423030303135353B494233323138303939320D00000000000000000000 FD54 (answer 14 and 15 I2)&lt;br /&gt;01 04 20 0000563B52423030303135353B494233323138303939320D0000000000000000 74CE (answer only 15)&lt;br /&gt;01 04 000D 0011 A1C5 (send 14 and 15)&lt;br /&gt;01 04 000D 0001 A009 (send 14 only)&lt;br /&gt;01 04 000E 0010 9005 (send 15 only)&lt;br /&gt;01 04 02 00 00 B930 (answer 16)&lt;br /&gt;01 03 02 00 01 7984 (answer Address)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8370800419245880975?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8370800419245880975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8370800419245880975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8370800419245880975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8370800419245880975'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/12/modbus-basic.html' title='Modbus Basic'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8695898029759869034</id><published>2007-12-14T06:16:00.001-08:00</published><updated>2007-12-14T06:16:55.092-08:00</updated><title type='text'>Note</title><content type='html'>&lt;p&gt;SOT      EE&lt;br /&gt;MT       22&lt;br /&gt;MSN      03&lt;br /&gt;ML       46&lt;br /&gt;MDT      0EF4F588&lt;br /&gt;RSPL     FF&lt;br /&gt;RSFI     FD&lt;br /&gt;RSID     01000DFB&lt;br /&gt;RSRSSI   4B&lt;br /&gt;RDPL     FF&lt;br /&gt;RDFI     C3&lt;br /&gt;RDID     A6A127C3&lt;br /&gt;RDRSSI   FF&lt;br /&gt;RGI      11&lt;br /&gt;---- Payload Gateway ----&lt;br /&gt;RGPL     FF&lt;br /&gt;RGFI     BA&lt;br /&gt;RGID     010024B9&lt;br /&gt;RGRSSI1  44&lt;br /&gt;RGRSSI2  FF&lt;br /&gt;0104200004000000000000000000000000000000000000000000000000000000000000D2BB&lt;br /&gt;-------------------------&lt;br /&gt;CRC      D54D&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8695898029759869034?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8695898029759869034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8695898029759869034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8695898029759869034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8695898029759869034'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/12/note.html' title='Note'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-1610374997424096521</id><published>2007-11-30T14:37:00.000-08:00</published><updated>2007-11-30T16:15:46.066-08:00</updated><title type='text'>ANSI whole payload</title><content type='html'>This is just a quick payload decomposition of the ANSI meter response&lt;br /&gt;&lt;br /&gt;RequestInfo:0000&lt;br /&gt;RequestCode:00&lt;br /&gt;TableID:000A&lt;br /&gt;PSEMAck0:40&lt;br /&gt;LengthResp:0007&lt;br /&gt;PSEMOk:00&lt;br /&gt;LengthTableD:0409 &lt;- full write&lt;br /&gt;TableData:09000001F6 &lt;- information to write&lt;br /&gt;CheckSum:7C&lt;br /&gt;PSEMAck1:2A&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-1610374997424096521?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/1610374997424096521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=1610374997424096521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1610374997424096521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/1610374997424096521'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/11/ansi-whole-payload.html' title='ANSI whole payload'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6012692752230859107</id><published>2007-11-30T13:26:00.000-08:00</published><updated>2007-11-30T13:31:13.608-08:00</updated><title type='text'>ANSI protocol giving a smaller payload</title><content type='html'>Today while doing testing on table07 I found out that the payload form the ANSI was not at least 14 bytes, but it was 10 bytes only. This message:&lt;br /&gt;00033000070600010506&lt;br /&gt;which was not working for normal parsing of ANSI.&lt;br /&gt;This is how we decompose&lt;br /&gt;&lt;br /&gt;size 3,full read,table07,&lt;br /&gt;0003,30,0007,&lt;br /&gt;ack&lt;br /&gt;06&lt;br /&gt;size 1, error code&lt;br /&gt;0001,05&lt;br /&gt;ack&lt;br /&gt;06&lt;br /&gt;&lt;br /&gt;Code 05 means the following:&lt;br /&gt;Inappropriate Action Requested - This application level error indicates that the action requested was inappropriate. Covers conditions such as write request to read only table or an invalid table id.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-6012692752230859107?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6012692752230859107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6012692752230859107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6012692752230859107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6012692752230859107'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/11/ansi-protocol-giving-smaller-payload.html' title='ANSI protocol giving a smaller payload'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-489406841511801685</id><published>2007-08-21T05:58:00.001-07:00</published><updated>2007-08-21T05:58:17.643-07:00</updated><title type='text'>TV shows in one go</title><content type='html'>&lt;a href="http://www.ted.nu/"&gt;http://www.ted.nu/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-489406841511801685?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/489406841511801685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=489406841511801685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/489406841511801685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/489406841511801685'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/08/tv-shows-in-one-go.html' title='TV shows in one go'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5061796796747641513</id><published>2007-08-21T05:55:00.001-07:00</published><updated>2007-08-21T05:55:49.971-07:00</updated><title type='text'>Want to stop the naggy Windows XP?</title><content type='html'>This command:&lt;br /&gt;&lt;br /&gt;sc stop wuauserv&lt;br /&gt;&lt;br /&gt;Will stop XP and 2003 from asking over and over if you would like to restart the machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5061796796747641513?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5061796796747641513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5061796796747641513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5061796796747641513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5061796796747641513'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/08/want-to-stop-naggy-windows-xp.html' title='Want to stop the naggy Windows XP?'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3503245597739592680</id><published>2007-08-08T08:18:00.000-07:00</published><updated>2007-08-08T08:20:41.868-07:00</updated><title type='text'>CIT-200 troubleshoot.</title><content type='html'>QUOTE(Binooplal @ Thu Oct 5 2006, 09:31)&lt;br /&gt;&lt;a href="http://forum.skype.com/index.php?act=findpost&amp;pid=304413"&gt;&lt;/a&gt;&lt;br /&gt;Hi All,If your Linksys Skype phone CIT 200 is showing UNREGISTERED&lt;br /&gt;&lt;br /&gt;do these steps:&lt;br /&gt;1. Press and hold the button on the base station until the blue light starts blinking.&lt;br /&gt;2. In handset go to SYSTEM menu and select REGISTER.&lt;br /&gt;Default pin is 0000&lt;br /&gt;&lt;br /&gt;Have a good time.Binooplal&lt;br /&gt;P.IEmail: &lt;a href="mailto:Binooplal@hotmail.com"&gt;Binooplal@hotmail.com&lt;/a&gt;&lt;br /&gt;Country: India&lt;br /&gt;&lt;br /&gt;Well, it's not enough to say one should push and hold the base paging button. Because if you press it for 2-3 seconds, the blue Led will start blinking immediately, but at a slow pace. In fact the Base just tries (unsuccessfully) to page the handset.&lt;br /&gt;In fact, YOU MUST HOLD THE PAGING BUTTON FOR AT LEAST 10 SECONDS&lt;br /&gt;&lt;br /&gt;The blue led starts blinking then at a much faster pace, and that's the whole difference. The Base switches then in another Mode. I've spent my whole afternoon failing to register my handset because i didn't know this small detail.It's very important because the Linksys chat-support team didn't even know about the 10 seconds thing and will just ask you to press (and hold till it blinks) the paging button, not specifying it needs to be done for 10 seconds.I hope my feedback will help a lot of you out there. Rest of procedure advised by Binooplal is appropriate (including PIN 0000) and should be followed.By the way, if you experience the now famous EACCESSVIOLATION bug with your linksys CIT200, here's the solution :&lt;br /&gt;1) close the CIT200 application on your PC&lt;br /&gt;2) check in taskmanager (press ctrl+alt+del) if CIT200 process is still running. If yes, terminate the process.&lt;br /&gt;3) close Skype (it's very important, otherwise the bug will remain)&lt;br /&gt;4) Re-open manually the CIT200 application, it will automatically re-initialize both the USB CIT200 base and re-open skype software.The EAccessViolation occurs quite often to me (at least once a week so far, for the past 4 months). There's no specific reason why it happens i could identify.&lt;br /&gt;But it always starts with the following :&lt;br /&gt;&lt;br /&gt;- CIT200 Handset displays "OFFLINE"- While Skype software displays "ONLINE"This conflict of interest between the CIT200 application and the Skype application makes it impossible to place or receive any phone call. It's even more bothering than it may happen anytime for no reason. But at least you know now how to deal with it.In case my method doesn't work with your system, the ultimate solution is to reboot your computer, everything should be working back to normal, until next bug.I have to acknowledge that I'm very happy with this product - great sound and range - but Linksys should definately make it more obvious for cutomers to fix these bugs as i found a lot of users out there were experiencing these 2 same issues. While chating with the Linksys support, the ultimate answer i received from them was to RETURN the product (!) for exchange, as we spent more than 1 hour failing to register my handset (because of the 10 seconds thing they didn't know). It's no surprise some users are so desperate they consider switching to NEXTGEAR (competitor brand). It's for sure not a good marketing strategy from Linksys to setup such a great product with no matching help support on their own website. I asked them to do so and at least mention these 2 topics, i hope they will.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3503245597739592680?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3503245597739592680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3503245597739592680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3503245597739592680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3503245597739592680'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/08/cit-200-troubleshoot.html' title='CIT-200 troubleshoot.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5297895806300756825</id><published>2007-08-07T12:58:00.000-07:00</published><updated>2007-08-07T13:02:09.070-07:00</updated><title type='text'>One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project.</title><content type='html'>My project was working fine, then I did some modification and I start getting the following error on a derived FormControl class from a Base FormControl. This was doing inside the Visual Studio 2005 desing view of the derived FormControl&lt;br /&gt;&lt;br /&gt;"One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes."&lt;br /&gt;&lt;br /&gt;If I were to run the program the derived FormControl would display fine at run time, so what was the problem at design time?&lt;br /&gt;&lt;br /&gt;I had added a new parameter to be passed down to the Base FormControl to some different behavior, so now I did not have a empty constructor anymore, and basically this is what was causing this behavior, without a default "empty" constructor the design view could not run.&lt;br /&gt;&lt;br /&gt;I just added a new constructor that set the flag to a default state and everything came back to working.&lt;br /&gt;&lt;br /&gt;I think this is all for right now,&lt;br /&gt;Spike&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5297895806300756825?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5297895806300756825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5297895806300756825' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5297895806300756825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5297895806300756825'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/08/one-or-more-errors-encountered-while.html' title='One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7023481992104327694</id><published>2007-07-26T07:16:00.001-07:00</published><updated>2007-07-26T07:16:40.538-07:00</updated><title type='text'>Clipboard Tool</title><content type='html'>&lt;a href="http://ditto-cp.sourceforge.net/"&gt;http://ditto-cp.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Very nice application to manage your clipboard&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-7023481992104327694?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7023481992104327694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7023481992104327694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7023481992104327694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7023481992104327694'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/07/clipboard-tool.html' title='Clipboard Tool'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-6620439444342749584</id><published>2007-07-17T07:32:00.000-07:00</published><updated>2007-07-17T07:33:48.871-07:00</updated><title type='text'>Bitmap to icon application</title><content type='html'>I have found this really nice application called Perfect Icon:&lt;br /&gt;&lt;a href="http://perfecticon.com/bmp-to-icon-converter.htm"&gt;http://perfecticon.com/bmp-to-icon-converter.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Really nice bitmap to icon application that lets you select visuallise and everything else.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-6620439444342749584?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/6620439444342749584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=6620439444342749584' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6620439444342749584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/6620439444342749584'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/07/bitmap-to-icon-application.html' title='Bitmap to icon application'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8793546058551146436</id><published>2007-05-05T08:32:00.000-07:00</published><updated>2007-05-05T08:38:06.121-07:00</updated><title type='text'>SQL 2005 Diagrams not working on a restored backup from another machine</title><content type='html'>I have been getting this error for a long time:&lt;br /&gt;"Database diagram support objects cannot be installed because this database does not have a valid owner.  To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects."&lt;br /&gt;&lt;br /&gt; Whenever I tried to get to a SQL diagram after having restored a database on another machine. Here are the steps to fix this:&lt;br /&gt; 1 - Right-Click on the database in question.&lt;br /&gt; 2 - Choose Properties&lt;br /&gt; 3 - On the "Select Page" option choose "File"&lt;br /&gt; 4 - Under "File" click on the "..." on the right side of the "Owner" field.&lt;br /&gt; 5 - On the "Select Database Owner" type "[sa]" on the "Enter object names to select" text area.&lt;br /&gt; 6 - Click OK on "Select Database Owner" window&lt;br /&gt; 7 - Click OK on "Database Properties"&lt;br /&gt; 8 - Enjoy the power to create and view Diagrams again.&lt;br /&gt;&lt;br /&gt; Just a little tip to remind myself and others.&lt;br /&gt;&lt;br /&gt;See ya,&lt;br /&gt;Spike&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8793546058551146436?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8793546058551146436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8793546058551146436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8793546058551146436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8793546058551146436'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/05/sql-2005-diagrams-not-working-on.html' title='SQL 2005 Diagrams not working on a restored backup from another machine'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8419449538241202690</id><published>2007-04-19T16:37:00.000-07:00</published><updated>2007-04-19T16:44:33.664-07:00</updated><title type='text'>LLBLGen Pro</title><content type='html'>Quick reminder for the settings.&lt;br /&gt;&lt;br /&gt;To force a screen on StoreProcedures when doing a Database refresh from LLBLGen Pro just go to File-&gt;Settings then:&lt;br /&gt;ManualSelectSProcesFromSchema set to TRUE&lt;br /&gt;SqlServerAutoDetermineSProceType set to FALSE&lt;br /&gt;both under Schema Element Retrieval.&lt;br /&gt;&lt;br /&gt;This will force CodeGen to show an screen to select the number of Result-Sets&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8419449538241202690?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8419449538241202690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8419449538241202690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8419449538241202690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8419449538241202690'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2007/04/llblgen-pro.html' title='LLBLGen Pro'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-552310889785618367</id><published>2006-11-10T11:49:00.000-08:00</published><updated>2006-11-10T11:50:00.838-08:00</updated><title type='text'>Color: Theory</title><content type='html'>http://www.worqx.com/color/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-552310889785618367?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/552310889785618367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=552310889785618367' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/552310889785618367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/552310889785618367'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/11/color-theory.html' title='Color: Theory'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-7362968186288621058</id><published>2006-11-08T08:52:00.000-08:00</published><updated>2006-11-08T08:53:10.274-08:00</updated><title type='text'>From computer to on/off</title><content type='html'>http://www.electronickits.com/kit/complete/elec/ck1601.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-7362968186288621058?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/7362968186288621058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=7362968186288621058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7362968186288621058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/7362968186288621058'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/11/from-computer-to-onoff.html' title='From computer to on/off'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8424527432190747313</id><published>2006-11-02T09:37:00.000-08:00</published><updated>2006-11-02T09:38:07.022-08:00</updated><title type='text'>Nice little hack projects</title><content type='html'>http://www.shmoo.com/projects.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8424527432190747313?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8424527432190747313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8424527432190747313' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8424527432190747313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8424527432190747313'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/11/nice-little-hack-projects.html' title='Nice little hack projects'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-8517310667851928660</id><published>2006-11-01T17:00:00.000-08:00</published><updated>2006-11-01T17:01:13.698-08:00</updated><title type='text'>How to start|restart|reload|stop a service in Ubuntu</title><content type='html'>&lt;pre class="screen"&gt;This is just a one liner so I will remember:&lt;br /&gt;sudo /etc/init.d/vsftpd start&lt;br /&gt;I have added two scripts to slow down and speed up my ftp server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-8517310667851928660?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/8517310667851928660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=8517310667851928660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8517310667851928660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/8517310667851928660'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/11/how-to-startrestartreloadstop-service.html' title='How to start|restart|reload|stop a service in Ubuntu'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-447043218261347688</id><published>2006-10-30T08:19:00.000-08:00</published><updated>2006-10-30T08:22:59.570-08:00</updated><title type='text'>Understanding the masks for ANSI</title><content type='html'>There is a Mask on Table 0 (zero) which basically tells you what tables are supported on the device you are using. This Mask is &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;normally&lt;/span&gt; composed by a collection of hex numbers, these numbers should be converted to binary and starting for the little-ending you count up for each byte. Example:&lt;br /&gt;&lt;br /&gt;0x2F, 0&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;xDC&lt;/span&gt;, 0&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;xF&lt;/span&gt;1, 0&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;xC&lt;/span&gt;0, 0x03, 0x0F&lt;br /&gt;2F - 00101111&lt;br /&gt;DC - 11011100&lt;br /&gt;F1 - 11110001&lt;br /&gt;C0 - 11000000&lt;br /&gt;03 - 00000011&lt;br /&gt;0F - 00001111&lt;br /&gt;Now convert and count the tables:&lt;br /&gt;0 07&lt;br /&gt;0 06&lt;br /&gt;1 05&lt;br /&gt;0 04&lt;br /&gt;1 03&lt;br /&gt;1 02&lt;br /&gt;1 01&lt;br /&gt;1 00&lt;br /&gt;&lt;br /&gt;1 15&lt;br /&gt;1 14&lt;br /&gt;0 13&lt;br /&gt;1 12&lt;br /&gt;1 11&lt;br /&gt;1 10&lt;br /&gt;0 09&lt;br /&gt;0 08&lt;br /&gt;&lt;br /&gt;1 23&lt;br /&gt;1 22&lt;br /&gt;1 21&lt;br /&gt;1 20&lt;br /&gt;0 19&lt;br /&gt;0 18&lt;br /&gt;0 17&lt;br /&gt;1 16&lt;br /&gt;&lt;br /&gt;1 31&lt;br /&gt;1 30&lt;br /&gt;0 29&lt;br /&gt;0 28&lt;br /&gt;0 27&lt;br /&gt;0 26&lt;br /&gt;0 25&lt;br /&gt;0 24&lt;br /&gt;&lt;br /&gt;0 39&lt;br /&gt;0 38&lt;br /&gt;0 37&lt;br /&gt;0 36&lt;br /&gt;0 35&lt;br /&gt;0 34&lt;br /&gt;1 33&lt;br /&gt;1 32&lt;br /&gt;&lt;br /&gt;0 47&lt;br /&gt;0 46&lt;br /&gt;0 45&lt;br /&gt;0 44&lt;br /&gt;1 43&lt;br /&gt;1 42&lt;br /&gt;1 41&lt;br /&gt;1 40&lt;br /&gt;&lt;br /&gt;Whatever tables which has a '1' next to it is supported on the device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-447043218261347688?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/447043218261347688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=447043218261347688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/447043218261347688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/447043218261347688'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/10/understanding-masks-for-ansi.html' title='Understanding the masks for ANSI'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5856889019507633956</id><published>2006-10-19T09:59:00.000-07:00</published><updated>2006-10-30T08:26:37.511-08:00</updated><title type='text'>Xml within Xml element or attribute</title><content type='html'>When using a Xml code within the Xml element or attribute the following symbols need to be replaced&lt;br /&gt;&lt;br /&gt;'&lt;' replace with "&amp; l t;"&lt;br /&gt;'&gt;' replace with "&amp; g t;"&lt;br /&gt;' " ' replace with "&amp; q u o t"&lt;br /&gt;' &amp;amp; ' replace with "&amp; a m p"&lt;br /&gt;''' replace with " &amp;amp; a p o s "&lt;br /&gt;&lt;br /&gt;WARNING: remove the quotes around and the spacing between each of the letters in the command, I had to do this or else blogger would actualy just put the correct simbol in.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5856889019507633956?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5856889019507633956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5856889019507633956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5856889019507633956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5856889019507633956'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/10/xml-within-xml-element-or-attribute.html' title='Xml within Xml element or attribute'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-3268387126339287454</id><published>2006-10-18T10:28:00.000-07:00</published><updated>2006-10-18T10:30:35.120-07:00</updated><title type='text'>Cool Google Tools</title><content type='html'>FireFox extension to manage multiple accounts&lt;br /&gt;http://www.longfocus.com/firefox/gmanager/&lt;br /&gt;&lt;br /&gt;and &lt;br /&gt;&lt;br /&gt;The application that lets you use your google account as a virtual drive&lt;br /&gt;http://www.viksoe.dk/code/gmail.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-3268387126339287454?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/3268387126339287454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=3268387126339287454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3268387126339287454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/3268387126339287454'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/10/cool-google-tools.html' title='Cool Google Tools'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-5087063988242085754</id><published>2006-10-10T07:32:00.000-07:00</published><updated>2006-10-10T07:33:11.834-07:00</updated><title type='text'>When IPAddress.Parse (C# .Net 2.0) does not behave as expected.</title><content type='html'>Well if I send (string)”001.000.016.093” I was getting an exception, basically the IP address was not formatted correctly. I was not sure what that meant, since by all IP address standards that looks fine. It turns out that when you insert a “0” (zero) on front of a string representation of an IP address you are asking the system to convert the number to octal. This would explain the exception since 093 is not a valid octal number. If you were to type (string)(0377.0377.0377.0377) it would return you 255.255.255.255.&lt;br /&gt;&lt;br /&gt; This finding is very funny and by funny I mean horrible, I am sure octal transformation had a great use somewhere, but for my application I will have to remove all the leading zeros before making this an IP address.&lt;br /&gt;&lt;br /&gt; I think this is all for right now.&lt;br /&gt;&lt;br /&gt;See ya,&lt;br /&gt;Spike&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-5087063988242085754?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/5087063988242085754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=5087063988242085754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5087063988242085754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/5087063988242085754'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/10/when-ipaddressparse-c-net-20-does-not.html' title='When IPAddress.Parse (C# .Net 2.0) does not behave as expected.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115999100293640867</id><published>2006-10-04T12:43:00.000-07:00</published><updated>2006-10-04T12:43:23.186-07:00</updated><title type='text'>Not what I expected from Guid.ToByteArray() .Net</title><content type='html'>An Guid is a 16 byte number, therefore when I got a return from ToByteArray I was expecting just that a normal 16 byte number, the problem I did not expect is that they are not in the same order you find it in the String representation of the same guid.&lt;br /&gt;&lt;br /&gt; My input was &lt;br /&gt;&lt;br /&gt; 01020304-0506-0708-0900-000000000000&lt;br /&gt;&lt;br /&gt; And instead of getting a byte array like this&lt;br /&gt;&lt;br /&gt; 1,2,3,4,5,6,7,8,9,0,0,0,0,0,0,0&lt;br /&gt;&lt;br /&gt; I got&lt;br /&gt;&lt;br /&gt; 4,3,2,1,6,5,8,7,9,0,0,0,0,0,0,0&lt;br /&gt;&lt;br /&gt; What the hell is that? So I sat down and mapped the thing and assuming this positions on the guid:&lt;br /&gt;&lt;br /&gt;00000000-0011-1111-1111-222222222233&lt;br /&gt;01234567-8901-2345-6789-012345678901&lt;br /&gt;&lt;br /&gt;The map for the byte array is&lt;br /&gt;&lt;br /&gt;0000|1111|2222|3333|4444|5555|6666|7777|8888|9999|0000|1111|2222|3333|4444|5555&lt;br /&gt;0607|0405|0203|0001|1011|0809|1415|1213|1617|1819|2021|2223|2425|2627|2829|3031&lt;br /&gt;&lt;br /&gt;To understand this weird notation it is basically on Guid position 12 (read vertically) you can find position 12 on the byte array to be the start of the 7th byte.&lt;br /&gt;&lt;br /&gt;Well I hope this helps.&lt;br /&gt;&lt;br /&gt;See ya,&lt;br /&gt;Spike&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115999100293640867?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115999100293640867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115999100293640867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115999100293640867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115999100293640867'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/10/not-what-i-expected-from.html' title='Not what I expected from Guid.ToByteArray() .Net'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115954467826900275</id><published>2006-09-29T08:44:00.000-07:00</published><updated>2006-09-29T08:44:39.206-07:00</updated><title type='text'>Struct vs. Classes when using as members of a List</title><content type='html'>I was trying to create a list of Struct items, and everything was going great, but when I tried to modify the items in my structure using a foreach loop it would not allow me. As it turns out the items in the List were protected. I could read them, but not modify them. I am not sure why that is. Perhaps it is the fact that Structures are in the Stack and are value types. I am not sure. &lt;br /&gt;&lt;br /&gt; Here is the example of the code I was having problem. The VS2005 compiler was pointing to the “myStruct.A = 0;” under the “ZeroItOut” method and telling me “&lt;br /&gt;Cannot modify members of 'myStruct' because it is a 'foreach iteration variable.”&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;namespace EventSandBox&lt;br /&gt;{&lt;br /&gt;    struct MyStructure&lt;br /&gt;    {&lt;br /&gt;        public int A;&lt;br /&gt;        &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    class StructureForEachLoops&lt;br /&gt;    {&lt;br /&gt;        List&lt;MyStructure&gt; MyStructureList;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        public StructureForEachLoops()&lt;br /&gt;        {&lt;br /&gt;            MyStructureList = new List&lt;MyStructure&gt;();&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void FillItUp()&lt;br /&gt;        {&lt;br /&gt;            for( int i = 0; i &lt; 10; i++ )&lt;br /&gt;            {&lt;br /&gt;                /// create the item to be inserted into the list&lt;br /&gt;                MyStructure item;&lt;br /&gt;                item.A = i;&lt;br /&gt;&lt;br /&gt;                /// insert the item into the list&lt;br /&gt;                MyStructureList.Add(item);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void ZeroItOut()&lt;br /&gt;        {&lt;br /&gt;            /// lets change the items &lt;br /&gt;            foreach (MyStructure myStruct in MyStructureList)&lt;br /&gt;            {&lt;br /&gt;                myStruct.A = 0;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Then I just change the word “struct” to “class” and things just worked. I also had to add the constructor before I could assign a value to item MyStructure type. This might again be because classes are loaded into the heap and can be modified. I am not sure.&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;namespace EventSandBox&lt;br /&gt;{&lt;br /&gt;    class MyStructure&lt;br /&gt;    {&lt;br /&gt;        public int A;&lt;br /&gt;        &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    class StructureForEachLoops&lt;br /&gt;    {&lt;br /&gt;        List&lt;MyStructure&gt; MyStructureList;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        public StructureForEachLoops()&lt;br /&gt;        {&lt;br /&gt;            MyStructureList = new List&lt;MyStructure&gt;();&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void FillItUp()&lt;br /&gt;        {&lt;br /&gt;            for( int i = 0; i &lt; 10; i++ )&lt;br /&gt;            {&lt;br /&gt;                /// create the item to be inserted into the list&lt;br /&gt;                MyStructure item = new MyStructure();&lt;br /&gt;                item.A = i;&lt;br /&gt;&lt;br /&gt;                /// insert the item into the list&lt;br /&gt;                MyStructureList.Add(item);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void ZeroItOut()&lt;br /&gt;        {&lt;br /&gt;            /// lets change the items &lt;br /&gt;            foreach (MyStructure myStruct in MyStructureList)&lt;br /&gt;            {&lt;br /&gt;                myStruct.A = 0;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115954467826900275?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115954467826900275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115954467826900275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115954467826900275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115954467826900275'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/09/struct-vs-classes-when-using-as.html' title='Struct vs. Classes when using as members of a List'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115953772602049895</id><published>2006-09-29T06:48:00.000-07:00</published><updated>2006-09-29T06:48:50.936-07:00</updated><title type='text'>Finding MAX for enumeration</title><content type='html'>I wondered. How can I figure out how many items there are on a enumeration on .Net? Sometimes I had to go through enumerations to figure out the correct, item, but I could never find a way to do it, well no anymore.&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;namespace EventSandBox&lt;br /&gt;{&lt;br /&gt;    /// &lt;summary&gt;&lt;br /&gt;    /// This is a simple enumeration&lt;br /&gt;    /// &lt;/summary&gt;&lt;br /&gt;    enum MyEnumeration&lt;br /&gt;    {&lt;br /&gt;        one,&lt;br /&gt;        two,&lt;br /&gt;        three&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    class Tools&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            /// this item will return us the total number of enumerations&lt;br /&gt;            int numberOfEnumerations = 0;&lt;br /&gt;            /// we need this to be or rolling enumeration&lt;br /&gt;            MyEnumeration myEnumerationInstance = (MyEnumeration)numberOfEnumerations;&lt;br /&gt;&lt;br /&gt;            while (true)&lt;br /&gt;            {&lt;br /&gt;                /// if these two are the same it means the enumeration hit an end&lt;br /&gt;                /// because it did not return a text but instead the integer representation&lt;br /&gt;                /// and those two will be the same. &lt;br /&gt;                /// WARNING: This system will not work if you have a gab in your enumeration&lt;br /&gt;                if (myEnumerationInstance.ToString() == numberOfEnumerations.ToString())&lt;br /&gt;                {&lt;br /&gt;                    break;&lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;                /// go to the next enumeration number&lt;br /&gt;                numberOfEnumerations++;&lt;br /&gt;                myEnumerationInstance = (MyEnumeration)numberOfEnumerations;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            Console.WriteLine("There are " + numberOfEnumerations.ToString() + " items on MyEnumeration");&lt;br /&gt;&lt;br /&gt;            Console.Read();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I hope this helps out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115953772602049895?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115953772602049895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115953772602049895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115953772602049895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115953772602049895'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/09/finding-max-for-enumeration.html' title='Finding MAX for enumeration'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115936474194895746</id><published>2006-09-27T06:45:00.000-07:00</published><updated>2006-09-27T06:45:43.933-07:00</updated><title type='text'>XML Tools to DTD</title><content type='html'>I have been playing with XML latelly and have found thatthe way to go is using DTD to make sure the XML is formated correctly, so my code will not have to worry about it. &lt;a href="http://www.hitsw.com/xml_utilites/"&gt;Here&lt;/a&gt; is a very nice tool to get a XML file and make a DTD or XML Schema.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115936474194895746?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115936474194895746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115936474194895746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115936474194895746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115936474194895746'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/09/xml-tools-to-dtd.html' title='XML Tools to DTD'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115886319608026555</id><published>2006-09-21T11:26:00.001-07:00</published><updated>2006-09-21T11:26:36.103-07:00</updated><title type='text'>SQL Server Magazine - error 233</title><content type='html'>Found &lt;a href="http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=85&amp;amp;threadid=48793&amp;amp;enterthread=y"&gt;this&lt;/a href&gt; entry for the error on Connecting 233. Basicaly I went to the "SQL Server 2005 Surface Area Configuration" under the configuration tools option. ANd had to enabled the remote connection and set to TCP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115886319608026555?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115886319608026555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115886319608026555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115886319608026555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115886319608026555'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/09/sql-server-magazine-error-233_21.html' title='SQL Server Magazine - error 233'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115886317756243218</id><published>2006-09-21T11:26:00.000-07:00</published><updated>2006-09-21T11:26:17.656-07:00</updated><title type='text'>SQL Server Magazine - error 233</title><content type='html'>Found &lt;a href="http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=85&amp;amp;threadid=48793&amp;amp;enterthread=y"&gt;this&lt;/href&gt; entry for the error on Connecting 233. Basicaly I went to the "SQL Server 2005 Surface Area Configuration" under the configuration tools option. ANd had to enabled the remote connection and set to TCP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115886317756243218?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115886317756243218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115886317756243218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115886317756243218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115886317756243218'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/09/sql-server-magazine-error-233.html' title='SQL Server Magazine - error 233'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115556408458313341</id><published>2006-08-14T07:01:00.000-07:00</published><updated>2006-08-14T07:01:24.636-07:00</updated><title type='text'>Partitioning in SQL Server 2005 Beta II</title><content type='html'>&lt;a href="http://www.sqlskills.com/resources/Whitepapers/Partitioning%20in%20SQL%20Server%202005%20Beta%20II.htm"&gt;White Paper&lt;/a&gt; for SQL Server 2005 partioning&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115556408458313341?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115556408458313341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115556408458313341' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115556408458313341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115556408458313341'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/08/partitioning-in-sql-server-2005-beta.html' title='Partitioning in SQL Server 2005 Beta II'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115505547380479875</id><published>2006-08-08T09:44:00.000-07:00</published><updated>2006-08-08T09:44:36.496-07:00</updated><title type='text'>cre.ations.net - Creation: The Time Fountain</title><content type='html'>&lt;a href="http://cre.ations.net/creation/44"&gt;cre.ations.net - Creation: The Time Fountain&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115505547380479875?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115505547380479875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115505547380479875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115505547380479875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115505547380479875'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/08/creationsnet-creation-time-fountain.html' title='cre.ations.net - Creation: The Time Fountain'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115464219812917523</id><published>2006-08-03T14:56:00.000-07:00</published><updated>2006-08-03T14:56:38.723-07:00</updated><title type='text'>No responding FCP on Network</title><content type='html'>This is just a note for myself, whenever I send a packet to FCP and there is not response at all from it, be even CM or Ethereal (Ethereal sees the send) check the NodeID of the FCP, chances are you are sending it wrong.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115464219812917523?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115464219812917523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115464219812917523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115464219812917523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115464219812917523'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/08/no-responding-fcp-on-network.html' title='No responding FCP on Network'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115339771378778379</id><published>2006-07-20T05:15:00.000-07:00</published><updated>2006-07-20T05:15:13.796-07:00</updated><title type='text'>You Tube clips</title><content type='html'>&lt;a href="http://news.com.com/2300-1026_3-6095928-5.html?tag=ne.gall.pg"&gt;Ten tech-related YouTube clips you shouldn't miss | CNET News.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115339771378778379?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115339771378778379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115339771378778379' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115339771378778379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115339771378778379'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/07/you-tube-clips.html' title='You Tube clips'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115331741888371639</id><published>2006-07-19T06:56:00.000-07:00</published><updated>2006-07-19T06:56:58.956-07:00</updated><title type='text'>Assembly reference missing? No, I have that reference.</title><content type='html'>I was getting the stupid error on Visual Studio 2005:&lt;br /&gt;Error 4 - The type or namespace name &lt;namespace&gt; does not exist in the namespace &lt;root_namespace&gt; (are you missing an assembly reference?)&lt;br /&gt;Well I was not missing an assembly reference, actually using intellisense it would show me the assembly name, so I was trying to figure out what was going on. I finally hit me. I had used Ultra Edit to replace some assembly names in some of my files, so the only thing I had to do was Right-Click on the solution name inside the “Solution Explorer” and ask to “Clean Solution” and “Rebuild Solution.” Done No more errors. I think Ultra Edit modified things that VS2005 was not aware, so with the Clean and Rebuild it forced VS2005 to read all the files again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115331741888371639?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115331741888371639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115331741888371639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115331741888371639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115331741888371639'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/07/assembly-reference-missing-no-i-have.html' title='Assembly reference missing? No, I have that reference.'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115318721634541830</id><published>2006-07-17T18:46:00.000-07:00</published><updated>2006-07-17T18:46:56.473-07:00</updated><title type='text'>Authoring a Logical Entity - Valve Developer Community</title><content type='html'>Stopped &lt;a href="http://developer.valvesoftware.com/wiki/Authoring_a_Logical_Entity"&gt;Here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115318721634541830?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115318721634541830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115318721634541830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115318721634541830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115318721634541830'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/07/authoring-logical-entity-valve.html' title='Authoring a Logical Entity - Valve Developer Community'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115263276015061462</id><published>2006-07-11T08:46:00.000-07:00</published><updated>2006-07-11T08:46:00.220-07:00</updated><title type='text'>Lemmings? On the web</title><content type='html'>Sure &lt;a href="http://www.elizium.nu/scripts/lemmings/index.html"&gt;Lemmings&lt;/a&gt; is a pretty old game, but been able to play it online? What is next?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115263276015061462?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115263276015061462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115263276015061462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115263276015061462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115263276015061462'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/07/lemmings-on-web.html' title='Lemmings? On the web'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115255209171191875</id><published>2006-07-10T10:21:00.000-07:00</published><updated>2006-07-10T10:21:32.846-07:00</updated><title type='text'>Hail Code Snippets</title><content type='html'>I have used Code Snippets in the past inside C#, but I always wanted to make some custom ones. Now that I am in a part of a project that they would be useful I found this &lt;a href="http://msdn.microsoft.com/vbasic/downloads/tools/snippeteditor/"&gt;tool&lt;/a&gt; that pretty much helps me create whole new code snippets. I specially like the function to export them into .vsi files to be installed on other machines. Very cool&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115255209171191875?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115255209171191875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115255209171191875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115255209171191875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115255209171191875'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/07/hail-code-snippets.html' title='Hail Code Snippets'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115149787613146467</id><published>2006-06-28T05:31:00.000-07:00</published><updated>2006-06-28T05:31:16.193-07:00</updated><title type='text'>Power Supplies 101: A comprehensive guide Motherboards.org</title><content type='html'>Ever wondered about the &lt;a href="http://www.motherboards.org/articles/guides/1487_1.html"&gt;Power Supply&lt;/a&gt;? I normally do not even care, but this is a pretty good article.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115149787613146467?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115149787613146467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115149787613146467' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115149787613146467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115149787613146467'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/06/power-supplies-101-comprehensive-guide.html' title='Power Supplies 101: A comprehensive guide Motherboards.org'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6717556.post-115089801854438307</id><published>2006-06-21T06:53:00.000-07:00</published><updated>2006-06-21T06:53:38.576-07:00</updated><title type='text'>String Formatting in C#</title><content type='html'>&lt;a href="http://blog.stevex.net/index.php/string-formatting-in-csharp/"&gt;This&lt;/a&gt; is a very nice link talking about formating strings on C# to what you need them to be.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6717556-115089801854438307?l=cbbwork.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cbbwork.blogspot.com/feeds/115089801854438307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6717556&amp;postID=115089801854438307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115089801854438307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6717556/posts/default/115089801854438307'/><link rel='alternate' type='text/html' href='http://cbbwork.blogspot.com/2006/06/string-formatting-in-c.html' title='String Formatting in C#'/><author><name>Spike</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
