<?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>Aaron Lerch &#187; windows</title>
	<atom:link href="http://www.aaronlerch.com/blog/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronlerch.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 04 Apr 2010 03:04:11 +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>More Windows Vista backgrounds</title>
		<link>http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/</link>
		<comments>http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 22:18:26 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/</guid>
		<description><![CDATA[I&#8217;ve really enjoyed the default background images that have shipped with Vista. I think they&#8217;re beautiful, even if some don&#8217;t make great backgrounds behind a lot of desktop icons &#8211; if that&#8217;s the case, shame on you &#8211; clean that up! If you didn&#8217;t know, Microsoft commissioned some amateur photographers to capture live-image backgrounds. I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve really enjoyed the default background images that have shipped with Vista. I think they&#8217;re beautiful, even if some don&#8217;t make great backgrounds behind a lot of desktop icons &#8211; if that&#8217;s the case, shame on you &#8211; clean that up!</p>
<p><a href="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="image" src="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image_thumb.png" width="504" border="0"></a> </p>
<p>If you didn&#8217;t know, Microsoft commissioned some amateur photographers to capture live-image backgrounds. I think that&#8217;s a fantastic idea, as there&#8217;s some real talent out there (in many disciplines, not just photography) that hasn&#8217;t made the decision or had the opportunity to go professional. Long Zheng of <a href="http://www.istartedsomething.com/">istartedsomething.com</a> has <a href="http://www.istartedsomething.com/20070126/finding-vista-wallpapers/">more details</a> on the process and the results.</p>
<p>If you enjoy the shipped Vista backgrounds, you&#8217;ll be glad to know that <a href="http://www.flickr.com/people/darwishh/">Hamad Darwish</a>, one of the amateur photographers has released an additional pack of Vista backgrounds that didn&#8217;t make the Microsoft cut -and they&#8217;re fantastic. You can get the <a href="http://www.hamaddarwish.com/vista.html">download links from his website</a>.</p>
<p>The easiest way to view all the possible images without selecting each one individually via the &#8220;Browse&#8230;&#8221; button is to unzip the images to the public pictures folder, typically located here: C:\Users\Public\Pictures</p>
<p>They should show up under the &#8220;Public Pictures&#8221; option in the Location drop-list.</p>
<p><a href="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image_3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="image" src="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image_thumb_3.png" width="504" border="0"></a> </p>
<p>Enjoy! Unless you <a href="http://www.codinghorror.com/blog/archives/000963.html">agree with Jeff Atwood</a>, then you should never see your background image anyway. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And thanks, Hamad!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Synergy to Link Computers</title>
		<link>http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/</link>
		<comments>http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 17:02:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/</guid>
		<description><![CDATA[If you haven&#8217;t heard of the open-source project called Synergy, and use more than one computer side-by-side, you need to check it out. In a nutshell, it unifies individual (and often disparate) computers; connecting monitors, keyboards, mice, and &#8220;clipboards&#8221; via the network. It claims to support practically any version of Windows (from 95 to XP, [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard of the open-source project called <a href="http://synergy2.sourceforge.net/">Synergy</a>, and use more than one computer side-by-side, you need to check it out.  In a nutshell, it unifies individual (and often disparate) computers; connecting monitors, keyboards, mice, and &#8220;clipboards&#8221; via the network.</p>
<p>It claims to support practically any version of Windows (from 95 to XP, and I&#8217;m personally running it on Vista), as well as Mac OS X 10.2+ and *nix (primarily tested on Linux).</p>
<p><a href="http://www.flickr.com/photos/31828990@N00/1140197942/" title="View on Flickr (has notes with hotspots)" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/MyOfficeRig.jpg" style="border: 0px none " alt="My Office Rig" align="right" border="0" height="143" width="190" /></a>When I <a href="http://www.aaronlerch.com/blog/2007/08/office.html">posted about my office setup</a>, I included a picture of my 3 monitor setup, plus my MacBook Pro.  Thanks to Synergy, I essentially have <em>four</em> monitors.  Moving my mouse off the left edge of my Windows desktop instantly transfers it to the right edge of my Mac&#8217;s desktop, along with my keyboard focus and clipboard.  It only supports plain-text clipboard contents for Windows &lt;-&gt; Mac, but 9 times out of 10 that&#8217;s sufficient. (Submit a patch with the fix, if you feel brave!)</p>
<p>One thing is that configuring Synergy <a href="http://www.aaronlerch.com/blog/2007/08/decision-making-and-ui-design.html">sucks</a>.  On the Mac (and *nix) you have to know how to edit a .conf text file.  In Windows, it&#8217;s hardly better.  You have to reference your computers by hostname, which causes me grief when I connect my Mac via VPN and sometimes get an arbitrary hostname assigned to me.  Also, in Vista, you must always run the application as an administrator, or else no dice.</p>
<p>Here&#8217;s a handy guide to configuring Synergy 1.3.1&#8211;focused on my particular setup, and assuming you keep most of the defaults. We won&#8217;t get too &#8220;fancy&#8221; here. If you want more advanced information, check out the links under the Documentation section on <a href="http://synergy2.sourceforge.net/">the SourceForge page</a>.</p>
<h5>Windows (Running Synergy as a server)</h5>
<p>Start Synergy, and select &#8220;Share this computer&#8217;s keyboard and mouse (server)&#8221;, then click &#8220;Configure&#8221;<br />
<img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/image.png" style="border: 0px none " alt="Synergy server" border="0" height="70" width="444" /></p>
<p>The first step is to define your &#8220;screens&#8221;. A screen is really just &#8220;a computer&#8221;. In my case, a single PC has 3 monitors &#8211; that&#8217;s one &#8220;screen&#8221;. Click the super-fancy-awesome plus sign button (&#8220;+&#8221;) under the &#8220;Screens:&#8221; list box to add a new screen. Synergy recommends you use the computer name as the screen name, unless you&#8217;ve got a good reason not to, I agree with them&#8211;but for the server setup it doesn&#8217;t really matter. As far as I can tell, though, it&#8217;s purely cosmetic since you can use the &#8220;aliases&#8221; to map hostnames to a friendly name. Enter the screen name (your computer&#8217;s hostname) and optionally any aliases. It&#8217;s important to reiterate that both &#8220;screen name&#8221; and &#8220;aliases&#8221; are used to identify remote computers via the incoming/outgoing network connection.<br />
<img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/image_3.png" style="border: 0px none " alt="image" border="0" height="113" width="298" /><br />
I left all the other options as default (just to get something going). But essentially you can control which modifier keys are also sent over the network (or not), as well as &#8220;dead zones&#8221; on the screen that shouldn&#8217;t swap the mouse out.</p>
<p>Each computer needs to know about every other computer, so you&#8217;ll have to add a new &#8220;screen&#8221; for every box you want to hook up. Go ahead and do that, I&#8217;ll wait. Ready? Wishing they had some sort of &#8220;auto-discovery&#8221;? Me too. The next step is to &#8220;link up&#8221; your screens. You basically have to tell Synergy how they are positioned/connected. In my case, my laptop is directly to the left (and a little below) my main PC &#8220;screen&#8221; (remember, all 3 count as one to Synergy&#8211;it&#8217;s about &#8220;desktops&#8221; really).</p>
<p>Click &#8220;[New Link]&#8221; in the &#8220;Links&#8221; listbox and enter your information (explained in a sec) &#8212; then click the &#8220;+&#8221; button (genius!) to add it. Wash, rinse, and repeat until you&#8217;ve got it all set up.</p>
<p><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/image_4.png" style="border: 0px none " alt="image" border="0" width="500" /></p>
<p>The reason this is so complex is that you can configure portions of screens that link to portions of other screens. In the above example, I&#8217;m configuring the entire left side of my work PC (0-100%) to map to the entire edge of my Mac (0-100%) &#8212; on the Mac I configure which edge (left/right/etc) lines up with my work PC. Why would I want anything different? Consider the following extreme configuration:</p>
<p><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/screenlayout_thumb.gif" alt="screen layout" border="0" /></p>
<p>In this &#8220;screen&#8221; layout, I would map:</p>
<ul>
<li>0-50% of the left of Screen 3 to 0-100% of Screen 1</li>
<li>50-100% of the left of Screen 3 to 0-100% of Screen 2</li>
<li>0-100% of the bottom of Screen 2 to 0-60% of Screen 4</li>
<li>etc.</li>
</ul>
<p>Make sense? I hope so, because it&#8217;s a real pain to configure. And each &#8220;screen&#8221; has to be configured to match &#8212; so on Screen 1&#8242;s configuration, 0-100% of the left side goes to 0-50% of Screen 3. So much can be done here in terms of auto-config, it&#8217;s not even funny.</p>
<p>The good news is that you&#8217;re basically done. You can test your configuration by clicking &#8220;Test&#8221; in the main dialog, which simply starts the server allowing you to cancel it. I recommend using the &#8220;Test&#8221; mode until you&#8217;ve got it all set up, because otherwise it runs in the background and there&#8217;s no way to change the configuration without restarting the application. (Fun.) You can also configure some advanced options (like network port numbers, and auto-start options).</p>
<h5>Mac (Running Synergy as a client)</h5>
<p>This is the fun part. The UI on Windows at least abstracts out the configuration file describing the screens&#8211;no such luck on a Mac. And on a Mac, of all places! Synergy on the Mac includes a sample .conf file, which really helps. Here&#8217;s an example .conf file &#8211; it gets more advanced than this, but for basic stuff you don&#8217;t need anything more. Notice that I&#8217;m not specifying any percentages because they&#8217;re all 0-100%. If you want to get more complicated, I recommend reading the documentation. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>section: screens<br />
LERCHWORKPC:<br />
maclerch.local:<br />
end</p>
<p>section: links<br />
# lerchworkpc is to the right of maclerch.local<br />
maclerch.local:<br />
right = LERCHWORKPC<br />
LERCHWORKPC:<br />
left = maclerch.local<br />
end</p>
<p>Basically I&#8217;m identifying all the screens involved: LERCHWORKPC and maclerch.local. Then I&#8217;m associating them: to the right of maclerch.local is LERCHWORKPC, and to the left of LERCHWORKPC is maclerch.local. Nuff said.</p>
<p>To run Synergy in client mode, bring up Terminal (the Mac&#8217;s saving grace: a command-prompt), and drag-and-drop &#8220;synergyc&#8221; from the install location (by install I mean &#8220;where you unpackaged the files&#8221;) onto Terminal. Add &#8220;-f&#8221; and the name of the computer running the Synergy server, and press Return.</p>
<p>Drag &#8220;synergyc&#8221; from here&#8230; (assuming you installed it here)<br />
<a href="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture2.png" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture2_thumb.png" style="border: 0px none " alt="Applications (Mac)" border="0" width="500" /></a></p>
<p>&#8230; to here.  So your command looks something like this:<a href="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture1.png" atomicselection="true"><br />
<img src="http://www.aaronlerch.com/files/blog/UsingSynergytoLinkComputers_EF9D/Picture1_thumb.png" style="border: 0px none " alt="Terminal (Mac)" border="0" width="500" /></a></p>
<p>The -f option tells Synergy not to run as a daemon. I prefer it because I can minimize Terminal and forget about it &#8211; but bring it back up to view the output or kill the app with CTRL+C easily if I want to. You can leave off &#8220;-f&#8221; to run it as a daemon and stop the process later, if you like.</p>
<p>That&#8217;s it, run the synergy client app and you&#8217;re all set up. Well I should rephrase. <em>I&#8217;m</em> all set up. Everybody has different configurations, so hopefully this will be a good stepping stone for you to get yours working.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/08/16/using-synergy-to-link-computers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>TIP: Create a &#8220;new mail&#8221; shortcut for Outlook</title>
		<link>http://www.aaronlerch.com/blog/2007/07/31/tip-create-a-new-mail-shortcut-for-outlook/</link>
		<comments>http://www.aaronlerch.com/blog/2007/07/31/tip-create-a-new-mail-shortcut-for-outlook/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 15:45:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/07/31/tip-create-a-new-mail-shortcut-for-outlook/</guid>
		<description><![CDATA[If you work at a company that&#8217;s as email-centric as mine, you&#8217;ll find yourself opening the &#8220;new mail&#8221; window in Outlook quite a bit. Although hopefully not too much &#8211; better to be responding to email than initiating new threads, though even that can get out of hand. The fewer people that generate email threads, [...]]]></description>
			<content:encoded><![CDATA[<p>If you work at a company that&#8217;s as email-centric as <a href="http://www.inin.com/" title="Interactive Intelligence">mine</a>, you&#8217;ll find yourself opening the &#8220;new mail&#8221; window in Outlook quite a bit.  Although hopefully not too much &#8211; better to be responding to email than initiating new threads, though even that can <a href="http://www.hanselman.com/blog/ReplyToAllSnowballKnowWhenToEscalateCommunication.aspx">get out of hand</a>. The fewer people that generate email threads, the less email there is requiring a response!  Any and every keyboard shortcut helps shave off seconds throughout the day, <a href="http://www.codinghorror.com/blog/archives/000825.html">which add up over time</a>.  My friend <a href="http://www.thehubbards.org/blog/">Chris</a> stopped by and showed me how to create a shortcut directly to &#8220;New Mail&#8221;.  Combine that with the <a href="http://www.aaronlerch.com/blog/2007/05/vista-launch-hotkeys.html">Vista Quicklaunch keyboard shortcuts</a>, and Win+2* gets me a new mail message. Sweet.</p>
<p>It&#8217;s simple: create a shortcut with the following target.<br />
&#8220;C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE&#8221; /c &#8220;IPM.Note&#8221;<br />
(if your path to OUTLOOK.EXE differs, use yours)</p>
<p>Thanks Chris!<br />
* Win+1 is, and always will be, <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx">PowerShell</a>. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/07/31/tip-create-a-new-mail-shortcut-for-outlook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vista &#8220;Quick Launch&#8221; Hotkeys</title>
		<link>http://www.aaronlerch.com/blog/2007/05/17/vista-quick-launch-hotkeys/</link>
		<comments>http://www.aaronlerch.com/blog/2007/05/17/vista-quick-launch-hotkeys/#comments</comments>
		<pubDate>Thu, 17 May 2007 16:37:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/05/17/vista-quick-launch-hotkeys/</guid>
		<description><![CDATA[My friend and coworker Chris Hubbard (blog coming soon? it&#8217;s here!) showed me a cool Vista feature. I typically keep my Taskbar 2 rows tall. One for my applications, and one for my Quick Launch toolbar. Many people think I&#8217;m nuts, since even I can&#8217;t always remember what all the icons are, but more often [...]]]></description>
			<content:encoded><![CDATA[<p>My friend and coworker <a href="http://www.thehubbards.org/blog/">Chris Hubbard</a> (<strike>blog coming soon?</strike> it&#8217;s here!) showed me a cool Vista feature.  I typically keep my Taskbar 2 rows tall. One for my applications, and one for my Quick Launch toolbar.  Many people think I&#8217;m nuts, since even I can&#8217;t always remember what all the icons are, but more often than not I still find it easier to launch an application that way over searching the start menu&#8211;when my hand is already on the mouse, that is.  I used <a href="http://www.bayden.com/SlickRun/">Bayden SlickRun</a> on my XP machine a lot, and loved it, but I just haven&#8217;t customized my Vista machine as much yet.  Of course with the searchable start menu SlickRun loses a bit of it&#8217;s pizazz.  And, as a mini-bonus, my clock shows the time, day of week, and date, which can be handy.</p>
<p><a href="http://www.aaronlerch.com/files/blog/VistaQuickLaunchHotkeys_E9DD/image02.png" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/VistaQuickLaunchHotkeys_E9DD/image0_thumb.png" style="border-width: 0px" border="0" height="61" width="474" /></a></p>
<p>But I digress.  In Vista by default you can activate the Win+# hotkeys to activate the Quick Launch shortcut in the specified location (1-based, so 0 == 10).  In my screenshot above, Win+1 opens <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx">PowerShell</a>, and Win+8 opens <a href="http://www.aisto.com/roeder/dotnet/">Reflector</a>.  As you reorder the shortcuts (you can drag and drop them to reorder) the hotkeys open the new shortcuts.</p>
<p>Very cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/05/17/vista-quick-launch-hotkeys/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adding Network Printers in Vista</title>
		<link>http://www.aaronlerch.com/blog/2007/02/22/adding-network-printers-in-vista/</link>
		<comments>http://www.aaronlerch.com/blog/2007/02/22/adding-network-printers-in-vista/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 11:56:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/02/22/adding-network-printers-in-vista/</guid>
		<description><![CDATA[I&#8217;ve been running Vista on my primary work machine since Day One (much to the chagrin of some of my co-workers). And since Day One I&#8217;ve been unable to add any network printers. I know I should be able to add them, other Vista users can add them (although I&#8217;m running Ultimate and they&#8217;re running [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running Vista on my primary work machine since Day One (much to the chagrin of some of my co-workers).  And since Day One I&#8217;ve been unable to add any network printers.  I <strong>know</strong> I should be able to add them, other Vista users can add them (although I&#8217;m running Ultimate and they&#8217;re running Business or Enterprise&#8211;but that doesn&#8217;t matter), why can&#8217;t I?  And, since Day One, I&#8217;ve had User Account Control (UAC) turned <em>off</em>.  Think what you will, I&#8217;m no less secure than when I ran Windows XP as a local admin before this, I&#8217;m just not <strong>more secure</strong> than I was.</p>
<p>Well, I finally did a little more googling and found the <a href="http://neosmart.net/blog/2007/windows-forces-you-to-use-uac-to-add-a-printer/">following well-described answer</a> to my problems, which I&#8217;m sharing here because this was a real pain.</p>
<blockquote><p><em>If you want to use Windows Vista and you want to be able to print to a network printer, youâ€™re going to have to use UAC. You turned it off? Turn it back on. Youâ€™re using the in-built â€œAdministratorâ€ account? Log-out and log-in as a normal admin. Microsoft says you have to use UAC to get a printer installed.</em></p></blockquote>
<p>P.S. Here&#8217;s a new (admittedly rather useless) feature for Google to implement: search for similar images based on visual differencing, perhaps using <a href="http://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio">peak signal-to-noise ratio (PSNR)</a> comparisons.  That way I can upload a screen capture of an error condition and look for similar images.  Yes, you could just search for the (hopefully) descriptive error text, but first, there might not always be error text (it ain&#8217;t a perfect world) and second, somebody might have written about a screenshot without unnecessarily retyping the error text on the page.  I could also search for the closest match to my own picture, and find out that it&#8217;s Brad Pitt.  That would be nice&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/02/22/adding-network-printers-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Van Winkle</title>
		<link>http://www.aaronlerch.com/blog/2006/12/21/windows-van-winkle/</link>
		<comments>http://www.aaronlerch.com/blog/2006/12/21/windows-van-winkle/#comments</comments>
		<pubDate>Thu, 21 Dec 2006 13:46:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2006/12/21/windows-van-winkle/</guid>
		<description><![CDATA[Windows Vista&#8217;s shutdown/sleep/hibernate models have changed quite a bit from previous Windows versions. Do a quick search to get more information. Here&#8217;s a good description of some of the potential problems, and here&#8217;s a good walkthrough on how to configure the settings. Out of the box Vista&#8217;s power management is configured with what&#8217;s called a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aaronlerch.com/files/blog/WindowsVanWinkle_C193/RipVanWinkle7.jpg" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/WindowsVanWinkle_C193/RipVanWinkle_thumb4.jpg" alt="Rip Van Winkle" align="left" height="173" width="106" /></a>Windows Vista&#8217;s shutdown/sleep/hibernate models have changed quite a bit from previous Windows versions.  Do <a href="http://www.google.com/search?hl=en&amp;q=windows+vista+sleep+mode">a quick search</a> to get more information. <a href="http://neosmart.net/blog/archives/299">Here&#8217;s</a> a good description of  some of the potential problems, and <a href="http://articles.techrepublic.com.com/5100-10877_11-6129085.html">here&#8217;s</a> a good walkthrough on how to configure the settings.</p>
<p><a href="http://www.aaronlerch.com/files/blog/WindowsVanWinkle_C193/WindowsVistaBalancedPowerPlan4.jpg" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/WindowsVanWinkle_C193/WindowsVistaBalancedPowerPlan_thumb2.jpg" style="border: 0px none " align="right" border="0" height="204" width="165" /></a>Out of the box Vista&#8217;s power management is configured with what&#8217;s called a &#8220;Balanced&#8221; power plan.  The Balanced power plan tries to do just that: balance low power usage (energy savings) with availability (performance).  The biggest problem I&#8217;ve run into with Balanced (or &#8220;Power saver&#8221;, or any plan that puts your computer into sleep mode at all, for that matter) is  that when I wake my computer back up, the network connection remains asleep, and it doesn&#8217;t come back again. I have to reboot to get it to reconnect (which defeats the purpose of sleep mode).  As someone who works remotely on frequent occasions, the fact that I&#8217;m suddenly unable to connect to my computer after an hour or so is just ridiculous.  When I am in my office, and I bring Vista out of sleep mode, I&#8217;ve instantly got 3-5 applications all frantically trying to reconnect to their servers, none of which are able.</p>
<p><a href="http://www.aaronlerch.com/files/blog/WindowsVanWinkle_C193/WindowsVistaPowerPlans4.jpg" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/WindowsVanWinkle_C193/WindowsVistaPowerPlans_thumb2.jpg" style="border: 0px none " align="right" border="0" height="170" width="281" /></a>Perhaps I&#8217;m missing a setting that will let my computer wake up via the network, but if I&#8217;m missing it so are a lot of other people out there.   (If you know it, please leave a comment to give me a clue!)  Given how frequently I connect to my machine from a remote location, forcing my computer into sleep mode won&#8217;t really save me a ton of energy so in my case, the solution was simply to change my power plan to &#8220;High performance&#8221; which essentially keeps it on all the time.  You can find your Power plans via your Control Panel (the Power Options icon).</p>
<p>I still don&#8217;t know what I think (overall) about Vista&#8217;s sleep mode&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2006/12/21/windows-van-winkle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 7 and Html Help &#8220;Bug&#8221;</title>
		<link>http://www.aaronlerch.com/blog/2006/10/28/internet-explorer-7-and-html-help-bug/</link>
		<comments>http://www.aaronlerch.com/blog/2006/10/28/internet-explorer-7-and-html-help-bug/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 12:06:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2006/10/28/internet-explorer-7-and-html-help-bug/</guid>
		<description><![CDATA[A day or so ago I ran across a very frustrating bug that I feel compelled to post here to potentially save someone else the pain I went through. Here&#8217;s the scenario: Install one of our legacy Win32 applications Install IE7 Open the help&#8211;we use HTML Help (.chm files) Everything&#8217;s working great! Accept updates from [...]]]></description>
			<content:encoded><![CDATA[<p>A day or so ago I ran across a very frustrating bug that I feel compelled to post here to potentially save someone else the pain I went through.</p>
<p>Here&#8217;s the scenario:</p>
<ul>
<li>Install one of our legacy Win32 applications</li>
<li>Install IE7</li>
<li>Open the help&#8211;we use HTML Help (.chm files)</li>
<li>Everything&#8217;s working great!</li>
<li>Accept updates from the server (we have a custom auto-updater)</li>
<li>After the application restarts, open the help</li>
<li>Bam! The app crashes with an exception triggered from somewhere deep inside the ::HtmlHelp Win32 API call. (Please, no comments about the lack of exception handling here <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
</ul>
<p>None of that code had changed between the original install and the updated version! So what was the problem?  It turns out that a component getting downloaded automatically as part of the update was including a Microsoft redistributable file to support Windows NT:  PSAPI.dll (version 4.x) which IE7 is not compatible with.</p>
<p>After much googling (and yes, <a href="http://googleblog.blogspot.com/2006/10/do-you-google.html" title="Google's gone crazy">I mean using Google.com, Inc.</a>) and other investigations (like one-by-one putting back DLLs to see if one of them was misbehaving for a reason I couldn&#8217;t comprehend), I came across <a href="http://groups.google.com/group/microsoft.public.windows.inetexplorer.ie5.programming.components.webbrowser_ctl/browse_thread/thread/182d82d6cc9105ee/2eef2659db5a8389" title="Big Problem: IE7 Webbrowser depends strongly on PSAPI.dll version">this post in the newsgroups</a>.  Bingo!  Because the help viewer was loading in our process (or at least <em>from</em> our process), IE&#8217;s working directory included the &#8220;bad&#8221; version of the dll.  If I deleted the dll, things ran smoothly (including for our own application).  In my case, that was my resolution&#8211;delete the file.</p>
<p>Fortunately that version of the file is pretty old so unless you&#8217;re explicitly supporting Windows NT, you should be safe relying on the version installed with the OS (found in %SYSTEMROOT%\system32).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2006/10/28/internet-explorer-7-and-html-help-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Win32 API and .NET</title>
		<link>http://www.aaronlerch.com/blog/2004/12/18/win32-api-and-net/</link>
		<comments>http://www.aaronlerch.com/blog/2004/12/18/win32-api-and-net/#comments</comments>
		<pubDate>Sat, 18 Dec 2004 22:52:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2004/12/18/win32-api-and-net/</guid>
		<description><![CDATA[Straight-up mapping between the Win32 API and the .NET Framework: MSDN Win32 to .NET Framework API Map - and - Excellent pointers for calling unmanaged API&#8217;s, and pointing out managed equivalents, if they exist: pinvoke.net]]></description>
			<content:encoded><![CDATA[<p>Straight-up mapping between the Win32 API and the .NET Framework:</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/win32map.asp">MSDN Win32 to .NET Framework API Map</a></p>
<p><em>- and -</em></p>
<p>Excellent pointers for calling unmanaged API&#8217;s, and pointing out managed equivalents, if they exist:</p>
<p><a href="http://pinvoke.net/">pinvoke.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2004/12/18/win32-api-and-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
