<?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>Robert Naylor &#187; Work / Microsoft</title>
	<atom:link href="http://robert.pobice.co.uk/cats/work-microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://robert.pobice.co.uk</link>
	<description>Random thoughts and tech tips</description>
	<lastBuildDate>Sun, 08 Jan 2012 12:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Silly networker error message</title>
		<link>http://robert.pobice.co.uk/2012/01/silly-networker-error-message/</link>
		<comments>http://robert.pobice.co.uk/2012/01/silly-networker-error-message/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 12:16:27 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Work / Microsoft]]></category>

		<guid isPermaLink="false">http://robert.pobice.co.uk/?p=136</guid>
		<description><![CDATA[This has been bugging me for a while.  Every so often after I get a waiting for tape message which is then handeled it get NetWorker media request: (critical) Waiting for 0 writable volume(s) to backup pool &#8216;Daily&#8217; tape on &#60;server name&#62; Huh?  I suppose strictly I should go and remove all writable volumes(s) from [...]]]></description>
			<content:encoded><![CDATA[<p>This has been bugging me for a while.  Every so often after I get a waiting for tape message which is then handeled it get</p>
<blockquote><p>NetWorker media request: (critical) Waiting for 0 writable volume(s) to backup pool &#8216;Daily&#8217; tape on &lt;server name&gt;</p></blockquote>
<p>Huh?  I suppose strictly I should go and remove all writable volumes(s) from the pool <img src='http://robert.pobice.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://robert.pobice.co.uk/2012/01/silly-networker-error-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AutoIT: _WordDocFindReplace in TextBox + Disable Macros</title>
		<link>http://robert.pobice.co.uk/2011/07/autoit-_worddocfindreplace-in-textbox-disable-macros/</link>
		<comments>http://robert.pobice.co.uk/2011/07/autoit-_worddocfindreplace-in-textbox-disable-macros/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 20:48:08 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[Work / Microsoft]]></category>
		<category><![CDATA[AutoIT]]></category>
		<category><![CDATA[Microsoft Word]]></category>
		<category><![CDATA[_WordDocFindReplace]]></category>

		<guid isPermaLink="false">http://robert.pobice.co.uk/?p=103</guid>
		<description><![CDATA[The Default _WordDocFindReplace only works with pretty standard word documents (It&#8217;s more the fault of the way VBA&#8217;s find function work the word.au3). However thanks to a few VBA samples on the web I&#8217;ve managed to come up with some code to get around this issue. First do your normal find &#038; replace to catch [...]]]></description>
			<content:encoded><![CDATA[<p>The Default _WordDocFindReplace only works with pretty standard word documents (It&#8217;s more the fault of the way VBA&#8217;s find function work the word.au3).  However thanks to a few VBA samples on the web I&#8217;ve managed to come up with some code to get around this issue.</p>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-3625954449815499";
/* Blog - Banner */
google_ad_slot = "8264994325";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>First do your normal find &#038; replace to catch anything in the &#8220;normal&#8221; layout section.  The following code example can then be used to search though each textbox in turn:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="autoit" style="font-family:monospace;"><span style="color: #0000FF; font-weight: bold;">For</span> <span style="font-weight: bold; color: #AA0000;">$j</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">To</span> <span style="font-weight: bold; color: #AA0000;">$oDoc</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Shapes</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Count</span> <span style="font-style: italic; color: #009933;">;For 1 to total number of textboxes</span>
	<span style="font-weight: bold; color: #AA0000;">$oDoc</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Shapes</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$j</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-weight: bold;">Select</span> <span style="font-style: italic; color: #009933;">;Select Text box $j</span>
	<span style="font-weight: bold; color: #AA0000;">$oDoc</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Application</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Selection</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">WholeStory</span> <span style="font-style: italic; color: #009933;">;Select content of textbox</span>
	<span style="font-weight: bold; color: #AA0000;">$oFind</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #0080FF; font-style: italic; font-weight: bold;">_WordDocFindReplace</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$oDoc</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;01924&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;xxxxxx&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span><span style="color: #FF0000; font-weight: bold;">,-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="font-style: italic; color: #009933;">;Find in current selection</span>
<span style="color: #0000FF; font-weight: bold;">Next</span></pre></td></tr></table></div>

<p>And yes $oDoc.Application.Selection.WholeStory is real!  It selects the content inside the text box.  The -1 parameter of the _WordDocFindReplace tells it to search just the current select.  Using 0 will cause _WordDocFindReplace to select all the normal content and search that, ignoring the textbox</p>
<p>As for disabling Macro&#8217;s (for example if you want to stop any automatic macros from firing when open a document) you can use:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="autoit" style="font-family:monospace;"><span style="font-weight: bold; color: #AA0000;">$AutomationSecurity</span><span style="color: #FF0000; font-weight: bold;">=</span><span style="font-weight: bold; color: #AA0000;">$oWordApp</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Application</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">AutomationSecurity</span> <span style="font-style: italic; color: #009933;">;Save Settings</span>
<span style="font-weight: bold; color: #AA0000;">$oWordApp</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Application</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">AutomationSecurity</span><span style="color: #FF0000; font-weight: bold;">=</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">3</span> <span style="font-style: italic; color: #009933;">;Disable Macros</span></pre></td></tr></table></div>

<p>To restore the settings use</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="autoit" style="font-family:monospace;"><span style="font-weight: bold; color: #AA0000;">$oWordApp</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">Application</span><span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">AutomationSecurity</span><span style="color: #FF0000; font-weight: bold;">=</span><span style="font-weight: bold; color: #AA0000;">$AutomationSecurity</span></pre></td></tr></table></div>

<p>Hope someone out there finds this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://robert.pobice.co.uk/2011/07/autoit-_worddocfindreplace-in-textbox-disable-macros/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cacti</title>
		<link>http://robert.pobice.co.uk/2006/07/cacti/</link>
		<comments>http://robert.pobice.co.uk/2006/07/cacti/#comments</comments>
		<pubDate>Sun, 02 Jul 2006 11:16:08 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Thumbs Up]]></category>
		<category><![CDATA[Work / Microsoft]]></category>

		<guid isPermaLink="false">http://blog.pobice.co.uk/index/archives/2006/07/22</guid>
		<description><![CDATA[Just added another plug-in to cacti over the last couple of weeks &#8211; weathermap. Basically allows you to draw diagrams of you&#8217;re network, and it takes data from the rrd files and displays different coloured arrows show the percentage of the link used. Basically allowing you to see whats going on, on your network and [...]]]></description>
			<content:encoded><![CDATA[<p>Just added another plug-in to cacti over the last couple of weeks &#8211; <a href=http://wotsit.thingy.com/haj/cacti/php-weathermap/?v=0.82>weathermap.</a></p>
<p>Basically allows you to draw diagrams of you&#8217;re network, and it takes data from the rrd files and displays different coloured arrows show the percentage of the link used.</p>
<p>Basically allowing you to see whats going on, on your network and where all the traffic is going/coming from</p>
]]></content:encoded>
			<wfw:commentRss>http://robert.pobice.co.uk/2006/07/cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Search</title>
		<link>http://robert.pobice.co.uk/2006/01/microsoft-search/</link>
		<comments>http://robert.pobice.co.uk/2006/01/microsoft-search/#comments</comments>
		<pubDate>Wed, 25 Jan 2006 20:19:25 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Work / Microsoft]]></category>

		<guid isPermaLink="false">http://blog.pobice.co.uk/index/archives/2006/01/12</guid>
		<description><![CDATA[Had something interesting occur it work. We were trying to free up space on the server that stores My Documents (in desperation), removing large files which were obviously not work related, and compressing some of the un-used large files that were work related. Unfortunately I forgot to hold down shift and sent a couple of [...]]]></description>
			<content:encoded><![CDATA[<p>Had something interesting occur it work.  We were trying to free up space on the server that stores My Documents (in desperation), removing large files which were obviously not work related, and compressing some of the un-used large files that were work related.  Unfortunately I forgot to hold down shift and sent a couple of items to the recycle bin.  I then remembered I arrange to fix a job, about 5 mins ago &#8211; so locked my computer and dashed out to fix said job.</p>
<p>When I cam back Microsoft file search was still going but showing thousands of copies of one these silly name the item thing.  I tried to delete them but couldn&#8217;t.    Tried to open them &#8211; couldn&#8217;t.  Opened the folder and the file was there, tried to open and delete said item but couldn&#8217;t.  I then took a look at the location and it dawned on me.</p>
<p>In Microsoft infinite wisdom when you open the actual folder contain the recycle bin items, it does some background trickery and shows no matter who&#8217;s recycle bin you look at the content of you&#8217;re own (unless using commands line etc).  It seems this also applies to search for files.  As nearly all our users have recycle bins it had searched them (and looked in mine) found this file and shown it up, thinking that it was contained in this folder.</p>
<p>It had ruined my search, so I ended up emptying my recycle bin and starting the long search process again.</p>
]]></content:encoded>
			<wfw:commentRss>http://robert.pobice.co.uk/2006/01/microsoft-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS broke my Citrix Servers</title>
		<link>http://robert.pobice.co.uk/2005/12/sms-broke-my-citrix-servers/</link>
		<comments>http://robert.pobice.co.uk/2005/12/sms-broke-my-citrix-servers/#comments</comments>
		<pubDate>Tue, 13 Dec 2005 21:18:19 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Work / Microsoft]]></category>

		<guid isPermaLink="false">http://blog.pobice.co.uk/index/archives/2005/12/9</guid>
		<description><![CDATA[Well ok it didn&#8217;t brake them, just upset them a little bit. It appears after someone other Hospital installed SMS to our new domain at forest level, and didn&#8217;t enter in any boundaries, nor exclude servers SMS has ended up on all of the new Citrix serves. This wouldn&#8217;t be too bad if it wasn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Well ok it didn&#8217;t brake them, just upset them a little bit.</p>
<p>It appears after someone other Hospital installed SMS to our new domain at forest level, and didn&#8217;t enter in any boundaries, nor exclude servers SMS has ended up on all of the new Citrix serves.</p>
<p>This wouldn&#8217;t be too bad if it wasn&#8217;t for the fact it&#8217;s made logon/logoff synchronise &#8211; so you have to que to login, hence some very mysterious pauses in the while process.  The usuall debugging tricks didn&#8217;t help either.  It took a trip to the citrix website and a search of the forums to come up with a couple of MS article on the problem (this affects plan Terminal Services servers too&#8230;.)</p>
<p>What I have tried is to upgrade the client to the latest version and the home the dam thing to our own system so it won&#8217;t slow it down network wise (its on a neighbouring switch &#8211; one of them connects to the gig link on the other at present, on the same vlan).  Plus it appears to have stopped queuing logons/logoff and just gets on with them.   Either that or the client isn&#8217;t active enough.  I&#8217;ll just have to keep an eye on them for when they restart.</p>
<p>So remember when pushing out SMS clients on big multi domained networks &#8211; define boundaries <strong><em>before</em></strong> pushing the bloody clients out &#8211; and don&#8217;t give the bugger rights to everyone in the forest if that isn&#8217;t what you want.   Oh and defiantly don&#8217;t install them on servers without checking on any performance hits or operational differences it may cause.</p>
]]></content:encoded>
			<wfw:commentRss>http://robert.pobice.co.uk/2005/12/sms-broke-my-citrix-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

