<?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>www.kevincornwell.com &#187; Windows</title>
	<atom:link href="http://www.kevincornwell.com/blog/index.php/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevincornwell.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 02 Dec 2010 16:31:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>Windows Media Player 11: How to share media files that are located on other computers on your home network (to share to your xbox 360 or other pc&#8217;s).</title>
		<link>http://www.kevincornwell.com/blog/index.php/windows-media-player-11-how-to-share-media-files-that-are-located-on-other-computers-on-your-home-network-to-share-to-your-xbox-360-or-other-pcs/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/windows-media-player-11-how-to-share-media-files-that-are-located-on-other-computers-on-your-home-network-to-share-to-your-xbox-360-or-other-pcs/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 15:44:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows media player xbox 360 music video sharing]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/?p=228</guid>
		<description><![CDATA[To enable remote content sharing Perform the following steps on the computer that contains the library you are sharing. 1. Click Start, click Run, type regedit, and then click OK. 2. In the registry tree (on the left), expand HKEY_LOCAL_MACHINE, SOFTWARE, Microsoft, MediaPlayer, and Preferences. 3. Right-click HME, point to New, and then click DWORD [...]]]></description>
			<content:encoded><![CDATA[<p><strong>To enable remote content sharing</strong></p>
<p>Perform the following steps on the computer that contains the library you are sharing.<br />
1. Click Start, click Run, type regedit, and then click OK.<br />
2. In the registry tree (on the left), expand HKEY_LOCAL_MACHINE, SOFTWARE, Microsoft, MediaPlayer, and Preferences.<br />
3. Right-click HME, point to New, and then click DWORD Value.<br />
4. Type EnableRemoteContentSharing, and then press ENTER.<br />
5. Right-click EnableRemoteContentSharing, and then click Modify.<br />
6. In the Value data text box, type 1, and then click OK. If you later decide to disable remote content sharing, you can repeat this procedure and change the value to 0.<br />
Caution: Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on your computer.</p>
<p><strong>To grant one user account permission to access folders on other computers</strong></p>
<p>1. Click Start, click Control Panel, click Performance and Maintenance or System and Maintenance, click Administrative Tools, and then double-click Services.<br />
2. Scroll down the list of services, right-click Windows Media Player Network Sharing Service, and then click Properties.<br />
3. On the Log On tab, click This account, and specify a user account that has Read permission for the remote folders containing media that you want to share. This account should have a password that never expires.<br />
4. On the General tab, click Stop, click Start, and then click OK.<br />
5. On the computer containing the library you are sharing, click Start, click Run, type regedit, and then click OK.<br />
6. In the registry tree (on the left), expand HKEY_LOCAL_MACHINE, SOFTWARE, Microsoft, and Windows Media Player NSS.<br />
7. Right-click 3.0, and then click Permissions.<br />
8. Click Add.<br />
9. In the Enter the object names to select box, type the name of the account you specified in step 3 of the preceding procedure.<br />
10. Click OK.<br />
11. In the Group or user names box, click the name of the account you specified in step 3 of the preceding procedure.<br />
12. In the Permissions box, on the Full Control row, select the Allow check box.<br />
13. Click OK, and then close Registry Editor.<br />
Caution: Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on your computer.</p>
<p><strong>To enable sharing in Windows Media Player</strong></p>
<p>1. Click the arrow below the Library tab, and then click Media Sharing.<br />
2. In the Media Sharing dialog box, select the Share my media to check box.<br />
3. In the list of devices below the Share my media to check box, select a device.<br />
4. Do one of the following:<br />
&#8211;If you want to share your media with the computer or device you have selected, click Allow.<br />
&#8211;If you don&#8217;t want to share your media with the computer or device you have selected, click Deny.</p>
<p>More info here&#8230;</p>
<p><a href="http://www.microsoft.com/windows/windowsmedia/player/faq/sharing.mspx">http://www.microsoft.com/windows/windowsmedia/player/faq/sharing.mspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/windows-media-player-11-how-to-share-media-files-that-are-located-on-other-computers-on-your-home-network-to-share-to-your-xbox-360-or-other-pcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taskbar Shuffle</title>
		<link>http://www.kevincornwell.com/blog/index.php/taskbar-shuffle/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/taskbar-shuffle/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 19:07:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/index.php/taskbar-shuffle/</guid>
		<description><![CDATA[Here is a sweet little app that allows you to shuffle your taskbar items. Go HERE]]></description>
			<content:encoded><![CDATA[<p>Here is a sweet little app that allows you to shuffle your taskbar items.  Go <a href="http://www.freewebs.com/nerdcave/taskbarshuffle.htm">HERE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/taskbar-shuffle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run php 4.x and php 5.2.x on the same machine with IIS 6.0 as ISAPI.</title>
		<link>http://www.kevincornwell.com/blog/index.php/run-php-4x-and-php-52x-on-the-same-machine-with-iis-60-as-isapi/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/run-php-4x-and-php-52x-on-the-same-machine-with-iis-60-as-isapi/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 19:28:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/index.php/run-php-4x-and-php-52x-on-the-same-machine-with-iis-60-as-isapi/</guid>
		<description><![CDATA[Run php 4 and php 5.2.x on the same machine with IIS 6.0 as ISAPI. Extract the ZIP packages of both php 4 &#38; php 5 (not the Windows Installer) to c:\php4 &#38; c:\php5 respectively. Setup the corresponding php.ini files in c:\php4 and c:\php5 Add the Web Service Extensions for php4 and php5. For php4 [...]]]></description>
			<content:encoded><![CDATA[<p>Run php 4 and php 5.2.x on the same machine with IIS 6.0 as ISAPI.</p>
<ol>
<li>Extract the ZIP packages of both php 4 &amp; php 5 (not the Windows Installer) to c:\php4 &amp; c:\php5 respectively.</li>
<li>Setup the corresponding php.ini files in c:\php4 and c:\php5</li>
<li>Add the Web Service Extensions for php4 and php5. For php4 use c:\php4\sapi\php4isapi.dll, php5 use c:\php5\php5isapi.dll</li>
<li>Add the following registry keys:
<pre>
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5\IniFilePath -> c:\php5
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath -> c:\php4
</pre>
</li>
<li>Add c:\php4 to the PATH environment variable.</li>
<li>Add c:\php5 to the PATH environment variable.</li>
<li>Associate each web site in IIS with the corresponding php version.</li>
<li>Reboot.</li>
</ol>
<p><span style="color:red;">Note: In IIS you still need to to have the DLL&#8217;s in the &#8220;Allowed Web Service Extensions List&#8221; and the extensions in the appropriate &#8220;Application Configuration&#8221; settings for the given websites/applications.</span></p>
<p><span id="more-80"></span><br />
More information on the php.ini file (taken from the install.txt in the distro):</p>
<blockquote><p>
Chapter 5. Runtime Configuration</p>
<p>The configuration file</p>
<p>   The configuration file (called php3.ini in PHP 3, and simply php.ini as<br />
   of PHP 4) is read when PHP starts up. For the server module versions of<br />
   PHP, this happens only once when the web server is started. For the CGI<br />
   and CLI version, it happens on every invocation.</p>
<p>   php.ini is searched in these locations (in order):</p>
<p>     * SAPI module specific location (PHPIniDir directive in Apache 2, -c<br />
       command line option in CGI and CLI, php_ini parameter in NSAPI,<br />
       PHP_INI_PATH environment variable in THTTPD)<br />
     * The PHPRC environment variable. Before PHP 5.2.0 this was checked<br />
       after the registry key mentioned below.<br />
     * As of PHP 5.2.0, the following registry locations are searched in<br />
       order: HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y.z\IniFilePath,<br />
       HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y\IniFilePath and<br />
       HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x\IniFilePath, where x, y and z<br />
       mean the PHP major, minor and release versions.<br />
     * HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath (Windows Registry<br />
       location)<br />
     * Current working directory (except CLI)<br />
     * The web server&#8217;s directory (for SAPI modules), or directory of PHP<br />
       (otherwise in Windows)<br />
     * Windows directory (C:\windows or C:\winnt) (for Windows), or<br />
       &#8211;with-config-file-path compile time option</p>
<p>   If php-SAPI.ini exists (where SAPI is used SAPI, so the filename is<br />
   e.g. php-cli.ini or php-apache.ini), it&#8217;s used instead of php.ini. SAPI<br />
   name can be determined by php_sapi_name().</p>
<p>     Note: The Apache web server changes the directory to root at startup<br />
     causing PHP to attempt to read php.ini from the root filesystem if<br />
     it exists.</p>
<p>   The php.ini directives handled by extensions are documented<br />
   respectively on the pages of the extensions themselves. The list of the<br />
   core directives is available in the appendix. Probably not all PHP<br />
   directives are documented in the manual though. For a complete list of<br />
   directives available in your PHP version, please read your well<br />
   commented php.ini file. Alternatively, you may find the the latest<br />
   php.ini from CVS helpful too.</p>
<p>   Example 5-1. php.ini example<br />
; any text on a line after an unquoted semicolon (;) is ignored<br />
[php] ; section markers (text within square brackets) are also ignored<br />
; Boolean values can be set to either:<br />
;    true, on, yes<br />
; or false, off, no, none<br />
register_globals = off<br />
track_errors = yes</p>
<p>; you can enclose strings in double-quotes<br />
include_path = &#8220;.:/usr/local/lib/php&#8221;</p>
<p>; backslashes are treated the same as any other character<br />
include_path = &#8220;.;c:\php\lib&#8221;</p>
<p>   Since PHP 5.1.0, it is possible to refer to existing .ini variables<br />
   from within .ini files. Example: open_basedir = ${open_basedir}<br />
   &#8220;:/new/dir&#8221;.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/run-php-4x-and-php-52x-on-the-same-machine-with-iis-60-as-isapi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable .NET Web Extensions In ISS via Command Line</title>
		<link>http://www.kevincornwell.com/blog/index.php/enable-net-web-extensions-in-iss-via-command-line/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/enable-net-web-extensions-in-iss-via-command-line/#comments</comments>
		<pubDate>Tue, 22 May 2007 18:56:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/index.php/enable-net-web-extensions-in-iss-via-command-line/</guid>
		<description><![CDATA[From command line C:\WINDOWS\Microsoft.NET\Framework\[framework version]\aspnet_regiis.exe -r After that has run, goto IIS &#8211;> Web Service Extensions &#8211;> ASP.NET [framework version] &#8211;> Enable.]]></description>
			<content:encoded><![CDATA[<p>From command line</p>
<pre>
C:\WINDOWS\Microsoft.NET\Framework\[framework version]\aspnet_regiis.exe -r
</pre>
<p>After that has run, goto IIS &#8211;> Web Service Extensions &#8211;> ASP.NET [framework version] &#8211;> Enable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/enable-net-web-extensions-in-iss-via-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASP.NET Excel Function</title>
		<link>http://www.kevincornwell.com/blog/index.php/aspnet-excel-function/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/aspnet-excel-function/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 17:50:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/index.php/aspnet-excel-function/</guid>
		<description><![CDATA[This function written in c# builds a MS excel out of a dataSet. private DataSet dataSet = new DataSet&#40;&#41;; private DataView dView = new DataView&#40;&#41;; &#160; private void LoadPeople&#40;&#41; &#123; SqlConnection conn = new SqlConnection&#40;&#34;Data Source=asdf;User ID=asdf;Password=asdf;Database=Directory&#34;&#41;; SqlDataAdapter dAdapter = new SqlDataAdapter&#40;&#34;SELECT * FROM People&#34;, conn&#41;; dAdapter.Fill&#40;dataSet, &#34;peeps&#34;&#41;; dView.Table = dataSet.Tables&#91;&#34;peeps&#34;&#93;; personel_cnt = dView.Count; dView.Table.Columns.Add&#40;&#34;is_a_member&#34;&#41;; [...]]]></description>
			<content:encoded><![CDATA[<p>This function written in c# builds a MS excel out of a dataSet.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp">    <span style="color: #0600FF;">private</span> DataSet dataSet = <span style="color: #008000;">new</span> DataSet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
    <span style="color: #0600FF;">private</span> DataView dView = <span style="color: #008000;">new</span> DataView<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
    <span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> LoadPeople<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
    <span style="color: #000000;">&#123;</span>
        SqlConnection conn = <span style="color: #008000;">new</span> SqlConnection<span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;Data Source=asdf;User ID=asdf;Password=asdf;Database=Directory&quot;</span><span style="color: #000000;">&#41;</span>;
        SqlDataAdapter dAdapter = <span style="color: #008000;">new</span> SqlDataAdapter<span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;SELECT * FROM People&quot;</span>, conn<span style="color: #000000;">&#41;</span>;
        dAdapter.<span style="color: #0000FF;">Fill</span><span style="color: #000000;">&#40;</span>dataSet, <span style="color: #808080;">&quot;peeps&quot;</span><span style="color: #000000;">&#41;</span>;
        dView.<span style="color: #0000FF;">Table</span> = dataSet.<span style="color: #0000FF;">Tables</span><span style="color: #000000;">&#91;</span><span style="color: #808080;">&quot;peeps&quot;</span><span style="color: #000000;">&#93;</span>;
        personel_cnt = dView.<span style="color: #0000FF;">Count</span>;
        dView.<span style="color: #0000FF;">Table</span>.<span style="color: #0000FF;">Columns</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;is_a_member&quot;</span><span style="color: #000000;">&#41;</span>;
        conn.<span style="color: #0000FF;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
    <span style="color: #000000;">&#125;</span>
&nbsp;
    <span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> buildExcelReport<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
    <span style="color: #000000;">&#123;</span>
        DataSet dsExport = dataSet;
        <span style="color: #000000;">System</span>.<span style="color: #0000FF;">IO</span>.<span style="color: #0000FF;">StringWriter</span> tw = <span style="color: #008000;">new</span> <span style="color: #000000;">System</span>.<span style="color: #0000FF;">IO</span>.<span style="color: #0000FF;">StringWriter</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
        <span style="color: #000000;">System</span>.<span style="color: #0000FF;">Web</span>.<span style="color: #0000FF;">UI</span>.<span style="color: #0000FF;">HtmlTextWriter</span> hw =
           <span style="color: #008000;">new</span> <span style="color: #000000;">System</span>.<span style="color: #0000FF;">Web</span>.<span style="color: #0000FF;">UI</span>.<span style="color: #0000FF;">HtmlTextWriter</span><span style="color: #000000;">&#40;</span>tw<span style="color: #000000;">&#41;</span>;
        DataGrid dgGrid = <span style="color: #008000;">new</span> DataGrid<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
        dgGrid.<span style="color: #0000FF;">DataSource</span> = dsExport;
&nbsp;
        <span style="color: #008080; font-style: italic;">//Report Header</span>
        hw.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;My Super Duper Excel Report&quot;</span><span style="color: #000000;">&#41;</span>;
        hw.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;&amp;lt;br&amp;gt;&amp;mp;nbsp;&quot;</span><span style="color: #000000;">&#41;</span>;
        <span style="color: #008080; font-style: italic;">// Get the HTML for the control.</span>
        dgGrid.<span style="color: #0000FF;">HeaderStyle</span>.<span style="color: #0000FF;">Font</span>.<span style="color: #0000FF;">Bold</span> = <span style="color: #0600FF;">true</span>;
        dgGrid.<span style="color: #0000FF;">DataBind</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
        dgGrid.<span style="color: #0000FF;">RenderControl</span><span style="color: #000000;">&#40;</span>hw<span style="color: #000000;">&#41;</span>;
&nbsp;
        <span style="color: #008080; font-style: italic;">// Write the HTML back to the browser.</span>
        Response.<span style="color: #0000FF;">ContentType</span> = <span style="color: #808080;">&quot;application/vnd.ms-excel&quot;</span>;
        <span style="color: #0600FF;">this</span>.<span style="color: #0000FF;">EnableViewState</span> = <span style="color: #0600FF;">false</span>;
        Response.<span style="color: #0000FF;">Write</span><span style="color: #000000;">&#40;</span>tw.<span style="color: #0000FF;">ToString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
        Response.<span style="color: #0000FF;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
    <span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/aspnet-excel-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IIS 6.0: How To Eliminate the Delay in Serving Updated ASP</title>
		<link>http://www.kevincornwell.com/blog/index.php/iis-60-how-to-eliminate-the-delay-in-serving-updated-asp/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/iis-60-how-to-eliminate-the-delay-in-serving-updated-asp/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 15:07:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/index.php/iis-60-how-to-eliminate-the-delay-in-serving-updated-asp/</guid>
		<description><![CDATA[Due to some new enhancements in IIS 6.0, users may encounter a significant delay before receiving the content on the page. This can be a great annoyance for the users and prevent them from visiting your site. To eliminate this delay, follow these instructions: Copy the following: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP\Parameters] "DisableLazyContentPropagation"=dword:00000001 Open [...]]]></description>
			<content:encoded><![CDATA[<p>Due to some new enhancements in IIS 6.0, users may encounter a significant delay before receiving the content on the page. This can be a great annoyance for the users and prevent them from visiting your site. To eliminate this delay, follow these instructions:</p>
<ol>
<li>Copy the following:
<pre>
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP\Parameters]
"DisableLazyContentPropagation"=dword:00000001
</pre>
<li>
<li>Open Notepad and paste the text.</li>
<li>Save the text file and rename it to for example &#8220;IIS6_Delay_Fix.reg&#8221;.</li>
<li>Merge the file into the registry by double-clicking it.</li>
<li>Reboot.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/iis-60-how-to-eliminate-the-delay-in-serving-updated-asp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Log parser GUI &#8211; graphical log parser tool to analyse your logs.</title>
		<link>http://www.kevincornwell.com/blog/index.php/visual-log-parser-gui-graphical-log-parser-tool-to-analyse-your-logs/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/visual-log-parser-gui-graphical-log-parser-tool-to-analyse-your-logs/#comments</comments>
		<pubDate>Thu, 21 Dec 2006 15:41:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kevincornwell.com/blog/index.php/visual-log-parser-gui-graphical-log-parser-tool-to-analyse-your-logs/</guid>
		<description><![CDATA[As an application developper you often need to write some logs for your application, and hopefully there is actually many framework to ease your pain: Log4net, Entlib Logging Application Block, etc. But when it come to read those logs, extract statistics or to do some alert or action on them, things become harder. Actually a [...]]]></description>
			<content:encoded><![CDATA[<p>As an application developper you often need to write some logs for your application, and hopefully there is actually many framework to ease your pain: Log4net, Entlib Logging Application Block, etc. But when it come to read those logs, extract statistics or to do some alert or action on them, things become harder. Actually a free command line tool from Microsoft name LogParser and it is quite awesome: you can query any log and data sources (database, event log, iis logs, file system, registry, etc.) with a complexe SQL query (I mean with functions, group by, etc.).</p>
<p>On the down side, using it from the command line become quickly boring as you need to type your sql query in a DOS prompt.  As we failed to find any intuitive GUI for logParser, we just start to build our own, by assembling the following pieces:  the logparser engine, a &#8220;visual studio&#8221; like MDI dockable interface, syntax highlighting&#8230;</p>
<p><img alt="serialcoder-visual-logparser.gif" id="image36" src="http://www.kevincornwell.com/blog/wp-content/uploads/2006/12/serialcoder-visual-logparser.gif" /></p>
<p><a href="http://en.serialcoder.net/logiciels/visual-logparser.aspx">Publishers Web Site</a></p>
<p><a href="http://en.serialcoder.net/deploy/visual-logparser/publish.htm">Download Now</a></p>
<p>Some other notes&#8230;</p>
<p>Do an insert to a db with the log parser utility from IIS resource toolkit:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp">C:\Program Files\IIS Resources\Log Parser&gt;logparser <span style="color: #808080;">&quot;SELECT date, time, c-ip, cs
-uri-stem, cs-uri-query, cs-username  FROM C:<span style="color: #008080; font-weight: bold;">\W</span>INDOWS<span style="color: #008080; font-weight: bold;">\s</span>ystem32<span style="color: #008080; font-weight: bold;">\L</span>ogFiles<span style="color: #008080; font-weight: bold;">\W</span>3SVC201
2337366<span style="color: #008080; font-weight: bold;">\*</span>.log TO test2 WHERE SUBSTR( cs-uri-stem, LAST_INDEX_OF(cs-uri-stem,'.'), STRLEN(cs-uri-stem)) = '.asp'&quot;</span> -i:IISW3C -o:SQL -server:teas-db1 -usern
ame:sa -password:<span style="color: #808080;">&quot;foobar&quot;</span> -driver:<span style="color: #808080;">&quot;SQL Server&quot;</span> -database:kevin_temp -createtable:ON</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/visual-log-parser-gui-graphical-log-parser-tool-to-analyse-your-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Remote Desktop Listening Port</title>
		<link>http://www.kevincornwell.com/blog/index.php/change-remote-desktop-listening-port/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/change-remote-desktop-listening-port/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 14:24:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kevincornwell.com/wordpress/?p=24</guid>
		<description><![CDATA[Changing the listening port for Remote Desktop can have its advantages, particularly if you are remoting in from behind a firewall. Since a lot of public firewalls (hotels, airports, etc.) block most ports except for those used for email and internet access, using the default settings for Remote Desktop will not work on them. As [...]]]></description>
			<content:encoded><![CDATA[<p>Changing the listening port for Remote Desktop can have its advantages, particularly if you are remoting in from behind a firewall. Since a lot of public firewalls (hotels, airports, etc.) block most ports except for those used for email and internet access, using the default settings for Remote Desktop will not work on them. As long as you are not remoting into a machine that is serving secure sites, you can change the listening port to 443 and access your machine from almost anywhere. Just follow these instructions:1.  Open Regedit.</p>
<p>2.  Navigate to </p>
<pre>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
</pre>
<p>.</p>
<p>3.  Find the dword value named <span style="font-weight: bold">PortNumber</span>.</p>
<p>4.  Change the value to <span style="font-weight: bold">443</span>.</p>
<p>5.  Close Regedit and reboot.</p>
<p>To connect, open the remote client and type in the hostname or address followed by <span style="font-weight: bold">:443</span>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/change-remote-desktop-listening-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add &#8220;Control Panel&#8221;, &#8220;Device Manager&#8221;, &#8220;Command Prompt&#8221; and &#8220;RegEdit&#8221; to right click context menu of My Computer</title>
		<link>http://www.kevincornwell.com/blog/index.php/how-to-add-control-panel-device-manager-and-regedit-to-right-click-context-menu-of-my-computer/</link>
		<comments>http://www.kevincornwell.com/blog/index.php/how-to-add-control-panel-device-manager-and-regedit-to-right-click-context-menu-of-my-computer/#comments</comments>
		<pubDate>Mon, 18 Sep 2006 15:31:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kevincornwell.com/wordpress/?p=21</guid>
		<description><![CDATA[Open notepad and paste the following text (you can get to notepad easily by going to Start -> Run -> type &#8216;notepad&#8217; -> Ok)&#8230; Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command] @=&#8221;rundll32.exe shell32.dll,Control_RunDLL&#8221; [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr] @=&#8221;Device Manager&#8221; [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\command] @=&#8221;mmc.exe %%SYSTEMDRIVE%%\\WINDOWS\\SYSTEM32\\devmgmt.msc&#8221; [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit] [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit\command] @=&#8221;regedit.exe&#8221; [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Command Prompt] [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Command Prompt\command] Save the file as my_computer_context_menu.reg to the desktop. Double [...]]]></description>
			<content:encoded><![CDATA[<p>Open notepad and paste the following text (you can get to notepad easily by going to <em><strong>Start -> Run -> type &#8216;notepad&#8217; -> Ok</strong></em>)&#8230;</p>
<blockquote>
<p><strong>Windows Registry Editor Version 5.00</strong></p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command]<br />
@=&#8221;rundll32.exe shell32.dll,Control_RunDLL&#8221;</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr]<br />
@=&#8221;Device Manager&#8221;</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\command]<br />
@=&#8221;mmc.exe %%SYSTEMDRIVE%%\\WINDOWS\\SYSTEM32\\devmgmt.msc&#8221;</p>
<p>[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit]</p>
<p>[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit\command]<br />
@=&#8221;regedit.exe&#8221;</p>
<p>[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Command Prompt]</p>
<p>[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Command Prompt\command]
</p></blockquote>
<p>Save the file as <strong>my_computer_context_menu.reg</strong> to the desktop.  Double click <strong>my_computer_context_menu.reg</strong> it to intall this your registry.  You are done.  Test to see if the new items appear in the context menu by right clicking <strong>My Computer</strong>.  If so, you have done it correctly and may delete my_computer_context_menu.reg from your desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevincornwell.com/blog/index.php/how-to-add-control-panel-device-manager-and-regedit-to-right-click-context-menu-of-my-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

