<?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 MonkeyMon</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/MonkeyMon/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 MonkeyMon</title>
		<link>http://channel9.msdn.com/Niners/MonkeyMon/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/MonkeyMon/Discussions</link>
	<language>en</language>
	<pubDate>Sat, 18 May 2013 15:07:09 GMT</pubDate>
	<lastBuildDate>Sat, 18 May 2013 15:07:09 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - Using UIPAB Wisely</title>
		<description><![CDATA[<p>Welp,<br>
<br>
GotDotNEt workspace is down.<br>
<br>
It is presently beyond my control for any of the following reasons..pick one:<br>
1. Censorship - nothing on site is anything but G-rated.<br>
2. MS Servers are overloaded - not a good advertisement for MS software.<br>
3. GotDotNet site itself is buggy - I could get to other workspaces.<br>
4. As owner of site i screwed up the configuration somehow - possible.&nbsp; I don't work at Microsoft so I'm boring and fallible.<br>
<br>
Anyhoo - hopes that the site is back up soon.....<br>
<br>
Harry</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/6437-Using-UIPAB-Wisely/f6121c5a509a4a40b9329dea01104a3a#f6121c5a509a4a40b9329dea01104a3a</link>
		<pubDate>Thu, 13 May 2004 14:19:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/6437-Using-UIPAB-Wisely/f6121c5a509a4a40b9329dea01104a3a#f6121c5a509a4a40b9329dea01104a3a</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Using UIPAB Wisely</title>
		<description><![CDATA[<p>Please come on over to my new workspace for a simple ASP.NET/VB.NET sample using the UIPAB.
<a href="http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=a9ab4d8d-6a35-456e-b70d-0e40cbbae8d5">
<br>
<br>
http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=a9ab4d8d-6a35-456e-b70d-0e40cbbae8d5<br>
</a><br>
There's a discussion newsgroup there and it'll be active. See you soon.&nbsp; Also downloadable sample that works and is simple to follow.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/6437-Using-UIPAB-Wisely/c57620d7fff04ca6af9d9dea01104a10#c57620d7fff04ca6af9d9dea01104a10</link>
		<pubDate>Tue, 11 May 2004 21:35:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/6437-Using-UIPAB-Wisely/c57620d7fff04ca6af9d9dea01104a10#c57620d7fff04ca6af9d9dea01104a10</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>Come on over to my new workspace for a simple ASP.NET/VB.NET sample using the UIPAB.
<a href="http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=a9ab4d8d-6a35-456e-b70d-0e40cbbae8d5">
<br /><br />http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=a9ab4d8d-6a35-456e-b70d-0e40cbbae8d5<br /></a><br />Discussion newsgroup there and it'll be active.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/e3f454e86dc247e8a4ca9dea010fdd4b#e3f454e86dc247e8a4ca9dea010fdd4b</link>
		<pubDate>Tue, 11 May 2004 21:33:17 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/e3f454e86dc247e8a4ca9dea010fdd4b#e3f454e86dc247e8a4ca9dea010fdd4b</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Using UIPAB Wisely</title>
		<description><![CDATA[<p>I've finally got a web sample of mine configured to at least navigate using ther UIPAB.<br>
<br>
The next challenge is to figure out how to take care of traditional forms control operations.&nbsp; Do we try to include all these methods in the controller class??&nbsp; or do we continue to call them in the code behind?<br>
<br>
Seems like most of the samples from MS are one task, one screen type architecture, whereas in the real world, the ASP.NET screen does a lot of work simply posting back to itself.....trying to grasp this new paradigm.<br>
<br>
Any ideas, thoughts, or grotesque noises??<br>
<br>
Harry</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/6437-Using-UIPAB-Wisely/6437#6437</link>
		<pubDate>Tue, 11 May 2004 18:57:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/6437-Using-UIPAB-Wisely/6437#6437</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>yes, that document gave me a headache 3 out of 5 days last week.<br /><br />I'm at the point now that I'm just trying to throw together a working model using the UIPBA.&nbsp;
<br /><br />I've done everything the way i understand it but still getting errors within the UIPAB code which i've tried to figure out what part of my code is raising the error....<br /><br />I feel like i'm close to getting this thiong going.&nbsp; I use VB.NET so some of the UIPAB is not a readable as I'd like for source perusal....<br /><br />Thanks</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/ea7a8f2ca9a2465e85579dea010fdd21#ea7a8f2ca9a2465e85579dea010fdd21</link>
		<pubDate>Mon, 10 May 2004 13:58:17 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/ea7a8f2ca9a2465e85579dea010fdd21#ea7a8f2ca9a2465e85579dea010fdd21</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Roll call - tell us who you are!</title>
		<description><![CDATA[<p>Karim,<br>
<br>
pretty sure we are related.....it could be a coincidence that our childhoods so closely mirror eachothers!!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/1445-Roll-call-tell-us-who-you-are/16c8f96f8a0d4aefa39e9dea011209c5#16c8f96f8a0d4aefa39e9dea011209c5</link>
		<pubDate>Fri, 07 May 2004 19:08:01 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/1445-Roll-call-tell-us-who-you-are/16c8f96f8a0d4aefa39e9dea011209c5#16c8f96f8a0d4aefa39e9dea011209c5</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>424</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>Thanks,<br /><br />I &quot;applied&quot; to join their workspace though the newsgroup their is probably what i was looking for....one stumbling block was answered in first 10 minutes.&nbsp; Thanks</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/a03f09df46d64ee28a499dea010fdcce#a03f09df46d64ee28a499dea010fdcce</link>
		<pubDate>Fri, 07 May 2004 18:56:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/a03f09df46d64ee28a499dea010fdcce#a03f09df46d64ee28a499dea010fdcce</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>All this posting to myself is blurring my vision. But perhaps I can help others through my quest.<br /><br />NEWS FLASH:<br />MSDN Architecture Webcast: patterns &amp; practices Live: User Interface Process Block Version 2 – Level 200 &nbsp;&nbsp;
<br /><br /><table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>5/20/2004 11:00 AM - 5/20/2004 12:30 PM <br />Language: English-American
<div id="panOnSiteEvent"><br />Live Meeting Webcast <br /></div>
</td>
</tr>
</tbody>
</table>
<a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032250516&amp;Culture=en-US">http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032250516&amp;Culture=en-US</a><br /><br />Apparently only two people on the face of the Earth are actually trying to use the UIP.&nbsp; And we're both a tad frustrated with the lack of response.<br /><br />I'm thinking that the UIP is a stop gap unsupported crutch for use until VS2005 ships - everything will change then right?
<br /><br />&lt;Tap tap tap&gt; is this mike on? &lt;/Tap tap tap&gt;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/b5605147bad44f8593619dea010fdc7c#b5605147bad44f8593619dea010fdc7c</link>
		<pubDate>Fri, 07 May 2004 13:44:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/b5605147bad44f8593619dea010fdc7c#b5605147bad44f8593619dea010fdc7c</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Roll call - tell us who you are!</title>
		<description><![CDATA[<p>My name is Harry Simpson.&nbsp; I've been doing ASP.NET since the original PDC release.&nbsp; At that time i was a developer/consultant for Quilogy (SoluTech).&nbsp; I started my own company MicroWorks back in 1994. My first website went up in 1995.&nbsp;OVer the next 5 years
 i produce 5 commercial software products, mostly engineering apps. I'm a member and past BOD of the Association of Shareware Professionals.
<br>
<br>
Presently do VB.NET, ASP.NET for a medical software company. I'm an MCSD and let my MCT run out (MS wanted $400 and i was unemployed at the time....)<br>
<br>
I've been giving myself headaches on a daily basis trying to wrap my brain around the UI Process Application Block and was hoping for a little help from Channel9.&nbsp;
<br>
<br>
For fun and work i also write apps for the Pocket PC. USe to write Palm apps too.
<br>
<br>
I go home to a wonderful woman (2nd anniversary this month) who buys me beer and wants power tools for HER birthday......the good life!<br>
<br>
The site looks great and my hopes are high.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/1445-Roll-call-tell-us-who-you-are/f87b631dbb3b4acb8f369dea01120999#f87b631dbb3b4acb8f369dea01120999</link>
		<pubDate>Thu, 06 May 2004 21:58:01 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/1445-Roll-call-tell-us-who-you-are/f87b631dbb3b4acb8f369dea01120999#f87b631dbb3b4acb8f369dea01120999</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>424</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>If i didn't respond to my post, who would.&nbsp; Where's the Microsoft Love for Developers here?<br /><br />I'm trying to build the most simple implementation of the UIP block in a test web app.&nbsp; One screen....i can't get the one screen to even display - of course i'm inheriting the aspx page from WebFormView.<br /><br />I've got all the pieces in place but run the app and get an error within the block class:<br /><br />private SessionMoniker GetSessionMoniker()<br />Line 114: { <br />Line 115: SessionMoniker sessionMoniker = SessionMoniker.GetFromSession( new Guid( Session[CurrentTaskKey].ToString() ) );<br />Line 116: return sessionMoniker;<br />Line 117: }<br /><br />I'd really like to understand this block and how to use it before trashing it in favor of anything else.<br /><br />I've tried the newsgroups but get about the same response there as here so far.&nbsp; I guess this may be another instance of something built but never really ever used in real practice eh?<br /><br />Thanks for weathering the mild rant.....</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/adea779477dd43d084f79dea010fdc50#adea779477dd43d084f79dea010fdc50</link>
		<pubDate>Thu, 06 May 2004 20:57:28 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/adea779477dd43d084f79dea010fdc50#adea779477dd43d084f79dea010fdc50</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>Is there anyone at Channel9 that could direct me to resources for the User Interface Application Block?<br /><br />Also, that'd be a great video to interview the folks that created it and talk about the uses, applications, etc.<br /><br />Thanks</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/ae90c82b9fe8497fa4b89dea010fdc25#ae90c82b9fe8497fa4b89dea010fdc25</link>
		<pubDate>Thu, 06 May 2004 13:27:23 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/ae90c82b9fe8497fa4b89dea010fdc25#ae90c82b9fe8497fa4b89dea010fdc25</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Programming - VB.Net: Thumbnail Directory View</title>
		<description><![CDATA[<p>Be careful with objects in .NET passing ByVal.&nbsp; Many objects are passed ByRef even with the ByVal declaration since a pointer only is passed. In several examples from MS, they actually populate datasets passed in ByVal in Sub Procedures.....took me a while
 to figure out what was going on cause I'd prefer to always use a function if i'm grabbing data if possible.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5660-Programming-VBNet-Thumbnail-Directory-View/3a7b25e8b3254e29a33f9dea010fc33c#3a7b25e8b3254e29a33f9dea010fc33c</link>
		<pubDate>Wed, 05 May 2004 21:16:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5660-Programming-VBNet-Thumbnail-Directory-View/3a7b25e8b3254e29a33f9dea010fc33c#3a7b25e8b3254e29a33f9dea010fc33c</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>8</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Whats your fav Band or artist?</title>
		<description><![CDATA[<p>Little Feat<br />Steve Miller Band (non-top 40 crap that is)<br />Cream</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/3903-Whats-your-fav-Band-or-artist/99af606153b94dc4a2269dea010ef7c4#99af606153b94dc4a2269dea010ef7c4</link>
		<pubDate>Wed, 05 May 2004 21:06:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/3903-Whats-your-fav-Band-or-artist/99af606153b94dc4a2269dea010ef7c4#99af606153b94dc4a2269dea010ef7c4</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>17</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Whats your fav Band or artist?</title>
		<description><![CDATA[<p>Actually i got a little burned out on insaneclownposse and went back to country.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/3903-Whats-your-fav-Band-or-artist/6eadd0e47bd044b8b47b9dea010ef730#6eadd0e47bd044b8b47b9dea010ef730</link>
		<pubDate>Wed, 05 May 2004 19:35:17 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/3903-Whats-your-fav-Band-or-artist/6eadd0e47bd044b8b47b9dea010ef730#6eadd0e47bd044b8b47b9dea010ef730</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>17</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - tools of the trade</title>
		<description><![CDATA[<p>another site to download the app:<br />&nbsp;<a title="http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=01e0dfb7-0182-45cd-94f7-2ed2df2504a9" href="http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=01e0dfb7-0182-45cd-94f7-2ed2df2504a9">http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=01e0dfb7-0182-45cd-94f7-2ed2df2504a9</a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5664-tools-of-the-trade/7d1b9503e1ae478b80e59dea010fc5dc#7d1b9503e1ae478b80e59dea010fc5dc</link>
		<pubDate>Wed, 05 May 2004 18:04:41 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5664-tools-of-the-trade/7d1b9503e1ae478b80e59dea010fc5dc#7d1b9503e1ae478b80e59dea010fc5dc</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>Thanks,<br /><br />I'd seen this but was turned off by the C# but heck if the logic is there i can translate.
<br /><br />Grabbed both and will have the articles for lunch.<br /><br />Harry</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/abe9b72fad4d4cf6b7d79dea010fdbfc#abe9b72fad4d4cf6b7d79dea010fdbfc</link>
		<pubDate>Wed, 05 May 2004 17:01:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/abe9b72fad4d4cf6b7d79dea010fdbfc#abe9b72fad4d4cf6b7d79dea010fdbfc</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - tools of the trade</title>
		<description><![CDATA[<p>Download link is erroring out....another source?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5664-tools-of-the-trade/2f23bbc549ed496282889dea010fc5b2#2f23bbc549ed496282889dea010fc5b2</link>
		<pubDate>Wed, 05 May 2004 16:15:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5664-tools-of-the-trade/2f23bbc549ed496282889dea010fc5b2#2f23bbc549ed496282889dea010fc5b2</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - UIP Application Block</title>
		<description><![CDATA[<p>Any Channel 9ers responsible for the UIP block documentation?&nbsp; Could we get more pictures and 5-1 surround sound next iteration....seriously, is there going to be a webcast or at least a little more forgiving narrative accompanying this block.&nbsp; I'd really
 like to use it but am trying to get a better understanding of the why and how to use.<br /><br />Harry</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/5711#5711</link>
		<pubDate>Wed, 05 May 2004 14:06:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5711-UIP-Application-Block/5711#5711</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Programming - VB.Net: Thumbnail Directory View</title>
		<description><![CDATA[<p>Here's some code i use in an asp.net app i wrote:<br /><br /><br />&nbsp;Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim connstr As String = Application(&quot;ConnectionString&quot;).ToString<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim cnn As New SqlConnection(connstr)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim cmd As New SqlCommand(&quot;select * from t_ezImages where ID=&quot; &amp; Request.QueryString(&quot;id&quot;), cnn)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cnn.Open()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim dr As SqlDataReader = cmd.ExecuteReader()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dr.Read()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim strImageType = dr.GetValue(11)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim bindata() As Byte = dr.GetValue(6)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Thumbnailbindata() As Byte = resizeImage(bindata)</p>
<p><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.BinaryWrite(Thumbnailbindata)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
<p><br />&nbsp;&nbsp;&nbsp; End Sub</p>
<p>&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; '*******************************************************<br />&nbsp;&nbsp;&nbsp; Public Function resizeImage(ByVal pic() As Byte) As Byte()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Const THUMBNAIL_IMAGE_PATH As String = &quot;C:\Thumbnails\Test.jpg&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Const maxWidth As Integer = 100<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Const maxHeight As Integer = 100<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim inp As New IntPtr<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim imgHeight, imgWidth As Double</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim image As System.Drawing.Image = System.Drawing.Image.FromStream(New MemoryStream(pic))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim bm = New Bitmap(image)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim imgHres, imgVres As Single</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Added this for testing - usually 96 dpi for every picture<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgHres = bm.horizontalresolution<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgVres = bm.verticalresolution</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgHeight = bm.Height<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgWidth = bm.Width</p>
<p><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If imgWidth &gt; maxWidth Or imgHeight &gt; maxHeight Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Determine what dimension is off by more<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim deltaWidth As Double = imgWidth - maxWidth<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim deltaHeight As Double = imgHeight - maxHeight<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim scaleFactor As Double</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If deltaHeight &gt; deltaWidth Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Scale by the height<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scaleFactor = maxHeight / imgHeight<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Scale by the Width<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scaleFactor = maxWidth / imgWidth<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgWidth *= scaleFactor<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgHeight *= scaleFactor<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim w As Integer = Convert.ToInt32(imgWidth)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim h As Integer = Convert.ToInt32(imgHeight)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim imgbmp As System.Drawing.Image = bm.GetThumbnailImage(w, h, Nothing, inp)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ms As New MemoryStream<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imgbmp.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim b(ms.Length - 1) As Byte<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ms.Position = 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ms.Read(b, 0, ms.Length)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return b</p>
<p><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'bitmap.Save(THUMBNAIL_IMAGE_PATH, Imaging.ImageFormat.Jpeg)</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch ex As Exception</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try<br />&nbsp;&nbsp;&nbsp; End Function 'resizeImage<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/5660-Programming-VBNet-Thumbnail-Directory-View/385de063d74249b7a4ce9dea010fc2bc#385de063d74249b7a4ce9dea010fc2bc</link>
		<pubDate>Wed, 05 May 2004 13:46:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/5660-Programming-VBNet-Thumbnail-Directory-View/385de063d74249b7a4ce9dea010fc2bc#385de063d74249b7a4ce9dea010fc2bc</guid>
		<dc:creator>MonkeyMon</dc:creator>
		<slash:comments>8</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MonkeyMon/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>