<?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>Brad Marsh's Weblog &#187; Vista</title>
	<atom:link href="http://bradmarsh.net/index.php/category/vista/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradmarsh.net</link>
	<description>Bloggin about Microsoft, SQL Server, Windows Server 2008, Windows Mobile, new techie bits and pieces</description>
	<lastBuildDate>Thu, 10 Nov 2011 22:01:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Word, Excel 07 getting sharing violations on save</title>
		<link>http://bradmarsh.net/index.php/2009/11/13/word-excel-07-getting-sharing-violations-on-save/</link>
		<comments>http://bradmarsh.net/index.php/2009/11/13/word-excel-07-getting-sharing-violations-on-save/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 03:03:25 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://bradmarsh.net/index.php/2009/11/13/word-excel-07-getting-sharing-violations-on-save/</guid>
		<description><![CDATA[So we were getting various sharing volitions when trying to save some changes to an existing document, both on windows VISTA and windows 7, this started to become an annoyance, but let it go because it was only now and then. I found out it wasn’t isolated to me, turns out many others have been [...]]]></description>
			<content:encoded><![CDATA[<p>So we were getting various sharing volitions when trying to save some changes to an existing document, both on windows VISTA and windows 7, this started to become an annoyance, but let it go because it was only now and then. I found out it wasn’t isolated to me, turns out many others have been affected by this annoyance also.</p>
<p>So you might get error messages like &quot;Your changes could not be saved to &#8216;Filename.xlsx&#8217; but were save to a temporary document &#8216;CERSS322&#8242; <em>(this is a random string)</em>. Close the existing document, then open the temporary document and save it under a new name.&quot; </p>
<p>If you try and save it again you might also get &quot;Your changes could not be saved to &#8216;Filename.xlsx&#8217; because of a sharing violation. Try saving to a different file.&quot;</p>
<p>once again if you were to save it it might actually save correctly. </p>
<p>There was lots of talk about an Anti-Virus might actually open this file scanning it when you have it open hence the reason for the sharing violation, and this could be well possible, but its more likely to be the Windows&#160; Desktop Indexing service., you could disable this though that might be a drastic measure. you can right click on the file and turn the indexing on that file off.</p>
<p>So to do this right click on the file giving you problems go to ‘Properties’&#160; &gt; click on the ‘Advanced’ button &gt; removed the tick from ‘ Allow this file to have contents indexed in addition to file properties’</p>
<p>See images below for more info.</p>
<p><a href="http://bradmarsh.net/wp-content/uploads/2009/11/image.png" ><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://bradmarsh.net/wp-content/uploads/2009/11/image-thumb.png" width="279" height="379" /></a></p>
<p><a href="http://bradmarsh.net/wp-content/uploads/2009/11/image1.png" ><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://bradmarsh.net/wp-content/uploads/2009/11/image-thumb1.png" width="244" height="187" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2009/11/13/word-excel-07-getting-sharing-violations-on-save/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AD Based Outlook Email Signature for 2003 and 2007 Part 4 &#8211; Now writes TXT and RTF as well as HTML</title>
		<link>http://bradmarsh.net/index.php/2008/11/20/ad-based-outlook-email-signature-for-2003-and-2007-part-4-now-writes-txt-and-rtf-as-well-as-html/</link>
		<comments>http://bradmarsh.net/index.php/2008/11/20/ad-based-outlook-email-signature-for-2003-and-2007-part-4-now-writes-txt-and-rtf-as-well-as-html/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:43:31 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/11/20/ad-based-outlook-email-signature-for-2003-and-2007-part-4-now-writes-txt-and-rtf-as-well-as-html/</guid>
		<description><![CDATA[Ok due to high demand, and for some very odd reason 2007 was not writing the .txt file and the .rtf.
Now I have implemented various changes so it does this, however due to time constraints its not as
automated as I would like, I will try to review this when I get some free time (hopefully [...]]]></description>
			<content:encoded><![CDATA[<p>Ok due to high demand, and for some very odd reason 2007 was not writing the .txt file and the .rtf.</p>
<p>Now I have implemented various changes so it does this, however due to time constraints its not as<br />
automated as I would like, I will try to review this when I get some free time (hopefully <img src='http://bradmarsh.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>So if you are using the old script the only changes are:</p>
<p>&#8216;=========================================================<br />
&#8216; This adds the Text file, will need to be changed accordingly<br />
&#8216;==========================================================</p>
<p>Set objFile = objFSO.CreateTextFile(Folderlocation&amp;&#8221;Elcom.txt&#8221;,True)<br />
objfile.writeLine &#8220;&#8221;&amp; FullName &amp; &#8221; | &#8221; &amp; title &amp; &#8221; |  &#8221; &amp; title &amp; &#8221; | &#8220;&amp; Company &amp; &#8221; | Australian Technology Park&#8221;<br />
objfile.writeLine &#8220;T +612 &#8221; &amp; PhoneNumber &amp; &#8221; | F +612 9209 4423 | www.elcom.com.au | &#8221; &amp; Email &amp;&#8221; &#8221;<br />
objfile.writeLine &#8221; &#8221;<br />
objfile.writeLine &#8221; &#8221;<br />
objfile.writeLine &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#8221;<br />
objfile.writeLine &#8220;This email is intended for the intended recipients(s) and may contain confidential information. &#8221;<br />
objfile.writeLine &#8220;Reproduction, dissemination or distribution of this message is prohibited unless authorised by the sender.&#8221;<br />
objfile.writeLine &#8220;If you are not the intended recipient, please notify the sender immediately and you must not read,&#8221;<br />
objfile.writeLine &#8220;keep, use, disclose, copy or distribute this email without the sender&#8217;s prior permission.&#8221;<br />
objfile.writeLine &#8220;The views expressed by the sender are not necessarily those of Elcom Technology Pty Ltd &#8221;<br />
objFile.Close</p>
<p>as you can see I have had to write this out again (without the HTML tags), this is far from perfect but<br />
it is a working fix for the time being. You will have to edit the above to suite your Text based<br />
Signature.</p>
<p>Next addition is</p>
<p>&#8216;====================================================<br />
&#8216; This copies the .htm file and changes it to a RTF format<br />
&#8216;====================================================</p>
<p>&#8216;Set the Source and Destination paths below &#8211; CHANGE your file name<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Const OverwriteExisting = True<br />
Set objFSO = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br />
objFSO.CopyFile Folderlocation &amp; &#8220;Elcom.htm&#8221; , Folderlocation &amp; &#8220;Elcom.rtf&#8221;, OverwriteExisting </p>
<p>Being that RTF will show a HTML format this is any easy fix, all you have to do with this is change the<br />
file name which we set in the begining of the script. So for example I would change &#8220;Elcom.htm&#8221; to<br />
&#8220;MyCompany.htm&#8221;</p>
<p>  Here is the complete code</p>
<div style="font-size: 8pt; margin: 20px 0px 10px; overflow: auto; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border: gray 1px solid; padding: 4px;">
<div style="font-size: 8pt; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' VBScript: &lt;Signatures.vbs&gt;</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' AUTHOR: Peter Aarts</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Contact Info: peter.aarts@l1.nl</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Version 2.04</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Date: January 20, 2006</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Moddified By Brad Marsh Now works with both 2003 and 2007 outlook </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Contact: gentex@tpg.com.au</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Date 19 feb 08</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Tested on Vista, XP, XP64 and office 2003 and 2007. </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' NOTE will not work that well with various email accounts</span>

<span style="color: #008000;">' Additions added on 20 Nov 08 - Tested on Office 07 and Vista </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'====================  </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'Option Explicit</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">On</span> <span style="color: #0000ff;">Error</span> <span style="color: #0000ff;">Resume</span> <span style="color: #0000ff;">Next</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> qQuery, objSysInfo, objuser</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> FullName, EMail, Title, PhoneNumber, MobileNumber, FaxNumber, OfficeLocation, Department</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> web_address, FolderLocation, HTMFileString, StreetAddress, Town, State, Company</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> ZipCode, PostOfficeBox, UserDataPath</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Read LDAP(Active Directory) information to asigns the user's info to variables.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objSysInfo = CreateObject(<span style="color: #006080;">"ADSystemInfo"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objSysInfo.RefreshSchemaCache</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">qQuery = <span style="color: #006080;">"LDAP://"</span> &amp; objSysInfo.Username</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objuser = GetObject(qQuery)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">FullName = objuser.displayname</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">EMail = objuser.mail</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">Company = objuser.Company</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">Title = objuser.title</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">PhoneNumber = objuser.TelephoneNumber</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">FaxNumber = objuser.FaxNumber</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">OfficeLocation = objuser.physicalDeliveryOfficeName</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">StreetAddress = objuser.streetaddress</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">PostofficeBox = objuser.postofficebox</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">Department = objUser.Department</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">ZipCode = objuser.postalcode</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">Town = objuser.l</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">MobileNumber = objuser.TelephoneMobile</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">web_address = <span style="color: #006080;">"http://www.elcom.com.au"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' This section creates the signature files names and locations.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Corrects Outlook signature folder location. Just to make sure that</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Outlook is using the purposed folder defined with variable : FolderLocation</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Example is based on Dutch version.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Changing this in a production enviremont might create extra work</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' all employees are missing their old signatures</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> objShell, RegKey, RegKey07, RegKeyParm</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objShell = CreateObject(<span style="color: #006080;">"WScript.Shell"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">RegKey = <span style="color: #006080;">"HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">RegKey07 = <span style="color: #006080;">"HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\General"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">RegKey07 = RegKey07 &amp; <span style="color: #006080;">"\Signatures"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">RegKey = RegKey &amp; <span style="color: #006080;">"\Signatures"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objShell.RegWrite RegKey , <span style="color: #006080;">"AD_elcom"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objShell.RegWrite RegKey07 , <span style="color: #006080;">"AD_elcom"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">UserDataPath = ObjShell.ExpandEnvironmentStrings(<span style="color: #006080;">"%appdata%"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">FolderLocation = UserDataPath &amp;<span style="color: #006080;">"\Microsoft\AD_elcom\"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">HTMFileString = FolderLocation &amp; <span style="color: #006080;">"Elcom.htm"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' This section disables the change of the signature by the user.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\MailSettings\NewSignature" , "L1-Handtekening"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\MailSettings\ReplySignature" , "L1-Handtekening"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\Mail\EnableLogging" , "0", "REG_DWORD"  </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' This section checks if the signature directory exits and if not creates one.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> objFS1</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objFS1 = CreateObject(<span style="color: #006080;">"Scripting.FileSystemObject"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">If</span> (objFS1.FolderExists(FolderLocation)) <span style="color: #0000ff;">Then</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Else</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Call</span> objFS1.CreateFolder(FolderLocation)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">if</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' The next section builds the signature file</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> objFSO</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> objFile,afile</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> aQuote</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">aQuote = chr(34)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' This section builds the HTML file version</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objFSO = CreateObject(<span style="color: #006080;">"Scripting.FileSystemObject"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' This section deletes to other signatures.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' These signatures are automaticly created by Outlook 2003.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'====================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> AFile = objFSO.GetFile(Folderlocation&amp;<span style="color: #006080;">"Elcom.rtf"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">aFile.Delete</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> AFile = objFSO.GetFile(Folderlocation&amp;<span style="color: #006080;">"Elcom.txt"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">aFile.Delete</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'=========================================================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' This adds the Text file, will need to be changed accordingly</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'========================================================== </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objFile = objFSO.CreateTextFile(Folderlocation&amp;<span style="color: #006080;">"Elcom.txt"</span>,<span style="color: #0000ff;">True</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">""</span>&amp; FullName &amp; <span style="color: #006080;">" | "</span> &amp; title &amp; <span style="color: #006080;">" |  "</span> &amp; title &amp; <span style="color: #006080;">" | "</span>&amp; Company &amp; <span style="color: #006080;">" | Australian Technology Park"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"T +612 "</span> &amp; PhoneNumber &amp; <span style="color: #006080;">" | F +612 9209 4423 | www.elcom.com.au | "</span> &amp; Email &amp;<span style="color: #006080;">" "</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">" "</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">" "</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"--------------------------------------------------------------------------------"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"This email is intended for the intended recipients(s) and may contain confidential information. "</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"Reproduction, dissemination or distribution of this message is prohibited unless authorised by the sender."</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"If you are not the intended recipient, please notify the sender immediately and you must not read,"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"keep, use, disclose, copy or distribute this email without the sender's prior permission."</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.writeLine <span style="color: #006080;">"The views expressed by the sender are not necessarily those of Elcom Technology Pty Ltd "</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objFile.Close</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objFile = objFSO.CreateTextFile(HTMFileString,<span style="color: #0000ff;">True</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objFile.Close</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objFile = objFSO.OpenTextFile(HTMFileString, 2)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;!DOCTYPE HTML PUBLIC "</span> &amp; aQuote &amp; <span style="color: #006080;">"-//W3C//DTD HTML 4.0 Transitional//EN"</span> &amp; aQuote &amp; <span style="color: #006080;">"&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Microsoft Office Outlook Signature&lt;/TITLE&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;META http-equiv=Content-Type content="</span> &amp; aQuote &amp; <span style="color: #006080;">"text/html; charset=windows-1252"</span> &amp; aQuote &amp; <span style="color: #006080;">"&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;META content="</span> &amp; aQuote &amp; <span style="color: #006080;">"MSHTML 6.00.3790.186"</span> &amp; aQuote &amp; <span style="color: #006080;">" name=GENERATOR&gt;&lt;/HEAD&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;body&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;font color=696969 face="</span> &amp; aQuote &amp; <span style="color: #006080;">"Arial"</span> &amp; aQuote &amp; <span style="color: #006080;">"&gt;&lt;h6&gt; "</span>&amp; FullName &amp; <span style="color: #006080;">" | "</span> &amp; title &amp; <span style="color: #006080;">" | "</span>&amp; Company &amp; <span style="color: #006080;">" | Australian Technology Park &lt;br&gt;"</span>&amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"T +612 "</span> &amp; PhoneNumber &amp; <span style="color: #006080;">" | F +612 9209 4423 | &lt;a href=http://www.elcom.com.au&gt;&lt;font color=#696969&gt;www.elcom.com.au&lt;/font&gt;&lt;/a&gt; |&lt;a href=mailto:"</span> &amp; Email &amp;<span style="color: #006080;">" &gt; &lt;font color=#696969&gt;"</span> &amp; Email &amp;<span style="color: #006080;">" "</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;/h6&gt;&lt;/font&gt;&lt;/a&gt;&lt;/B&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;/font&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;font color=696969 face=arial&gt;&lt;A href=http://www.elcom.com.au/&gt; &lt;img src=http://www.elcom.com.au/images/elcom-logo-web-175x70.gif border=0&gt;&lt;/a&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;br&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;img src=http://www.elcom.com.au/images/mspartner.jpg&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;br&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;/font&gt;&lt;font color=696969 size=1 face=arial&gt;&lt;br&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;hr size=1 align=left width=465 color=696969&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">" This email is intended for the intended recipients(s) and may contain confidential information. &lt;br&gt; Reproduction, dissemination or distribution of this message is prohibited unless authorised by the sender.&lt;br&gt; If you are not the intended recipient, please notify the sender immediately and you must not read,&lt;br&gt; keep, use, disclose, copy or distribute this email without the sender's prior permission.&lt;br&gt; The views expressed by the sender are not necessarily those of Elcom Technology Pty Ltd&lt;/font&gt;"</span>  &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objfile.write <span style="color: #006080;">"&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;"</span> &amp; vbCrLf</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objFile.Close</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'==========================================================================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' This copies the .htm file and changes it to a RTF format</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'==========================================================================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'Set the Source and Destination paths below - CHANGE your file name</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">'---------------------------------------------------- </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Const</span> OverwriteExisting = <span style="color: #0000ff;">True</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objFSO = CreateObject(<span style="color: #006080;">"Scripting.FileSystemObject"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objFSO.CopyFile Folderlocation &amp; <span style="color: #006080;">"Elcom.htm"</span> , Folderlocation &amp; <span style="color: #006080;">"Elcom.rtf"</span>, OverwriteExisting</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' ===========================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' This section readsout the current Outlook profile and then sets the name of the default Signature</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' ===========================</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Use this version to set all accounts</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' in the default mail profile</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' to use a previously created signature  </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Call</span> SetDefaultSignature(<span style="color: #006080;">"Elcom"</span>,<span style="color: #006080;">""</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Use this version (and comment the other) to</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' modify a named profile.</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">'Call SetDefaultSignature _</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' ("Signature Name", "Profile Name")  </span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Sub</span> SetDefaultSignature(strSigName, strProfile)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Const</span> HKEY_CURRENT_USER = &amp;H80000001</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strComputer = <span style="color: #006080;">"."</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">If</span> <span style="color: #0000ff;">Not</span> IsOutlookRunning <span style="color: #0000ff;">Then</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objreg = GetObject(<span style="color: #006080;">"winmgmts:"</span> &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #006080;">"{impersonationLevel=impersonate}!\\"</span> &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strComputer &amp; <span style="color: #006080;">"\root\default:StdRegProv"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strKeyPath = <span style="color: #006080;">"Software\Microsoft\Windows NT\"</span> &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #006080;">"CurrentVersion\Windows "</span> &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #006080;">"Messaging Subsystem\Profiles\"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' get default profile name if none specified</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">If</span> strProfile = <span style="color: #006080;">""</span> <span style="color: #0000ff;">Then</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">objreg.GetStringValue HKEY_CURRENT_USER, _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strKeyPath, <span style="color: #006080;">"DefaultProfile"</span>, strProfile</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">If</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' build array from signature name</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">myArray = StringToByteArray(strSigName, <span style="color: #0000ff;">True</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strKeyPath = strKeyPath &amp; strProfile &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #006080;">"\9375CFF0413111d3B88A00104B2A6676"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objreg.EnumKey HKEY_CURRENT_USER, strKeyPath, _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">arrProfileKeys</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">For</span> <span style="color: #0000ff;">Each</span> subkey <span style="color: #0000ff;">In</span> arrProfileKeys</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strsubkeypath = strKeyPath &amp; <span style="color: #006080;">"\"</span> &amp; subkey</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objreg.SetBinaryValue HKEY_CURRENT_USER, _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strsubkeypath, <span style="color: #006080;">"New Signature"</span>, myArray</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">objreg.SetBinaryValue HKEY_CURRENT_USER, _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strsubkeypath, <span style="color: #006080;">"Reply-Forward Signature"</span>, myArray</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Next</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Else</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strMsg = <span style="color: #006080;">"Please shut down Outlook before "</span> &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #006080;">"running this script."</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">MsgBox strMsg, vbExclamation, <span style="color: #006080;">"SetDefaultSignature"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">If</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">Sub</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Function</span> IsOutlookRunning()</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strComputer = <span style="color: #006080;">"."</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strQuery = <span style="color: #006080;">"Select * from Win32_Process "</span> &amp; _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #006080;">"Where Name = 'Outlook.exe'"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> objWMIService = GetObject(<span style="color: #006080;">"winmgmts:"</span> _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">&amp; <span style="color: #006080;">"{impersonationLevel=impersonate}!\\"</span> _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">&amp; strComputer &amp; <span style="color: #006080;">"\root\cimv2"</span>)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Set</span> colProcesses = objWMIService.ExecQuery(strQuery)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">For</span> <span style="color: #0000ff;">Each</span> objProcess <span style="color: #0000ff;">In</span> colProcesses</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">If</span> UCase(objProcess.Name) = <span style="color: #006080;">"OUTLOOK.EXE"</span> <span style="color: #0000ff;">Then</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">IsOutlookRunning = <span style="color: #0000ff;">True</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Else</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">IsOutlookRunning = <span style="color: #0000ff;">False</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">If</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Next</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">Function</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Public</span> <span style="color: #0000ff;">Function</span> StringToByteArray _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">(Data, NeedNullTerminator)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> strAll</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strAll = StringToHex4(Data)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">If</span> NeedNullTerminator <span style="color: #0000ff;">Then</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strAll = strAll &amp; <span style="color: #006080;">"0000"</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">If</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">intLen = Len(strAll) \ 2</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">ReDim</span> arr(intLen - 1)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">For</span> i = 1 <span style="color: #0000ff;">To</span> Len(strAll) \ 2</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">arr(i - 1) = <span style="color: #0000ff;">CByte</span> _</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">(<span style="color: #006080;">"&amp;H"</span> &amp; Mid(strAll, (2 * i) - 1, 2))</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Next</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">StringToByteArray = arr</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">Function</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">Public</span> <span style="color: #0000ff;">Function</span> StringToHex4(Data)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Input: normal text</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' Output: four-character string for each character,</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' e.g. "3204" for lower-case Russian B,</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' "6500" for ASCII e</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' Output: correct characters</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #008000;">' needs to reverse order of bytes from 0432</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Dim</span> strAll</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">For</span> i = 1 <span style="color: #0000ff;">To</span> Len(Data)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #008000;">' get the four-character hex for each character</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strChar = Mid(Data, i, 1)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;">strTemp = Right(<span style="color: #006080;">"00"</span> &amp; Hex(AscW(strChar)), 4)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">strAll = strAll &amp; Right(strTemp, 2) &amp; Left(strTemp, 2)</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #0000ff;">Next</span></pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">StringToHex4 = strAll</pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"> </pre>
<pre style="font-size: 8pt; margin: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #0000ff;">End</span> <span style="color: #0000ff;">Function</span></pre>
</div>
</div>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/11/20/ad-based-outlook-email-signature-for-2003-and-2007-part-4-now-writes-txt-and-rtf-as-well-as-html/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Vista Built-in Screen Shot tool</title>
		<link>http://bradmarsh.net/index.php/2008/09/11/vista-built-in-screen-shot-tool/</link>
		<comments>http://bradmarsh.net/index.php/2008/09/11/vista-built-in-screen-shot-tool/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 05:52:32 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/09/11/vista-built-in-screen-shot-tool/</guid>
		<description><![CDATA[So today I was just briefly looking through start &#62; accessories, and I came across something called &#8217;snipping Tool&#8217;, this tool is one of those screen shot tool where you can quickly select the area you need to screen shot, whilst I work in remote desktops regularly and screen shots in this will give you [...]]]></description>
			<content:encoded><![CDATA[<p>So today I was just briefly looking through start &gt; accessories, and I came across something called &#8217;snipping Tool&#8217;, this tool is one of those screen shot tool where you can quickly select the area you need to screen shot, whilst I work in remote desktops regularly and screen shots in this will give you the active window of your remote desktops, server names and all that jazz, rather then the active session, or even active window within that session. this little tool I can see is going to save me time that&#8217;s for sure. </p>
<p>ok ok so I am little slow on find it, it only took me a year or so&#8230;.</p>
<p>- yes I know there a billion free ware apps out there that do this, but when it comes to installing items I am very picky I like to keep a clean a OS. </p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/09/11/vista-built-in-screen-shot-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VISTA: Remote Registry off by default</title>
		<link>http://bradmarsh.net/index.php/2008/05/28/vista-remote-registry-off-by-default/</link>
		<comments>http://bradmarsh.net/index.php/2008/05/28/vista-remote-registry-off-by-default/#comments</comments>
		<pubDate>Wed, 28 May 2008 22:54:36 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/05/28/vista-remote-registry-off-by-default/</guid>
		<description><![CDATA[Just a quick one today, as you probably have worked out the remote registry is turned off by default within windows vista making Sys Admin job&#8217;s a little harder to install third party applications through a central location. 
I was unable to find a script that would start the service and then create the service [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick one today, as you probably have worked out the remote registry is turned off by default within windows vista making Sys Admin job&#8217;s a little harder to install third party applications through a central location. </p>
<p>I was unable to find a script that would start the service and then create the service as automatic. </p>
<p>whilst the starting the service is easy enough, I wanted the service to be automatic, so that way we only have to run the script on all VISTA machines just once, there is no point running it every time on boot up when&nbsp; we can avoid slowing the system down a little. </p>
<p>Here is the script (.BAT) it will set the service to automatic (on XP and VISTA) </p>
<p>&nbsp;</p>
<div style="border-right:gray 1px solid;border-top:gray 1px solid;font-size:8pt;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;border-bottom:gray 1px solid;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">reg import <span style="color:#006080;">"\\DOMAINCONTROLLER NAME HERE\SYSVOL\DOMAIN\scripts\remotereg.reg"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">net start <span style="color:#006080;">"remote registry"</span></pre>
</div>
</div>
<p>NOTE: I did not use the delay start because my Group Policy applies to both XP and Vista, this would cause a conflict as the delay start is not an option in XP, I would recommend the delayed start method if you have isolated just your VISTA machines in a group policy</p>
<p>&nbsp;</p>
<p>Above you can see it is calling a .reg file this is the contents of the reg, copy and save it as a .reg file also</p>
<div style="border-right:gray 1px solid;border-top:gray 1px solid;font-size:8pt;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;border-bottom:gray 1px solid;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">Windows Registry Editor Version 5.00</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#006080;">"Start"</span>=dword:00000002</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">&nbsp;</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/05/28/vista-remote-registry-off-by-default/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vista Activation: 0&#215;8007232B &#8211; DNS name does not exist</title>
		<link>http://bradmarsh.net/index.php/2008/05/19/vista-activation-0x8007232b-dns-name-does-not-exist/</link>
		<comments>http://bradmarsh.net/index.php/2008/05/19/vista-activation-0x8007232b-dns-name-does-not-exist/#comments</comments>
		<pubDate>Mon, 19 May 2008 23:15:55 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/05/19/vista-activation-0x8007232b-dns-name-does-not-exist/</guid>
		<description><![CDATA[If you have installed a Volume licence version on Vista business / Enterprise, you may get the below error message when trying to active the product

a pretty useless error message, but it does have a very easy fix, simply go to computer and then &#8216;change Product Key&#8217; enter in the same product key that you [...]]]></description>
			<content:encoded><![CDATA[<p>If you have installed a Volume licence version on Vista business / Enterprise, you may get the below error message when trying to active the product</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/clip-image0021.jpg" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="240" alt="clip_image002" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/clip-image002-thumb1.jpg" width="328" border="0"></a></p>
<p>a pretty useless error message, but it does have a very easy fix, simply go to computer and then &#8216;change Product Key&#8217; enter in the same product key that you had previously used for the VISTA installation. </p>
<p>That&#8217;s it it should activate within seconds. </p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/05/19/vista-activation-0x8007232b-dns-name-does-not-exist/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Vista / 2008: Unable to move file into Command Line Window</title>
		<link>http://bradmarsh.net/index.php/2008/05/08/vista-2008-unable-to-move-file-into-command-line-window/</link>
		<comments>http://bradmarsh.net/index.php/2008/05/08/vista-2008-unable-to-move-file-into-command-line-window/#comments</comments>
		<pubDate>Thu, 08 May 2008 08:39:34 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/05/08/vista-2008-unable-to-move-file-into-command-line-window/</guid>
		<description><![CDATA[I am sure anyone that uses command line has at some point pulled a file from a active window into a command line, this way you don&#8217;t have to type the path, and lets face it some of those paths are horrendously long. 
If you have Vista or 2008 Server you will have noted that [...]]]></description>
			<content:encoded><![CDATA[<p>I am sure anyone that uses command line has at some point pulled a file from a active window into a command line, this way you don&#8217;t have to type the path, and lets face it some of those paths are horrendously long. </p>
<p>If you have Vista or 2008 Server you will have noted that you no longer have this function, and from doming some reading on this some time ago there is quite an up roar about it, rightfully so I say! </p>
<p>I and many others I know use this functionality on a very regular basis. I was looking high and low&nbsp; and just could not find anything, however today I stumbled across some way to do this, not exactly the same but its still a huge help</p>
<p>When you right click on a folder you get the following:</p>
<p>&nbsp;</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image4.png" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="374" alt="image" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image-thumb4.png" width="260" border="0"></a> </p>
<p>&nbsp;</p>
<p>BUT hold down SHIFT and then right click on the folder</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image5.png" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="437" alt="image" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image-thumb5.png" width="264" border="0"></a> </p>
<p>Notice the 2 new items within the list:</p>
<p><strong>&#8216;Open Command Window Here&#8217;</strong></p>
<p>Which will do this:</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image6.png" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="247" alt="image" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image-thumb6.png" width="490" border="0"></a> </p>
<p>And </p>
<p><strong>&#8216;Copy as Path&#8217;</strong></p>
<p>You wont see but when pressing paste or CTRL + V it will reveal the path, which in my case is:</p>
<p>&#8220;C:\Drivers\audio&#8221;</p>
<p>&nbsp;</p>
<p>the open command line is a big help, but this can only be used at the folder level if you try and do this on the file (eg .exe .bat .vbs) you will no longer have this option, however you will have the copy as path, this can be chosen and then paste this into your command line and then enter&#8230;</p>
<p>&nbsp;</p>
<p>No more typing the full path again.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/05/08/vista-2008-unable-to-move-file-into-command-line-window/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TIP: Speed Up Vista</title>
		<link>http://bradmarsh.net/index.php/2008/05/03/tip-speed-up-vista/</link>
		<comments>http://bradmarsh.net/index.php/2008/05/03/tip-speed-up-vista/#comments</comments>
		<pubDate>Sat, 03 May 2008 07:39:01 +0000</pubDate>
		<dc:creator>Brad Marsh</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://bradmarsh.wordpress.com/2008/05/03/tip-speed-up-vista/</guid>
		<description><![CDATA[Within Vista if your running your PC on a SATA drive, which lets face it most modern everyday PC&#8217;s use SATA drive including Notebooks.
Microsoft have an option called &#8216;Advanced Performance &#8216; that allows us write more to the cache, which in turn will speed up the performance of the PC, however the downside to this [...]]]></description>
			<content:encoded><![CDATA[<p>Within Vista if your running your PC on a SATA drive, which lets face it most modern everyday PC&#8217;s use SATA drive including Notebooks.
<p>Microsoft have an option called &#8216;Advanced Performance &#8216; that allows us write more to the cache, which in turn will speed up the performance of the PC, however the downside to this is&nbsp; that any power loss leaves the potential for data loss or disk corruption. </p>
<p>So for Notebook users, so long as your battery works (and you don&#8217;t let you battery go dead) use it, it is reasonably safe, for desktop users use it with caution, and maybe consider a UPS, the cost of a UPS these days is minimal. </p>
<p>Anyway I suppose you all want to know where and how to turn it on. </p>
<p>right click <strong>&#8216;Computer&#8217;</strong></p>
<p>Choose <strong>&#8216;Properties</strong>&#8216; you should see the below screen</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image1.png" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="380" alt="image" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image-thumb1.png" width="506" border="0"></a> </p>
<p>At the top left of this screen you will see <strong>&#8216;Device Manager&#8217;</strong>&nbsp; click this.</p>
<p> You will then see the below, Once you have it open locate your <strong>&#8216;Disk Drives&#8217;</strong></p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image2.png" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="368" alt="image" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image-thumb2.png" width="504" border="0"></a> </p>
<p>find your Disk you wish to speed up, and then right click on it choose &#8216;<strong>Properties</strong>&#8216;</p>
<p>Click on the <strong>&#8216;Policies&#8217;</strong> tab and then tick the 2 options as per below.</p>
<p><a href="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image3.png" ><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="410" alt="image" src="http://bradmarsh.net/wordpress/wp-content/uploads/2008/05/image-thumb3.png" width="371" border="0"></a>
<p>Done
<p>&nbsp;
<p> <img src='http://bradmarsh.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bradmarsh.net/index.php/2008/05/03/tip-speed-up-vista/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

