<?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>Matt Refghi&#039;s Blog &#187; error</title>
	<atom:link href="http://mattrefghi.com/wordpress/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattrefghi.com/wordpress</link>
	<description>Computer Science and other written works</description>
	<lastBuildDate>Sat, 24 Jul 2010 22:45:24 +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>Copying the Contents of Windows Dialogs</title>
		<link>http://mattrefghi.com/wordpress/2010/01/copying-the-contents-of-windows-dialogs/</link>
		<comments>http://mattrefghi.com/wordpress/2010/01/copying-the-contents-of-windows-dialogs/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 16:49:39 +0000</pubDate>
		<dc:creator>Matt Refghi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[alert]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[paste]]></category>

		<guid isPermaLink="false">http://www.mattrefghi.com/wordpress/?p=1143</guid>
		<description><![CDATA[As a developer, I very]]></description>
			<content:encoded><![CDATA[<p>As a developer, I very often see error messages &#8211; some of those originate from the products I develop, and I have to report them as bugs. Whenever I get an error message in a dialog, I typically take a screenshot, and add that to the bug base issue. That&#8217;s fine, but it means people can&#8217;t search for that error message in the bug base &#8211; in order to enable that, I&#8217;d usually just manually type out the error message, rather than take a screenshot. That was before. <strong>Today, I&#8217;d</strong><strong> just press </strong><kbd><strong>CTRL</strong></kbd><strong>+</strong><kbd><strong>C</strong></kbd><strong> to copy the error dialog contents</strong>.</p>
<p>That&#8217;s right, whenever you see a dialog in Windows, like this:</p>
<div id="attachment_1147" class="wp-caption aligncenter" style="width: 482px"><a href="http://www.mattrefghi.com/wordpress/wp-content/uploads/2010/01/ErrorDialog.png" rel="lightbox[1143]"><img class="size-full wp-image-1147 " title="A typical Windows error message dialog." src="http://www.mattrefghi.com/wordpress/wp-content/uploads/2010/01/ErrorDialog.png" alt="" width="472" height="127" /></a><p class="wp-caption-text">A typical Windows error message dialog.</p></div>
<p style="text-align: left;">You can press <kbd>CTRL</kbd>+<kbd>C</kbd> to copy, and then open up Notepad, and press <kbd>CTRL</kbd>+<span style="font-family: monospace;">V</span> to paste:</p>
<div id="attachment_1148" class="wp-caption aligncenter" style="width: 519px"><img class="size-full wp-image-1148 " title="The dialog title, contents, and even the button text are saved to the clipboard." src="http://www.mattrefghi.com/wordpress/wp-content/uploads/2010/01/ErrorDialogCopied.png" alt="" width="509" height="205" /><p class="wp-caption-text">The dialog title, contents, and even the button text are saved to the clipboard.</p></div>
<p style="text-align: center;">
<p><strong> </strong></p>
<p>I had <em>no idea </em>this was possible until I read <a href="http://lifehacker.com/268547/copy-error-messages-text-to-the-clipboard" target="_blank">a Lifehacker article</a> explaining it.  Since I&#8217;ve started using it, I&#8217;ve found it very useful in my every day work. Maybe you will too!</p>
<p>Just a note, though &#8211; it doesn&#8217;t seem to work <em>everywhere</em>. For example, JavaScript alert dialogs can&#8217;t be copied in Firefox, but they can in Internet Explorer.</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2010%2F01%2Fcopying-the-contents-of-windows-dialogs%2F&amp;linkname=Copying%20the%20Contents%20of%20Windows%20Dialogs" title="Digg" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/google_buzz?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2010%2F01%2Fcopying-the-contents-of-windows-dialogs%2F&amp;linkname=Copying%20the%20Contents%20of%20Windows%20Dialogs" title="Google Buzz" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/google_buzz.png" width="16" height="16" alt="Google Buzz"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2010%2F01%2Fcopying-the-contents-of-windows-dialogs%2F&amp;linkname=Copying%20the%20Contents%20of%20Windows%20Dialogs" title="Twitter" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2010%2F01%2Fcopying-the-contents-of-windows-dialogs%2F&amp;linkname=Copying%20the%20Contents%20of%20Windows%20Dialogs" title="Facebook" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2010%2F01%2Fcopying-the-contents-of-windows-dialogs%2F&amp;linkname=Copying%20the%20Contents%20of%20Windows%20Dialogs" title="Reddit" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2010%2F01%2Fcopying-the-contents-of-windows-dialogs%2F&amp;linkname=Copying%20the%20Contents%20of%20Windows%20Dialogs">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://mattrefghi.com/wordpress/2010/01/copying-the-contents-of-windows-dialogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Locking: Access Is Denied? Not Anymore.</title>
		<link>http://mattrefghi.com/wordpress/2009/06/file-locking-access-is-denied-not-anymore/</link>
		<comments>http://mattrefghi.com/wordpress/2009/06/file-locking-access-is-denied-not-anymore/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 19:58:36 +0000</pubDate>
		<dc:creator>Matt Refghi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[file locking]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[unlocker]]></category>

		<guid isPermaLink="false">http://www.mattrefghi.com/wordpress/?p=590</guid>
		<description><![CDATA[I&#8217;m sure most of you]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure most of you have encountered this type of error, at one time or another, while using Windows:</p>
<div id="attachment_591" class="wp-caption aligncenter" style="width: 330px"><img class="size-full wp-image-591 " src="http://mattrefghi.com/wordpress/wp-content/uploads/2009/05/cannotdeletesdhelper.png" alt="The &quot;Error Deleting File or Folder&quot; dialog shown when you attempt to delete a file that is in use." width="320" height="165" /><p class="wp-caption-text">Cannot delete file: Access is denied.</p></div>
<p style="text-align: left;">It appears when you try to delete a file or folder that is currently in use by an application. To be completely accurate, the file needs to be <em>in use</em> and <em><a href="http://msdn.microsoft.com/en-us/library/aa365202.aspx">locked </a></em><a href="http://msdn.microsoft.com/en-us/library/aa365202.aspx">by the application</a> to prevent external edits &#8211; the <a href="http://en.wikipedia.org/wiki/File_locking#Unlocker_software">lock is likely the reason we see the error message</a>. Sometimes it is really obvious which application has a locked <a href="http://en.wikipedia.org/wiki/Handle_(computing)">handle</a> on the file &#8211; for example, if it is complaining about a Word document &#8211; perhaps the document is still open in Word. Personally, I consider scenarios like that acceptable because they can be solved easily; unfortunately, all too often I get into trickier situations where I can&#8217;t figure out <em>which </em>application is holding onto my file. In those cases, I used to just reboot, and that would <em>usually</em> solve the problem. Yet, there were still cases where rebooting didn&#8217;t even do the trick.</p>
<p style="text-align: left;">Eventually, I was tired of struggling in those moments, and began searching for an application that could help &#8211; that&#8217;s when I found <a href="http://ccollomb.free.fr/unlocker/">Unlocker</a>. It allows you to remove locks from individual files via an &#8220;Unlocker&#8221; option within the Windows context menu. Definitely a nice feature&#8230; but listen to this &#8211; they took it a step further via  a system tray program called Unlocker Assistant. If you encounter the &#8220;Access is denied&#8221; error while Assistant is loaded, Unlocker will <strong>automatically </strong>pop up a few seconds after you click &#8220;OK&#8221;, and it will show you the culprits:</p>
<p style="text-align: center;"><a href="http://mattrefghi.com/wordpress/wp-content/uploads/2009/06/unlockertotherescue.png" rel="lightbox[590]"><img class="aligncenter size-full wp-image-595" src="http://mattrefghi.com/wordpress/wp-content/uploads/2009/06/unlockertotherescue.png" alt="Unlocker Assistant showing the processes that have a hold on the locked file." width="470" height="363" /></a></p>
<p style="text-align: left;">From their interface, you have the option of either killing the process, or unlocking the files themselves &#8211; effectively breaking the hold the application has on the file <em>without </em>having to terminate it. Very handy. You can download <a href="http://ccollomb.free.fr/unlocker/#download">Unlocker </a>here.</p>
<p style="text-align: left;">If you&#8217;re more inclined to trust Microsoft-sanctioned applications, grab <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx">Process Explorer</a> &#8211; a <a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx">Sysinternals</a> app. I didn&#8217;t try it for this purpose specifically, but from what I&#8217;ve read, it isn&#8217;t as simple as Unlocker when it comes to removing the &#8220;Access is Denied&#8221; error specifically. It serves multiple purposes, whereas Unlocker is specialized.</p>
<p><a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2009%2F06%2Ffile-locking-access-is-denied-not-anymore%2F&amp;linkname=File%20Locking%3A%20Access%20Is%20Denied%3F%20Not%20Anymore." title="Digg" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/google_buzz?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2009%2F06%2Ffile-locking-access-is-denied-not-anymore%2F&amp;linkname=File%20Locking%3A%20Access%20Is%20Denied%3F%20Not%20Anymore." title="Google Buzz" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/google_buzz.png" width="16" height="16" alt="Google Buzz"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2009%2F06%2Ffile-locking-access-is-denied-not-anymore%2F&amp;linkname=File%20Locking%3A%20Access%20Is%20Denied%3F%20Not%20Anymore." title="Twitter" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2009%2F06%2Ffile-locking-access-is-denied-not-anymore%2F&amp;linkname=File%20Locking%3A%20Access%20Is%20Denied%3F%20Not%20Anymore." title="Facebook" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2009%2F06%2Ffile-locking-access-is-denied-not-anymore%2F&amp;linkname=File%20Locking%3A%20Access%20Is%20Denied%3F%20Not%20Anymore." title="Reddit" rel="nofollow" target="_blank"><img src="http://mattrefghi.com/wordpress/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmattrefghi.com%2Fwordpress%2F2009%2F06%2Ffile-locking-access-is-denied-not-anymore%2F&amp;linkname=File%20Locking%3A%20Access%20Is%20Denied%3F%20Not%20Anymore.">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://mattrefghi.com/wordpress/2009/06/file-locking-access-is-denied-not-anymore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
