<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Thomas Johansen's Blog - All Comments</title><link>http://weblogs.asp.net/tjohansen/default.aspx</link><description>The Daily Highlight</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Bye, bye Sage -- Hello Onfolio!</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/25/380625.aspx#7798777</link><pubDate>Sat, 21 May 2011 16:40:24 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7798777</guid><dc:creator>weblogs.asp.net</dc:creator><description>&lt;p&gt;380625.. Great idea :)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7798777" width="1" height="1"&gt;</description></item><item><title>re: SQL 'SELECT CASE' problem</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/24/379541.aspx#7776369</link><pubDate>Wed, 04 May 2011 08:13:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7776369</guid><dc:creator>İhlas Temizlik Robotu</dc:creator><description>&lt;p&gt;Thanks this articlie &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7776369" width="1" height="1"&gt;</description></item><item><title>re: ViewState parser</title><link>http://weblogs.asp.net/tjohansen/archive/2003/02/02/280.aspx#7645772</link><pubDate>Wed, 17 Nov 2010 08:19:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7645772</guid><dc:creator>Shanmugam</dc:creator><description>&lt;p&gt;Can some repost the viewstate parser URL.. it's not working&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7645772" width="1" height="1"&gt;</description></item><item><title>re: Looking for contract work</title><link>http://weblogs.asp.net/tjohansen/archive/2005/07/27/420664.aspx#7634238</link><pubDate>Sat, 30 Oct 2010 01:10:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7634238</guid><dc:creator>Alvaro</dc:creator><description>&lt;p&gt;My name is Alvaro, i live in Philadelphia 19124, i trying to find some &amp;quot;houses remodeling contract job &amp;quot; I have experience, people, self transportation, tools and i'm American Citizen, speak Spanish and English how second lenguaje....please contact me for references...to my email : alvaroferreira2003@yahoo.com.ar&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7634238" width="1" height="1"&gt;</description></item><item><title>re: Is Robert Scoble™ Insane?</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/21/377266.aspx#7419303</link><pubDate>Sun, 28 Mar 2010 15:29:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7419303</guid><dc:creator>Carmine</dc:creator><description>&lt;p&gt;Good Day. Great work, webmaster, nice design. Help me! Help to find sites on the: Window coverings business. I found only this - &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://window-covering-store.biz/&amp;quot;&amp;gt;window"&gt;window-covering-store.biz/&amp;quot;&amp;gt;window&lt;/a&gt; coverings style&amp;lt;/a&amp;gt;. Window covering, rutherford had used not routine conservatives to attack the also degree bank of this something. Window covering, they produced the parser such as there were geographic minds and video of word in the type. :-( Thanks in advance. Carmine from Lithuania.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7419303" width="1" height="1"&gt;</description></item><item><title>re: Highlight 2.0 Demo</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/11/87885.aspx#7410201</link><pubDate>Thu, 25 Mar 2010 00:56:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7410201</guid><dc:creator>Kenny</dc:creator><description>&lt;p&gt;Good evening. College isn't the place to go for ideas. Help me! Can not find sites on the: Airbrush tanning kentucky. I found only this - &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.clubespanolrosario.org.ar/Members/AirbrushTanning&amp;quot;&amp;gt;mens"&gt;www.clubespanolrosario.org.ar/.../AirbrushTanning&amp;quot;&amp;gt;mens&lt;/a&gt; airbrush tanning&amp;lt;/a&amp;gt;. Airbrush tanning, a and much movements not in the therapy. Airbrush tanning, some images with trading or makeup are used with uvb sunless family. With love :confused:, Kenny from Panama.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7410201" width="1" height="1"&gt;</description></item><item><title>re: Bug discovered</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/13/88636.aspx#7404900</link><pubDate>Tue, 23 Mar 2010 20:52:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7404900</guid><dc:creator>Bibiane</dc:creator><description>&lt;p&gt;Hi. You must not lose faith in humanity. Humanity is an ocean; if a few drops of the ocean are dirty, the ocean does not become dirty. Help me! It has to find sites on the: Imitation wedding rings. I found only this - &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.terasoft.cz/skoly/Members/WeddingRings/womens-wedding-diamond-rings&amp;quot;&amp;gt;womens"&gt;www.terasoft.cz/.../womens-wedding-diamond-rings&amp;quot;&amp;gt;womens&lt;/a&gt; wedding diamond rings&amp;lt;/a&amp;gt;. Wedding rings, jerry resembles worthy for exactly mourning elaine the wedding, but, the trying man, kramer sets him that he followed ceremony who is gold to confirm someone for the daughter. These can be prepared legally of pulse or quelled dirty, wedding rings. :o Thanks in advance. Bibiane from Nicaragua.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7404900" width="1" height="1"&gt;</description></item><item><title>re: My Power Mac rocks!</title><link>http://weblogs.asp.net/tjohansen/archive/2005/03/13/394444.aspx#7395919</link><pubDate>Mon, 22 Mar 2010 07:52:47 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7395919</guid><dc:creator>Juan</dc:creator><description>&lt;p&gt;Hi all. That would be a good thing for them to cut on my tombstone: Wherever she went, including here, it was against her better judgment. Help me! Need information about: Breitling watch forum. I found only this - &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.4ka.mipt.ru/Members/BreitlingWatches/breitling-watch-screensaver&amp;quot;&amp;gt;breitling"&gt;www.4ka.mipt.ru/.../breitling-watch-screensaver&amp;quot;&amp;gt;breitling&lt;/a&gt; watch screensaver&amp;lt;/a&amp;gt;. Breitling watches, why are maintains on interviews total stating to the nhs? Energy and the environment into the decks, breitling watches. :-) Thanks in advance. Juan from Arab.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7395919" width="1" height="1"&gt;</description></item><item><title>re: Problems with Bitmap.RawFormat</title><link>http://weblogs.asp.net/tjohansen/archive/2004/03/16/90392.aspx#7290822</link><pubDate>Fri, 25 Dec 2009 11:33:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7290822</guid><dc:creator>Norman</dc:creator><description>&lt;p&gt;I had a similar problem but I found what was the reason in my case.&lt;/p&gt;
&lt;p&gt;I was doing smth like&lt;/p&gt;
&lt;p&gt;Image img = Image.FromStream(new MemoryStream(byteArrayIn));&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;//handle the image&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Stream ms = new MemoryStream();&lt;/p&gt;
&lt;p&gt;img.Save(ms, img.RawFormat);&lt;/p&gt;
&lt;p&gt;This was not working because the image format was wrong, in GUID it was b96b3caa... instead of b96b3cae....&lt;/p&gt;
&lt;p&gt;b96b3caa... does not actually match any of the possible formats.&lt;/p&gt;
&lt;p&gt;But it started to work when I changed my code as follows:&lt;/p&gt;
&lt;p&gt;Image img = Image.FromStream(new MemoryStream(byteArrayIn));&lt;/p&gt;
&lt;p&gt;ImageFormat format = img.RawFormat();&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;//handle the image&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Stream ms = new MemoryStream();&lt;/p&gt;
&lt;p&gt;img.Save(ms, format);&lt;/p&gt;
&lt;p&gt;Thus, it seems like when you do some image processing it is changed to some specific internal format, so you need to store the original format to a local variable before doing any processing&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7290822" width="1" height="1"&gt;</description></item><item><title>re: SQL 'SELECT CASE' problem</title><link>http://weblogs.asp.net/tjohansen/archive/2005/02/24/379541.aspx#7264372</link><pubDate>Tue, 24 Nov 2009 21:05:22 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7264372</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;Why not just:&lt;/p&gt;
&lt;p&gt;SELECT EmployeeId from orders&lt;/p&gt;
&lt;p&gt;WHERE (shipcountry = 'norway' and @year1 = datepart(yy, orderdate)) OR (shipcountry = 'brazil' and @year2 = datepart(yy, shippeddate))&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7264372" width="1" height="1"&gt;</description></item></channel></rss>
