<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by asqui</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/asqui/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by asqui</title>
		<link>http://channel9.msdn.com/Niners/asqui/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/asqui/Discussions</link>
	<language>en</language>
	<pubDate>Sun, 26 May 2013 08:55:56 GMT</pubDate>
	<lastBuildDate>Sun, 26 May 2013 08:55:56 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - Incrementing Font sizes</title>
		<description><![CDATA[<p><font face="Verdana">So it seems that System.Drawing.Font is immutable. What is a nice way to increment the font size of a given control?<br>
<br>
You can initialise a new Font object from an existing one and specify a different FontStyle for the new object, but that's all. And there are no methods that return a new font object with one of the properties updated to a new value. (eg. myFont.NewSize(10)
 returns a handy copy of myFont with the size changed to 10)<br>
<br>
What am I missing? There must be some alternative to manually specifying all the properties...<br>
<br>
<br>
Thanks in advance,<br>
Dani</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/85093-Incrementing-Font-sizes/85093#85093</link>
		<pubDate>Mon, 11 Jul 2005 16:27:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/85093-Incrementing-Font-sizes/85093#85093</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>1</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Code re-use in Visual C# .NET Projects</title>
		<description><![CDATA[<p>Thanks guys. <br>
I completely missed the &quot;Link&quot; option in the Open button's drop-down.<br>
<br>
Works a treat!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/c40d83022f1449bca72b9dea0121f29d#c40d83022f1449bca72b9dea0121f29d</link>
		<pubDate>Fri, 10 Jun 2005 08:21:44 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/c40d83022f1449bca72b9dea0121f29d#c40d83022f1449bca72b9dea0121f29d</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>8</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Code re-use in Visual C# .NET Projects</title>
		<description><![CDATA[<p><font face="Verdana">I am trying to re-use a generic database selection form between two projects by pulling the *.cs and *.resx files into another directory and then having both projects use those files.<br>
<br>
Unfortunately, having done this, I can't work out how to include this form in both&nbsp;my projects.<br>
<br>
If I &quot;Add &gt; Existing Item...&quot; to my project it simply copies the files into my project directory.<br>
<br>
I tried hacking&nbsp;the *.csproj file as follows:<br>
<br>
<strong>Before:</strong><br>
<font size="1"><font face="Courier New">&lt;File<br>
&nbsp;&nbsp;&nbsp; RelPath = &quot;ServerSelectForm.cs&quot;<br>
&nbsp;&nbsp;&nbsp; SubType = &quot;Form&quot;<br>
&nbsp;&nbsp;&nbsp; BuildAction = &quot;Compile&quot;<br>
/&gt;<br>
&lt;File<br>
&nbsp;&nbsp;&nbsp; RelPath = &quot;ServerSelectForm.resx&quot;<br>
&nbsp;&nbsp;&nbsp; DependentUpon = &quot;ServerSelectForm.cs&quot;<br>
&nbsp;&nbsp;&nbsp; BuildAction = &quot;EmbeddedResource&quot;<br>
/&gt;</font><br>
</font><br>
<br>
<strong>After:<br>
</strong><font face="Courier New" size="1">&lt;File<br>
&nbsp;&nbsp;&nbsp; RelPath = &quot;..\_Common\DatabaseSelectorForm\DatabaseSelectorForm.cs&quot;<br>
&nbsp;&nbsp;&nbsp; SubType = &quot;Form&quot;<br>
&nbsp;&nbsp;&nbsp; BuildAction = &quot;Compile&quot;<br>
/&gt;<br>
&lt;File<br>
&nbsp;&nbsp;&nbsp; RelPath = &quot;..\_Common\DatabaseSelectorForm\DatabaseSelectorForm.resx&quot;<br>
&nbsp;&nbsp;&nbsp; DependentUpon = &quot;..\_Common\DatabaseSelectorForm\DatabaseSelectorForm.cs&quot;<br>
&nbsp;&nbsp;&nbsp; BuildAction = &quot;EmbeddedResource&quot;<br>
/&gt;<br>
</font><br>
<br>
If I do that Visual Studio doesn't like that -- it ignores those entries, doesn't load the form, and, upon saving the project, simply strips them out of the new project file!<br>
<br>
<br>
I strongly suspect that my whole approach to code re-use is a bit &quot;vb6&quot; -- could someone enlighten me to the 'proper' way to do this?<br>
<br>
(I was trying to avoid going all-out and compiling the form into a standalone DLL as I think that would be overkill.)<br>
<br>
<br>
Thanks in advance.</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/73267#73267</link>
		<pubDate>Tue, 07 Jun 2005 15:08:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/73267#73267</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>8</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Outlook 2003 - Calender - Prune View?</title>
		<description><![CDATA[<p>I'm not too sure what you're asking here.<br>
<br>
The view you show only displays two weeks history and two weeks future. If you want to see further into the future scroll down a bit.<br>
<br>
As far as I know, the calendar skeleton is fixed, though you can set up filters to pick what appointments are shown.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/62103-Outlook-2003-Calender-Prune-View/5a00037e9c7f46e88be79dea011e4e98#5a00037e9c7f46e88be79dea011e4e98</link>
		<pubDate>Mon, 09 May 2005 12:00:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/62103-Outlook-2003-Calender-Prune-View/5a00037e9c7f46e88be79dea011e4e98#5a00037e9c7f46e88be79dea011e4e98</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>2</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - C9 Birthday guy</title>
		<description><![CDATA[<p>Hmmm, maybe I should celebrate my birthday for an entire month too!<br>
<br>
I don't know, though... my lack of enthusiasm is already apparent -- if I divide it by thirty it might be spread so thin that it would just be a normal month like all the others (except with presants at the end!)</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/57659-C9-Birthday-guy/32b83cfc798e4270a36d9dec00404510#32b83cfc798e4270a36d9dec00404510</link>
		<pubDate>Tue, 26 Apr 2005 14:23:40 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/57659-C9-Birthday-guy/32b83cfc798e4270a36d9dec00404510#32b83cfc798e4270a36d9dec00404510</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - &#39;One more time...&#39; or C9 Videos CD+DVD</title>
		<description><![CDATA[<p><blockquote>
<div>Skriker V1.0 wrote:</div>
<div>Ill make 5 DVDs free of charge just postage to anywhere, email me if you want a disc</div>
</blockquote>
<br>
<br>
Now that's what I'm talking about!<br>
<br>
PS: <a href="http://channel9.msdn.com/ShowPost.aspx?PostID=54592#55135">Apparently</a> the full collection is three DVDs...<br>
(if there's significant demand for the archive amongst broadband users we might even get a Torrent going.)<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/43239-One-more-time-or-C9-Videos-CDDVD/18405c8e95494c6789d09dec00303799#18405c8e95494c6789d09dec00303799</link>
		<pubDate>Thu, 07 Apr 2005 10:01:31 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/43239-One-more-time-or-C9-Videos-CDDVD/18405c8e95494c6789d09dec00303799#18405c8e95494c6789d09dec00303799</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>13</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - &#39;One more time...&#39; or C9 Videos CD+DVD</title>
		<description><![CDATA[<p>Hmmmm, I was assuming that demand for this is likely to be low (limited to people who don't have broadband) therefore each person wanting a DVD set could find a willing volounteer to burn and mail the media.<br>
<br>
That would be informal enough, and the volounteers could even negotiate a price to cover costs and discourage 'unworthy' requests (though the hassle of transferring a few bucks across countries and currencies is unlikely to be worth it).<br>
<br>
I don't have a DVD burner at the moment, though if I did I'd be happy to send out a couple of packs for free. (Just to keep my Karma topped up, if nothing else)<br>
<br>
What do you guys think? I have seen this sort of thing work quite well in some communities.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/43239-One-more-time-or-C9-Videos-CDDVD/71f1d27a72ad4ebe95f79dec00303724#71f1d27a72ad4ebe95f79dec00303724</link>
		<pubDate>Thu, 07 Apr 2005 08:29:59 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/43239-One-more-time-or-C9-Videos-CDDVD/71f1d27a72ad4ebe95f79dec00303724#71f1d27a72ad4ebe95f79dec00303724</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>13</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - so guess who&#39;s one year old? ;)</title>
		<description><![CDATA[<p>A couple of people have mentioned that they're on dial-up connections and find it inconvenient or expensive to download videos.<br>
<br>
One possible solution would be to formulate an archive that fits on a CD or two (maybe even a DVD, if needed) with the entire year in Channel 9 videos (and possibly the associated commentary, or entire forum archives (?))<br>
<br>
CD burning is pretty inexpensive these days and, for the people with broadband, downloading a few meaty ISOs won't be too taxing. If the archive is made easily available then each
<strike>third-world</strike> dial-up patron could find a broadband buddy to burn him a CD to send via postal mail.<br>
<br>
Thoughts? Suggestions?<br>
<br>
I'd love to spearhead this campaign however I'm currently living away from home and don't have a PC at my apartment!<br>
<br>
<br>
The key questions are:<br>
<ol>
<li>Will the Channel 9 admin facilitate this by overcoming the primary hurdle&nbsp; and making an archive easily available.
</li><li>How big is such an archive likely to be? </li></ol>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/53124-so-guess-whos-one-year-old-/1411fd6df5364830a0749dec003b8a0f#1411fd6df5364830a0749dec003b8a0f</link>
		<pubDate>Wed, 06 Apr 2005 13:37:25 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/53124-so-guess-whos-one-year-old-/1411fd6df5364830a0749dec003b8a0f#1411fd6df5364830a0749dec003b8a0f</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>60</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Picture Encryption</title>
		<description><![CDATA[<p>I recommend you read Practical Cryptography by Niels Ferguson and Bruce Schneier (<a href="http://www.schneier.com/book-practical.html">http&#58;&#47;&#47;www.schneier.com&#47;book-practical.html</a>). It will shed a lot of light on cryptography, including why your idea, whilst novel, is not practical.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/35745-Picture-Encryption/c3610cbaecc140ebbbdb9dea013d6853#c3610cbaecc140ebbbdb9dea013d6853</link>
		<pubDate>Mon, 24 Jan 2005 18:55:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/35745-Picture-Encryption/c3610cbaecc140ebbbdb9dea013d6853#c3610cbaecc140ebbbdb9dea013d6853</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>20</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Mac Mini?</title>
		<description><![CDATA[<p><blockquote>
<div>adam_tj wrote:</div>
<div>Who's going to purchase the mac mini and ditch XP? www.apple.com/macmini</div>
</blockquote>
<br>
<br>
The machine I built three years ago has a higher spec than these devices -- why would I pay for a downgrade?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/34418-Mac-Mini/9c39f35c36f3425b887f9dea013ba384#9c39f35c36f3425b887f9dea013ba384</link>
		<pubDate>Thu, 13 Jan 2005 09:50:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/34418-Mac-Mini/9c39f35c36f3425b887f9dea013ba384#9c39f35c36f3425b887f9dea013ba384</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Displaying changes to a DataSet in C#</title>
		<description><![CDATA[<p><font face="Arial">I have an app which allows the user to effectively free-edit a database table. In a seperate datagrid I am displaying the changes to this table before they are commited.<br>
<br>
Currently I am just binding the audit grid to a dataview on the underlying table, selecting Added, ModifiedCurrent, and Deleted row states. Unfortunately this is a bit unclear as it does not distinguish, to the user, the difference between updated and deleted
 rows. Furthermore, if you update a row it is added to this audit list; if you then delete that same row, nothing changes in the audit list, so you may be forgiven for mistakenly thinking that the program is just going to commit the updated value as opposed
 to actually delete the row.<br>
<br>
I think the correct way to do what I want would be to hook some events on the underlying datatable, and generate my own dataset with the audit information, including details about row deletion/update status.<br>
<br>
Would this be the correct way to tackle the problem? If so, how should I go about it?<br>
<br>
<br>
Thanks in advance.</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/34345#34345</link>
		<pubDate>Wed, 12 Jan 2005 17:28:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/34345#34345</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>1</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Instructions...</title>
		<description><![CDATA[<p><blockquote>
<div>Rossj wrote:</div>
<div>
<blockquote>
<table>
<tbody>
<tr>
<td><img src="/Themes/redesign/images/icon-quote.gif"></td>
<td><strong>asqui wrote:</strong> <i>
<p>Plug in the sandwich maker and observe the green light once it has reached a steady-state. Wait until the state of the green light changes (approx. 4-5 minutes). The machine has now reached the correct temperature.<br>
<br>
Here:<br>
<br>
sandwichMaker.plugIn(ringMains.getNearestFreeSocket(sandwichMaker.location));<br>
assert(sandwichMaker.redLight.state == true);<br>
bool greenLightState = sandwichMaker.greenLight.state;<br>
while (sandwichMaker.greenLight.state == greenLightState) {};<br>
<br>
// the machine has now reached the correct temperature.</p>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Reminds me of the joke :&nbsp; How do you keep a programmer busy in the bath? Give him some shampoo - lather, rinse, repeat.&nbsp; At least I thought it was funny.<br>
</div>
</blockquote>
<br>
<br>
I tried to put&nbsp;some&nbsp;sort of timeout around the while loop but I couldn't work out how to do it -- I'm not very proficient with C# and the .NET Framework.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/33301-Instructions/9e4c2e9493274d71a63f9dea013a80a6#9e4c2e9493274d71a63f9dea013a80a6</link>
		<pubDate>Tue, 11 Jan 2005 15:09:18 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/33301-Instructions/9e4c2e9493274d71a63f9dea013a80a6#9e4c2e9493274d71a63f9dea013a80a6</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Instructions...</title>
		<description><![CDATA[<p>Plug in the sandwich maker and observe the green light once it has reached a steady-state. Wait until the state of the green light changes (approx. 4-5 minutes). The machine has now reached the correct temperature.<br>
<br>
Here:<br>
<br>
sandwichMaker.plugIn(ringMains.getNearestFreeSocket(sandwichMaker.location));<br>
assert(sandwichMaker.redLight.state == true);<br>
bool greenLightState = sandwichMaker.greenLight.state;<br>
while (sandwichMaker.greenLight.state == greenLightState) {};<br>
<br>
// the machine has now reached the correct temperature.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/33301-Instructions/5f6f61edba08438db3bd9dea013a8050#5f6f61edba08438db3bd9dea013a8050</link>
		<pubDate>Thu, 06 Jan 2005 16:14:31 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/33301-Instructions/5f6f61edba08438db3bd9dea013a8050#5f6f61edba08438db3bd9dea013a8050</guid>
		<dc:creator>asqui</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/asqui/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>