<?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>chillijam.co.uk &#187; microsoft</title>
	<atom:link href="http://chillijam.co.uk/category/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://chillijam.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 28 Jan 2021 10:32:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Audio and image support &#8211; Gotcha!</title>
		<link>http://chillijam.co.uk/2009/10/16/audio-and-image-support-gotcha/</link>
		<comments>http://chillijam.co.uk/2009/10/16/audio-and-image-support-gotcha/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 10:46:00 +0000</pubDate>
		<dc:creator><![CDATA[Marc]]></dc:creator>
				<category><![CDATA[Doh!]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[MSTSC audio support]]></category>

		<guid isPermaLink="false">http://chillijam.co.uk/2009/10/16/audio-and-image-support-gotcha/</guid>
		<description><![CDATA[I’m currently working on a WPF application to extend a Silverlight control to support the capture of audio and webcam still images.&#160;&#160; All seems to be going pretty well using a Logitech QuickCam Communicate STX as the capture device, using Avicap32.dll to handle images and NAudio for the audio. Or so I thought.&#160; When I &#8230; <a href="http://chillijam.co.uk/2009/10/16/audio-and-image-support-gotcha/" class="more-link">Continue reading <span class="screen-reader-text">Audio and image support &#8211; Gotcha!</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I’m currently working on a WPF application to extend a Silverlight control to support the capture of audio and webcam still images.&#160;&#160; All seems to be going pretty well using a Logitech QuickCam Communicate STX as the capture device, using Avicap32.dll to handle images and NAudio for the audio.</p>
<p>Or so I thought.&#160; When I deployed the application to my second dev environment, I kept getting the error “NoDriver calling waveInOpen”.&#160; I spent a long while researching what the problem was, and kept coming up with the answer “Everyone says there is no audio driver installed, but I know it is there because I built the machine myself.”</p>
<p>That’s when it hit me.&#160; The light bulb moment.&#160; The moment when one tiny detail that was staring me in the face suddenly made itself apparent.&#160; I was using the second machine in an MSTSC session from my main dev box, and had opted to bring audio across to the main box, too.&#160; A quick setting change in the client configuration for MSTSC and all was well again.&#160; I thought I’d better blog it to stop anyone else beating their head against a wall for an hour.</p>
]]></content:encoded>
			<wfw:commentRss>http://chillijam.co.uk/2009/10/16/audio-and-image-support-gotcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hint text in ASP.NET TextBox controls</title>
		<link>http://chillijam.co.uk/2008/06/03/hint-text-in-aspnet-textbox-controls/</link>
		<comments>http://chillijam.co.uk/2008/06/03/hint-text-in-aspnet-textbox-controls/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 14:44:11 +0000</pubDate>
		<dc:creator><![CDATA[Marc]]></dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[Javascrip]]></category>

		<guid isPermaLink="false">http://chillijam.co.uk/?p=18</guid>
		<description><![CDATA[More and more often these days, you see hint text in a textbox control on a web form.  You know the kind of thing &#8211; &#8220;user name&#8221; or &#8220;password&#8221; appearing in silver text within an input control.  Well, I had to implement that functionality today and it is surprisingly easy to achieve. The first thing &#8230; <a href="http://chillijam.co.uk/2008/06/03/hint-text-in-aspnet-textbox-controls/" class="more-link">Continue reading <span class="screen-reader-text">Hint text in ASP.NET TextBox controls</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>More and more often these days, you see hint text in a textbox control on a web form.  You know the kind of thing &#8211; &#8220;user name&#8221; or &#8220;password&#8221; appearing in silver text within an input control.  Well, I had to implement that functionality today and it is surprisingly easy to achieve.</p>
<p>The first thing you need to do is create your TextBox control on the page.  Once you&#8217;ve done that, add the following method to your codebehind file.</p>
<p>private void SetTextBoxHints(TextBox textBox, string defaultText)<br />
{<br />
textBox.Attributes.Add(&#8220;onfocus&#8221;, &#8220;clearText(this,'&#8221; + defaultText + &#8220;&#8216;)&#8221;);<br />
textBox.Attributes.Add(&#8220;onblur&#8221;, &#8220;resetText(this,'&#8221; + defaultText + &#8220;&#8216;)&#8221;);<br />
if (textBox.Text == &#8220;&#8221;)<br />
{<br />
textBox.Text = defaultText;<br />
textBox.ForeColor = System.Drawing.Color.Silver;<br />
}<br />
else if (textBox.Text == defaultText)<br />
{<br />
textBox.ForeColor = System.Drawing.Color.Silver;<br />
}<br />
else<br />
{<br />
textBox.ForeColor = System.Drawing.Color.Black;</p>
<p>}</p>
<p> Next, you&#8217;ll need to add the javascript to the page/user control to look after the dynamic changes in content/colour. </p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;
&lt;!--
function clearText(ctrl,defaultText) {
if(ctrl.value == defaultText)
ctrl.value = &quot;&quot;
ctrl.style.color = &quot;#000000&quot;;
}
function resetText(ctrl,defaultText) {
if(ctrl.value == &quot;&quot;)
{
 ctrl.value = defaultText
 ctrl.style.color = &quot;#C0C0C0&quot;;
}
}
// --&gt;
&lt;/script&gt;</pre>
<p>Then, you need to call the setup method for each Textbox you want to control.</p>
<pre>
<pre>
SetTextBoxHints(myControl, "the text you want to show as default...");
</pre>
<p><span style="font-size: x-small;">And that, as they say, is that.  Enjoy.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://chillijam.co.uk/2008/06/03/hint-text-in-aspnet-textbox-controls/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Multiple Async calls to a web service</title>
		<link>http://chillijam.co.uk/2008/05/21/multiple-async-calls-to-a-web-service/</link>
		<comments>http://chillijam.co.uk/2008/05/21/multiple-async-calls-to-a-web-service/#comments</comments>
		<pubDate>Wed, 21 May 2008 09:53:27 +0000</pubDate>
		<dc:creator><![CDATA[Marc]]></dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Async calling]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://chillijam.co.uk/?p=17</guid>
		<description><![CDATA[I&#8217;m currently working on a project that requires making several concurrent asynchronous calls to a web service.  Now, the service work fine synchrounously, but change the pattern slightly and I was getting the following error. &#8220;There was an error during asynchronous processing. Unique state object is required for multiple asynchronous simultaneous operations to be outstanding.&#8221; &#8230; <a href="http://chillijam.co.uk/2008/05/21/multiple-async-calls-to-a-web-service/" class="more-link">Continue reading <span class="screen-reader-text">Multiple Async calls to a web service</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m currently working on a project that requires making several concurrent asynchronous calls to a web service.  Now, the service work fine synchrounously, but change the pattern slightly and I was getting the following error.</p>
<p style="padding-left: 30px;"><em>&#8220;There was an error during asynchronous processing. Unique state object is required for multiple asynchronous simultaneous operations to be outstanding.&#8221;</em></p>
<p>The solution, courtesy of a post on the <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=586830&amp;SiteID=1" target="_blank">MSDN forums</a> was to pass a new GUID as a state object.</p>
<p>Problem solved.</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://chillijam.co.uk/2008/05/21/multiple-async-calls-to-a-web-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Home Server RC2</title>
		<link>http://chillijam.co.uk/2007/06/16/windows-home-server-rc2/</link>
		<comments>http://chillijam.co.uk/2007/06/16/windows-home-server-rc2/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 18:23:31 +0000</pubDate>
		<dc:creator><![CDATA[Marc]]></dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows Home Server]]></category>

		<guid isPermaLink="false">http://chillijam.co.uk/?p=4</guid>
		<description><![CDATA[I&#8217;ve just installed the RC2 release of Windows Home Server. It looks pretty good, to be honest. I wasn&#8217;t expecting much, but the feature set seems to be rich enough for most users&#8217; purposes. I&#8217;ll update this post later when I can tell you how it&#8217;s getting along. **UPDATE** I&#8217;ve just spent a few hours &#8230; <a href="http://chillijam.co.uk/2007/06/16/windows-home-server-rc2/" class="more-link">Continue reading <span class="screen-reader-text">Windows Home Server RC2</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just installed the RC2 release of <a href="http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx">Windows Home Server</a>. It looks pretty good, to be honest. I wasn&#8217;t expecting much, but the feature set seems to be rich enough for most users&#8217; purposes. I&#8217;ll update this post later when I can tell you how it&#8217;s getting along.</p>
<p>**UPDATE**</p>
<p>I&#8217;ve just spent a few hours playing with the server software, and it appears to be quite useful.  I popped the client cd into each of my laptops, and within a few minutes, they were backing their data up to the server.  A few hours later, and everything was backed up. </p>
<p>I also looked at the remote access features (although I have since disabled them &#8211; I don&#8217;t want to open up a hole in my firewall if I don&#8217;t need to).  Setting my router/firewall to UPNP mode, the server was able to auto-configure everything to allow access from the nasty ole web without hitch.  I am sure that there will be many users who will find this feature very useful, but I&#8217;m not one of them.  As I said before I don&#8217;t want to open up my firewall any more than I have to.</p>
<p>I also took a chance and installed SlimServer on the box.  I doubt it is supported, but it works well enough so I am happy to leave it on there.  It also means I can migrate the music from my existing SlimServer &#8211; handy as the old box is about 3MB short of running out of disk space.</p>
<p>That was a very quick spin through the server&#8217;s capabilities.  I&#8217;ll hopefully get some more time next weekend to play again.  If I find anything I missed, I&#8217;ll let you know.</p>
]]></content:encoded>
			<wfw:commentRss>http://chillijam.co.uk/2007/06/16/windows-home-server-rc2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
