<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tim laqua dot com &#187; How-to Guides</title>
	<atom:link href="http://timlaqua.com/category/how-to-guides/feed/" rel="self" type="application/rss+xml" />
	<link>http://timlaqua.com</link>
	<description>Thoughts and Code from Tim Laqua</description>
	<lastBuildDate>Sun, 09 May 2010 15:25:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>BlackBerry Storm (9530) Error: SIM Card Rejected</title>
		<link>http://timlaqua.com/2008/11/blackberry-storm-9530-error-sim-card-rejected/</link>
		<comments>http://timlaqua.com/2008/11/blackberry-storm-9530-error-sim-card-rejected/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 16:12:45 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[How-to Guides]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[blackberry 9530]]></category>
		<category><![CDATA[blackberry storm]]></category>
		<category><![CDATA[cdma]]></category>
		<category><![CDATA[gsm]]></category>
		<category><![CDATA[network technology]]></category>
		<category><![CDATA[sim card]]></category>

		<guid isPermaLink="false">http://timlaqua.com/?p=54</guid>
		<description><![CDATA[This error pops up when you lose CDMA (1XEV) connectivity in the US and the phone attempts to connect to a GSM network (you can duplicate if you force your Storm to GSM network technology) and you have a Global SIM card installed (and most of us do). The kicker is that the message "SIM [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right"><a href='http://timlaqua.com/wp-content/uploads/2008/11/sim-card-rejected-message.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/11/sim-card-rejected-message.jpg" alt="" title="sim-card-rejected-message" width="360" height="480" class="alignright size-full wp-image-55" /></a></div>
<p>This error pops up when you lose CDMA (1XEV) connectivity in the US and the phone attempts to connect to a GSM network (you can duplicate if you force your Storm to GSM network technology) and you have a Global SIM card installed (and most of us do).  The kicker is that the message "SIM Card Rejected" doesn't go away until your hard reboot - even after you've reconnected to the CDMA network.</p>
<p>So, if you're not using your Global SIM (if you are, call VZW and ask for Global Support - they can activate your SIM), you can just force CDMA only on the phone, do a battery pull, and you'll never see this again.  I assume some future firmware update will handle this error better by making it go away once you're back on CDMA, but for now - this is what I had to do:</p>
<div style="clear: both"></div>
<p><span id="more-54"></span></p>
<ol>
<li>Select Options from the menu:<br />
<a href='http://timlaqua.com/wp-content/uploads/2008/11/options-selection.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/11/options-selection.jpg" alt="" title="options-selection" width="360" height="480" class="alignnone size-full wp-image-59" /></a>
</li>
<li>Select Mobile Network Options:<br />
<a href='http://timlaqua.com/wp-content/uploads/2008/11/options-screen.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/11/options-screen.jpg" alt="" title="options-screen" width="360" height="480" class="alignnone size-full wp-image-58" /></a>
</li>
<li>Change the Network Technology from Global to 1XEV:<br />
<a href='http://timlaqua.com/wp-content/uploads/2008/11/mobile-network-options.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/11/mobile-network-options.jpg" alt="" title="mobile-network-options" width="360" height="480" class="alignnone size-full wp-image-56" /></a><a href='http://timlaqua.com/wp-content/uploads/2008/11/network-technology-selection.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/11/network-technology-selection.jpg" alt="" title="network-technology-selection" width="360" height="480" class="alignnone size-full wp-image-57" /></a></p>
</li>
<li>Pull the battery out, put it back in, and once it reboots - the error will be gone and won't reappear.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://timlaqua.com/2008/11/blackberry-storm-9530-error-sim-card-rejected/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Installing ASTrace.exe in a 64-bit environment</title>
		<link>http://timlaqua.com/2008/11/installing-astraceexe-in-a-64-bit-environment/</link>
		<comments>http://timlaqua.com/2008/11/installing-astraceexe-in-a-64-bit-environment/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 03:12:55 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[How-to Guides]]></category>
		<category><![CDATA[Scripts & Code]]></category>

		<guid isPermaLink="false">http://timlaqua.com/?p=51</guid>
		<description><![CDATA[ASTrace.exe is part of the SQL Server Analysis Services Community Samples on CodePlex. This utility works just fine in a 32-bit environment, however some of the assemblies needed to interact with Analysis Services do not have 64-bit counterparts - thus, you have to use WOW64 to get the service to work properly on a x64 [...]]]></description>
			<content:encoded><![CDATA[<p>ASTrace.exe is part of the SQL Server Analysis Services Community Samples on CodePlex.  This utility works just fine in a 32-bit environment, however some of the assemblies needed to interact with Analysis Services do not have 64-bit counterparts - thus, you have to use WOW64 to get the service to work properly on a x64 machine.</p>
<p><strong>ASTrace</strong> can be downloaded here:<br /><a href="http://www.codeplex.com/SQLSrvAnalysisSrvcs/Release/ProjectReleases.aspx?ReleaseId=13572">http://www.codeplex.com/SQLSrvAnalysisSrvcs/Release/ProjectReleases.aspx?ReleaseId=13572</a></p>
<p>32-bit Installation Instructions can be found here:<br /><a href="http://msdn.microsoft.com/en-us/library/bb283156(SQL.90).aspx"></p>
<p>http://msdn.microsoft.com/en-us/library/bb283156(SQL.90).aspx</a></p>
<p>And to get it to work on x64, you need to do two things differently:</p>
<ul>
<li>Target x86 processors when you build the application - this way, your 64-bit OS will use WOW64 when the service runs (<strong>Project</strong> > <strong>ASTrace Properties...</strong> > <strong>Build Tab</strong>).<br />
<a href='http://timlaqua.com/wp-content/uploads/2008/11/astrace1.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/11/astrace1-300x201.jpg" alt="" title="astrace1" width="300" height="201" class="alignnone size-medium wp-image-52" /></a></p>
<li>Create the following registry key and string value pointing to where you copied the ASTrace files:<br />
<code>[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ASTrace]<br />
"path"="C:\\ASTrace"</code>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://timlaqua.com/2008/11/installing-astraceexe-in-a-64-bit-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a calculated measure (calculated field) to an Excel 2007 PivotTable with a SSAS data source</title>
		<link>http://timlaqua.com/2008/11/how-to-add-a-calculated-measure-calculated-field-to-an-excel-2007-pivottable-with-a-ssas-data-source/</link>
		<comments>http://timlaqua.com/2008/11/how-to-add-a-calculated-measure-calculated-field-to-an-excel-2007-pivottable-with-a-ssas-data-source/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 18:28:12 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[How-to Guides]]></category>
		<category><![CDATA[Scripts & Code]]></category>
		<category><![CDATA[calculated measure]]></category>
		<category><![CDATA[calculated member]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[excel 2007]]></category>
		<category><![CDATA[named set]]></category>
		<category><![CDATA[pivottable]]></category>
		<category><![CDATA[ssas]]></category>

		<guid isPermaLink="false">http://timlaqua.com/?p=50</guid>
		<description><![CDATA[As it turns out, you can do it programatically as explained by Allan Folting here: Microsoft Excel: Common Questions Around Excel 2007 OLAP PivotTables: http://blogs.msdn.com/excel/archive/2008/02/05/common-questions-around-excel-2007-OLAP-PivotTables.aspx And the parts that I have to keep looking up (I use my blog as a notebook for things I don't want to forget : Sub AddCalculatedMeasure() Dim pvt As [...]]]></description>
			<content:encoded><![CDATA[<p>As it turns out, you can do it programatically as explained by <strong>Allan Folting </strong>here:<br />
<strong>Microsoft Excel: Common Questions Around Excel 2007 OLAP PivotTables</strong>:<br />
<a href="http://blogs.msdn.com/excel/archive/2008/02/05/common-questions-around-excel-2007-OLAP-PivotTables.aspx">http://blogs.msdn.com/excel/archive/2008/02/05/common-questions-around-excel-2007-OLAP-PivotTables.aspx</a></p>
<p>And the parts that I have to keep looking up (I use my blog as a notebook for things I don't want to forget <img src='http://timlaqua.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> :</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Sub</span> AddCalculatedMeasure() 
	<span style="color: #000080;">Dim</span> pvt <span style="color: #000080;">As</span> PivotTable
	<span style="color: #000080;">Dim</span> strName <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
	<span style="color: #000080;">Dim</span> strFormula <span style="color: #000080;">As</span> <span style="color: #000080;">String</span> 
&nbsp;
	<span style="color: #000080;">Set</span> pvt = Sheet1.PivotTables(&quot;PivotTable1&quot;)
	strName = &quot;[Measures].[Internet Sales Amount 25 %]&quot;
	strFormula = &quot;[Measures].[Internet Sales Amount]*1.25&quot;
	pvt.CalculatedMembers.Add Name:=strName, Formula:=strFormula, <span style="color: #000080;">Type</span>:=xlCalculatedMember 
<span style="color: #000080;">End</span> <span style="color: #000080;">Sub</span> 
&nbsp;
<span style="color: #000080;">Sub</span> AddCalculatedMember() 
	<span style="color: #000080;">Dim</span> pvt <span style="color: #000080;">As</span> PivotTable
	<span style="color: #000080;">Dim</span> strName <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
	<span style="color: #000080;">Dim</span> strFormula <span style="color: #000080;">As</span> <span style="color: #000080;">String</span> 
&nbsp;
	<span style="color: #000080;">Set</span> pvt = Sheet1.PivotTables(&quot;PivotTable1&quot;)
	strName = &quot;[Product].[Product Categories].[Bikes].[Mountain Bikes].[Mountain-100 Silver, 38 25 %]&quot;
	strFormula = &quot;[Product].[Product Categories].[Bikes].[Mountain Bikes].[Mountain-100 Silver, 38]*1.25&quot;
	pvt.CalculatedMembers.Add Name:=strName, Formula:=strFormula, <span style="color: #000080;">Type</span>:=xlCalculatedMember
	pvt.ViewCalculatedMembers = <span style="color: #000080;">True</span> 
<span style="color: #000080;">End</span> <span style="color: #000080;">Sub</span> 
&nbsp;
<span style="color: #000080;">Sub</span> AddNamedSet() 
	<span style="color: #000080;">Dim</span> pvt <span style="color: #000080;">As</span> PivotTable
	<span style="color: #000080;">Dim</span> strName <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
	<span style="color: #000080;">Dim</span> strFormula <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
	<span style="color: #000080;">Dim</span> cbf <span style="color: #000080;">As</span> CubeField 
&nbsp;
	<span style="color: #000080;">Set</span> pvt = Sheet1.PivotTables(&quot;PivotTable1&quot;)
	strName = &quot;[My Mountain Bikes]&quot;
	strFormula = &quot;[Product].[Product Categories].[Bikes].[Mountain Bikes].children&quot;
	pvt.CalculatedMembers.Add Name:=strName, Formula:=strFormula, <span style="color: #000080;">Type</span>:=xlCalculatedSet
	<span style="color: #000080;">Set</span> cbf = pvt.CubeFields.AddSet(Name:=&quot;[My Mountain Bikes]&quot;, Caption:=&quot;Mountain Bikes&quot;) 
<span style="color: #000080;">End</span> <span style="color: #000080;">Sub</span></pre></div></div>

<p>He also mentions that you can expose these members to Excel Services 2007 by creating the new objects and then removing the VBA code - very useful article.</p>
]]></content:encoded>
			<wfw:commentRss>http://timlaqua.com/2008/11/how-to-add-a-calculated-measure-calculated-field-to-an-excel-2007-pivottable-with-a-ssas-data-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to replace the battery in a Polar F11 Heart Rate Monitor (HRM)</title>
		<link>http://timlaqua.com/2008/09/how-to-replace-the-battery-in-a-polar-f11-heart-rate-monitor-hrm/</link>
		<comments>http://timlaqua.com/2008/09/how-to-replace-the-battery-in-a-polar-f11-heart-rate-monitor-hrm/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 23:40:58 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[How-to Guides]]></category>
		<category><![CDATA[f11]]></category>
		<category><![CDATA[heart rate monitor]]></category>
		<category><![CDATA[hrm]]></category>
		<category><![CDATA[polar]]></category>
		<category><![CDATA[polar f11]]></category>

		<guid isPermaLink="false">http://timlaqua.com/?p=47</guid>
		<description><![CDATA[Disclaimer: The user manual for the Polar F11 clearly states to take the HRM to a Polar dealer and have them replace the battery - taking the back off could void your warranty. If you wish to be 100% sure that you maintain the water-resistant seal and do not want to void your warranty - [...]]]></description>
			<content:encoded><![CDATA[<p>Disclaimer: The user manual for the Polar F11 clearly states to take the HRM to a Polar dealer and have them replace the battery - taking the back off could void your warranty.  If you wish to be 100% sure that you maintain the water-resistant seal and do not want to void your warranty - or risk breaking your HRM (certainly a possibility when you take it apart...), take the unit to an authorized Polar dealer and have them replace the battery.</p>
<table>
<tr>
<td>
Step 1: Remove the back cover (4 little screws - make sure you have the right size screwdriver or you'll strip them out).  Also note that the back has a water-resistant seal - keep this clean and remember that there is always a chance that the seal may be damaged if you do this yourself.
</td>
<td></td>
</tr>
<tr>
<td>
Step 2: Remove the internal unit from the watch casing (it just pulls out).
</td>
<td><a href='http://timlaqua.com/wp-content/uploads/2008/09/polarf11-internal.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/09/polarf11-internal-150x150.jpg" alt="" title="polarf11-internal" width="150" height="150" class="alignnone size-thumbnail wp-image-44" /></a></td>
</tr>
<tr>
<td>
Step 3: Get something to pry the battery latch tab with (I used another small screwdriver)
</td>
<td><a href='http://timlaqua.com/wp-content/uploads/2008/09/polarf11-batterylocktab.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/09/polarf11-batterylocktab-150x150.jpg" alt="" title="polarf11-batterylocktab" width="150" height="150" class="alignnone size-thumbnail wp-image-42" /></a></td>
</tr>
<tr>
<td>
Step 4: Take whatever you used to pry the latch tab out with and use it to pry the battery up by placing the device (screwdriver in my case) in the notch above the latch (see picture).
</td>
<td><a href='http://timlaqua.com/wp-content/uploads/2008/09/polarf11-batteryprynotch.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/09/polarf11-batteryprynotch-150x150.jpg" alt="" title="polarf11-batteryprynotch" width="150" height="150" class="alignnone size-thumbnail wp-image-43" /></a></td>
</tr>
<tr>
<td>
Step 5: Go to Wal-Mart and purchase a new CR2032 watch battery (you may want to do this before hand... I didn't know what battery it used so I had to take it out first) - runs about $3.50.
</td>
<td><a href='http://timlaqua.com/wp-content/uploads/2008/09/polarf11-internalnexttobattery.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/09/polarf11-internalnexttobattery-150x150.jpg" alt="" title="polarf11-internalnexttobattery" width="150" height="150" class="alignnone size-thumbnail wp-image-46" /></a></td>
</tr>
<tr>
<td>
Step 6: Put the battery back in and put everything back together.
</td>
<td><a href='http://timlaqua.com/wp-content/uploads/2008/09/polarf11-afterbatteryreplacement.jpg'><img src="http://timlaqua.com/wp-content/uploads/2008/09/polarf11-afterbatteryreplacement-150x150.jpg" alt="" title="polarf11-afterbatteryreplacement" width="150" height="150" class="alignnone size-thumbnail wp-image-41" /></a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://timlaqua.com/2008/09/how-to-replace-the-battery-in-a-polar-f11-heart-rate-monitor-hrm/feed/</wfw:commentRss>
		<slash:comments>127</slash:comments>
		</item>
	</channel>
</rss>
