<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>The Corson Clan</title>
  <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/" />
  <link rel="self" href="http://www.corsons.net/blog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2009-08-31T10:23:05.1875-06:00</updated>
  <author>
    <name>Nathan Corson</name>
  </author>
  <subtitle>Blog for Nathan Corson</subtitle>
  <id>http://www.corsons.net/blog/</id>
  <generator uri="http://dasblog.info/" version="2.1.8102.813">DasBlog</generator>
  <entry>
    <title>DocuWare 5.1b SP2 Update Errors and Fixes</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2009/07/30/DocuWare51bSP2UpdateErrorsAndFixes.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,ce98cdac-09f6-4178-9fe5-59cd86056eec.aspx</id>
    <published>2009-07-30T14:46:01.765-06:00</published>
    <updated>2009-08-31T10:22:52.703125-06:00</updated>
    <category term="DocuWare" label="DocuWare" scheme="http://www.corsons.net/blog/CategoryView,category,DocuWare.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Possible Errors when updating and Fixes
</p>
        <ol>
          <li>
With Stapleware Notification Manager you may get an error "Invalid Assembly Version
5.1.2.1370. Authentication Server version 5.1.2.1568" - FIX Reinstall the module using
the repair option. 
</li>
          <li>
DocuWare Client failed to create a COM instance. - FIX re-run the DocuWare Client
update. 
</li>
        </ol>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=ce98cdac-09f6-4178-9fe5-59cd86056eec" />
      </div>
    </content>
  </entry>
  <entry>
    <title>DocuWare 5.1b Import Email from Exchange 2007</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2009/07/28/DocuWare51bImportEmailFromExchange2007.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,90e36994-552f-4349-a749-8f6b88282466.aspx</id>
    <published>2009-07-28T08:04:12.718-06:00</published>
    <updated>2009-08-31T10:23:05.1875-06:00</updated>
    <category term="DocuWare" label="DocuWare" scheme="http://www.corsons.net/blog/CategoryView,category,DocuWare.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
In order to import email in a message format you will need to create a transport rule
for inbound and outbound email. If you create a journal rule, as in the case for Exchange
2003, the emails will be imported in an archive format with the original email as
an attachment and the email address coming from a generic email.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=90e36994-552f-4349-a749-8f6b88282466" />
      </div>
    </content>
  </entry>
  <entry>
    <title>COM Instance error in DocuWare Client</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2009/05/11/COMInstanceErrorInDocuWareClient.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,8a66bd31-a3dc-47c5-a293-adfc76cf05aa.aspx</id>
    <published>2009-05-11T16:24:45-06:00</published>
    <updated>2009-08-31T10:22:36.59375-06:00</updated>
    <category term="DocuWare" label="DocuWare" scheme="http://www.corsons.net/blog/CategoryView,category,DocuWare.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Run the dwreg2.exe to fix the issue.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=8a66bd31-a3dc-47c5-a293-adfc76cf05aa" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Set scroll bars for DocuWare Web Client instead of using pages</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/11/04/SetScrollBarsForDocuWareWebClientInsteadOfUsingPages.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,0cd74e1e-5975-447b-b659-960a67d8b038.aspx</id>
    <published>2008-11-04T13:45:39.718-07:00</published>
    <updated>2008-11-04T13:57:02-07:00</updated>
    <category term="DocuWare" label="DocuWare" scheme="http://www.corsons.net/blog/CategoryView,category,DocuWare.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
To set scroll bars for DocuWare Web Client instead of using pages, set the following
in the designer:
</p>
        <p>
Cell - No wrap
</p>
        <p>
Pager - Page size 250, ax page size 250, link 10, align center
</p>
        <p>
Table - Fixed 175pt and set sorting to whatever you want.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=0cd74e1e-5975-447b-b659-960a67d8b038" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Form Design in Word</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/10/23/FormDesignInWord.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,cd5f7fd0-3d79-449b-a726-4428b1e41326.aspx</id>
    <published>2008-10-23T13:05:32.093-06:00</published>
    <updated>2008-11-03T13:15:40.359375-07:00</updated>
    <category term="ABBYY" label="ABBYY" scheme="http://www.corsons.net/blog/CategoryView,category,ABBYY.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Use despeckle blocks to indicate where people should write each character. "A Guide
to Creating Machine-Readable Forms" recommends raster dots .39 pixels, and five times
that space between each dot.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=cd5f7fd0-3d79-449b-a726-4428b1e41326" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Querying Databases inside FlexiCapture 8 rules</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/10/22/QueryingDatabasesInsideFlexiCapture8Rules.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,175b7abb-c1b4-4ea2-b2f9-2d2f669c3223.aspx</id>
    <published>2008-10-22T13:04:13.765-06:00</published>
    <updated>2008-11-03T13:15:55.25-07:00</updated>
    <category term="ABBYY" label="ABBYY" scheme="http://www.corsons.net/blog/CategoryView,category,ABBYY.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <div class="content">
          <p>
Many useful libraries are included in the standard VBScript and JScript languages.
There are libraries for regular expressions, string manipulation, math, and much more.
</p>
          <p>
There are also libraries for connecting to databases. And while there is a FC8 Database
Check rule, often you will want to customize its behavior. You can do that by connecting
to the database with vbscript and adjusting the logic as you need. Here is an example
of connecting to a Microsoft Access Database and populating the result to a suggestion
box.
</p>
          <p>
FC8:<br />
Dim conn<br />
Dim rs<br />
Dim strSQLQuery<br />
Dim arrayRows
</p>
        </div>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=175b7abb-c1b4-4ea2-b2f9-2d2f669c3223" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Table Check Sum</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/09/02/TableCheckSum.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,f66d2a4d-69ad-4f47-a43a-64ee13e59c38.aspx</id>
    <published>2008-09-02T09:45:37.189-06:00</published>
    <updated>2008-09-02T09:46:22.03275-06:00</updated>
    <category term="ABBYY" label="ABBYY" scheme="http://www.corsons.net/blog/CategoryView,category,ABBYY.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
var ItemsCount = Field(“Total”).Items.Count;<br />
var Sum = 0;<br />
Field(“TotalAmount”).Value = Field(“TotalAmount”).Value.replace(” “,”“);<br />
for( i = 0; i     Field(“Total”).Items.Item(i).Value = Field(“Total”).Items.Item(i).Value.replace(”
“,”“);<br />
    Sum = Sum + parseFloat(Field(“Total”).Items.Item(i).Value);<br />
}<br />
if (Sum != parseFloat(Field(“TotalAmount”).Value)) {<br />
    CheckSucceeded = false;<br />
    ErrorMessage = “Sum of values in Total column doesn’t match TotalAmount
value”;   
<br />
    Field(“TotalAmount”).Suggest( Sum );<br />
}<br />
else {<br />
    CheckSucceeded = true;<br />
}
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=f66d2a4d-69ad-4f47-a43a-64ee13e59c38" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Prioritized Static Text Search</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/06/24/PrioritizedStaticTextSearch.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,bcb73117-c3ea-44d9-9ff3-cdb7992d501f.aspx</id>
    <published>2008-06-23T20:21:52.45225-06:00</published>
    <updated>2008-06-23T20:22:56.51475-06:00</updated>
    <category term="ABBYY" label="ABBYY" scheme="http://www.corsons.net/blog/CategoryView,category,ABBYY.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Rect r;<br />
If Not kwInvoiceNumber1.IsNull Then {<br />
r = kwInvoiceNumber1.Rect;<br />
r.Inflate(10*dt,10*dt);<br />
restrictsearcharea(r);<br />
}<br />
Else If Not kwInvoiceNumber2.IsNull Then {<br />
r = kwInvoiceNumber2.Rect;<br />
r.Inflate(10*dt,10*dt);<br />
restrictsearcharea(r);<br />
}<br />
Else DontFind;
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=bcb73117-c3ea-44d9-9ff3-cdb7992d501f" />
      </div>
    </content>
  </entry>
  <entry>
    <title>String Manipulation</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/06/13/StringManipulation.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,dfb1e447-a1d5-4f65-95ff-eb99c23c4117.aspx</id>
    <published>2008-06-13T17:27:46.192-06:00</published>
    <updated>2008-06-19T17:59:15.599-06:00</updated>
    <category term="ABBYY" label="ABBYY" scheme="http://www.corsons.net/blog/CategoryView,category,ABBYY.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">
            <strong>Zero Padding
a Field to 10 characters- VB Script </strong>
          </span>
        </p>
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">dim cnt<br />
dim iter<br />
dim tempString<br />
cnt = Len(me.Field("StoreNumber").Value)<br />
tempString = me.Field("StoreNumber").Value<br />
For iter = 0 to 10-cnt<br />
tempString = "0" + tempString<br />
Next </span>
        </p>
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">
            <strong>Adding Dashes
to a Social Security Number - VB Script </strong>
          </span>
        </p>
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">Dim TempSSN<br />
TempSSN = Mid( Me.Field("SSN").Value, 1, 3 )<br />
TempSSN = TempSSN &amp; "-"<br />
TempSSN = TempSSN &amp; Mid( Me.Field("SSN").Value, 4, 2 )<br />
TempSSN = TempSSN &amp; "-"<br />
TempSSN = TempSSN &amp; Mid( Me.Field("SSN").Value, 6, 4 )<br />
Me.Field("SSN").Value = TempSSN </span>
        </p>
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">
            <strong>Concatenating
Values from a column of a table into a single field - JScript</strong>
          </span>
        </p>
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">var ItemsCount =
Field("TotalColumn").Items.Count;<br />
var Sum = 0;<br />
var tempField = "";<br />
for( i = 0; i &lt; ItemsCount; i++ ){<br />
tempField = tempField + "," + Field("TotalColumn").Items.Item(i).Value;<br />
}<br />
Field("CombineField").Value = tempField;</span>
        </p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=dfb1e447-a1d5-4f65-95ff-eb99c23c4117" />
      </div>
    </content>
  </entry>
  <entry>
    <title>A Regular Expression for Address Location</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/06/12/ARegularExpressionForAddressLocation.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,278fc9b3-9eab-4cbf-8833-7d79c410cd9d.aspx</id>
    <published>2008-06-12T17:32:36.599-06:00</published>
    <updated>2008-06-19T17:58:52.63025-06:00</updated>
    <category term="ABBYY" label="ABBYY" scheme="http://www.corsons.net/blog/CategoryView,category,ABBYY.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Finding addresses is hard if the address is unlabeled. 
</p>
        <p>
Use this regular expression in a character string to help find addresses. Add post-search
code that favors addresses near the top of the page ( FuzzyQuality: Top, {0,0,200,25000
}*dt; ), and/or near some address label ( FuzzyQuality: AddressLabel.Left - Left,
{0,0,200,15000 }*dt; ), and you'll be acquiring addresses like you're Donald Trump. 
</p>
        <p>
[0-9]{1-6}*{1-30}(<br />
([Dd]*{0-10}[Ee])|([Dd][Rr])<br />
|([Ss]*{0-7}[Tt])<br />
|([Aa]*{0-7}[Ee])|([Aa][Vv])<br />
|([Cc]*{0-7}[Tt])<br />
|([Bb]*{0-10}[Dd])<br />
|([Ll]*{0-3}[Ee]))*{0-30}
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=278fc9b3-9eab-4cbf-8833-7d79c410cd9d" />
      </div>
    </content>
  </entry>
  <entry>
    <title>DocuWare Export Settings to Email Document</title>
    <link rel="alternate" type="text/html" href="http://www.corsons.net/blog/2008/06/12/DocuWareExportSettingsToEmailDocument.aspx" />
    <id>http://www.corsons.net/blog/PermaLink,guid,d324479f-6981-45c3-9ec1-21b3fa5ff75d.aspx</id>
    <published>2008-06-12T07:31:31.579-06:00</published>
    <updated>2008-06-12T07:37:37.000875-06:00</updated>
    <category term="DocuWare" label="DocuWare" scheme="http://www.corsons.net/blog/CategoryView,category,DocuWare.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The settings that need to be set to allow DocuWare to email a document as its original
file name without adding any DocuWare files is as follow:
</p>
        <p>
Once DocuWare is opened go to Options &gt; Export Settings and set the following
</p>
        <p>
          <img src="http://www.corsons.net/blog/content/binary/DocuWare Export Settings.bmp" border="0" />
        </p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=d324479f-6981-45c3-9ec1-21b3fa5ff75d" />
      </div>
    </content>
  </entry>
</feed>