<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/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>Hammad : IDotNetWizard - All Comments</title><link>http://msmvps.com/blogs/hammadrajjoub/default.aspx</link><description>My .NET Blog</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Speaking @ IASA Singapore Event</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2008/07/08/speaking-iasa-singapore-event.aspx#1643803</link><pubDate>Thu, 07 Aug 2008 17:53:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1643803</guid><dc:creator>mina</dc:creator><description>&lt;p&gt;like to chat with u hammad ayaz&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1643803" width="1" height="1"&gt;</description></item><item><title>Lexapro.</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/05/16/47185.aspx#1643348</link><pubDate>Mon, 04 Aug 2008 20:15:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1643348</guid><dc:creator>Lexapro.</dc:creator><description>&lt;p&gt;Lexapro. Generic lexapro.&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1643348" width="1" height="1"&gt;</description></item><item><title>More on Composite Architecture</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2008/07/08/speaking-iasa-singapore-event.aspx#1641861</link><pubDate>Wed, 23 Jul 2008 09:28:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1641861</guid><dc:creator>Hammad : IDotNetWizard</dc:creator><description>&lt;p&gt;As i posted earlier that i will be presenting @ IASA Singapore&amp;#39;s chapter evening . It turned out&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1641861" width="1" height="1"&gt;</description></item><item><title>re: Speaking @ IASA Singapore Event</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2008/07/08/speaking-iasa-singapore-event.aspx#1641307</link><pubDate>Fri, 18 Jul 2008 05:51:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1641307</guid><dc:creator>hammad</dc:creator><description>&lt;p&gt;we are not doing web casts yet. but i can send you the slide deck if you will.&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1641307" width="1" height="1"&gt;</description></item><item><title>re: Speaking @ IASA Singapore Event</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2008/07/08/speaking-iasa-singapore-event.aspx#1639901</link><pubDate>Wed, 09 Jul 2008 02:58:55 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1639901</guid><dc:creator>Prasanna</dc:creator><description>&lt;p&gt;Is there anyway this event be recorded &amp;amp; shared or webcasted please. &lt;/p&gt;
&lt;p&gt;If yes, can you please alert me @ prabhupr70 at &amp;nbsp;yahoo dot com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1639901" width="1" height="1"&gt;</description></item><item><title>re:  Mobile 2.0: What to do you say?</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2006/12/09/mobile-2-0-what-to-do-you-say.aspx#411666</link><pubDate>Mon, 11 Dec 2006 06:16:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:411666</guid><dc:creator>Miguel</dc:creator><description>&lt;P&gt;Hi Hammad,&lt;/P&gt;
&lt;P&gt;Thanks for linking back to my blog. For me, Mobile 2.0 is still very much a work in progress.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=411666" width="1" height="1"&gt;</description></item><item><title>Writing Technical Whitepaper!</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2006/11/22/sungard-sharesoft-launch-sharetrade.aspx#347792</link><pubDate>Tue, 28 Nov 2006 06:44:30 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:347792</guid><dc:creator>C#, XML Web services, .NET Servers &amp; Evangelism!</dc:creator><description>&lt;P&gt;As I said in the previous post that I have been busy working on a real-time trading platform. Before&lt;/P&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=347792" width="1" height="1"&gt;</description></item><item><title>re: Extracting XMLNode from XPathNodeIterator</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/08/16/62851.aspx#110394</link><pubDate>Sun, 27 Aug 2006 18:43:31 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:110394</guid><dc:creator>Jeorge Lukasing</dc:creator><description>Very many thanks for a good work. Nice and useful. Like it!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=110394" width="1" height="1"&gt;</description></item><item><title>thank you</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/08/16/62851.aspx#109485</link><pubDate>Fri, 25 Aug 2006 09:33:06 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:109485</guid><dc:creator>Karina</dc:creator><description>If it is worth doing at all, it's worth doing it right.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=109485" width="1" height="1"&gt;</description></item><item><title>re:  BizTalk Server 2006 Accelerators</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/12/14/79076.aspx#82167</link><pubDate>Tue, 31 Jan 2006 10:38:20 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:82167</guid><dc:creator>Laita</dc:creator><description>Hi hammand.
I have tried accessing the beta testing program but still awaiting confirmation of my acceptance to the program.Is there any other place where I can download the Microsoft BizTalk Accelerator for SWIFT 2.3 accelerator.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=82167" width="1" height="1"&gt;</description></item><item><title>re: Microsoft ACE Award</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/12/14/79077.aspx#80316</link><pubDate>Wed, 04 Jan 2006 20:28:28 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:80316</guid><dc:creator>Dave</dc:creator><description>Excellent! I also received this award a year after I received my MVP designation. I have not yet received the glass square they mentioned was the 'prize', but the title itself is good enough, I think. :)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=80316" width="1" height="1"&gt;</description></item><item><title>re: System.Enum.Parse :: The right way!</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/08/09/62148.aspx#79547</link><pubDate>Wed, 21 Dec 2005 01:22:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:79547</guid><dc:creator>Brian Moeskau</dc:creator><description>Thanks for the syntax I was looking for!

Andrei, you cannot perform a direct cast like that directly against a string since enums are numeric types.  Try it -- you'll get a compile error: "Cannot convert type 'string' to '[enum name]'"  If messageId really is a number 'trapped' in a string, you would have to convert it prior to casting (ex: (MessageType)Convert.ToByte(messageId)).  

In my case, however, I was trying to compare a string variable to the enum value's name (not its numeric value) to see if they were the same.  This is more what the author was getting at, and exactly the syntax I needed.  Thanks again.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=79547" width="1" height="1"&gt;</description></item><item><title>re: How to become a Microsoft Most Valuable Professional (MVP) ? </title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/10/18/71476.aspx#71505</link><pubDate>Wed, 19 Oct 2005 07:25:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:71505</guid><dc:creator>hammad</dc:creator><description>And how can I know the person for ,let's say, Romania?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=71505" width="1" height="1"&gt;</description></item><item><title>re: System.Enum.Parse :: The right way!</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/08/09/62148.aspx#62262</link><pubDate>Wed, 10 Aug 2005 15:51:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:62262</guid><dc:creator>hammad</dc:creator><description>I believe any cast is fine. My point was to avoid string comparisons like this:&lt;br&gt;&lt;br&gt;if( messageId == MessageType.GetAdUser.ToString())&lt;br&gt;{&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=62262" width="1" height="1"&gt;</description></item><item><title>re: System.Enum.Parse :: The right way!</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/08/09/62148.aspx#62218</link><pubDate>Wed, 10 Aug 2005 06:57:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:62218</guid><dc:creator>hammad</dc:creator><description>Why is wrong casting directly?&lt;br&gt;Like:&lt;br&gt;MessageType messageType = (MessageType)messageId;&lt;br&gt;&lt;br&gt;?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=62218" width="1" height="1"&gt;</description></item><item><title>re:Web Part Development With VS 2005 </title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/05/16/47185.aspx#61465</link><pubDate>Thu, 04 Aug 2005 01:57:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:61465</guid><dc:creator>TrackBack</dc:creator><description>Web Part Development With VS 2005 ooeess&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=61465" width="1" height="1"&gt;</description></item><item><title>re:Enabling Sessions for ASP.NET Web Parts in Sharepoint Portal 2003</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/05/02/45352.aspx#61466</link><pubDate>Thu, 04 Aug 2005 01:57:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:61466</guid><dc:creator>TrackBack</dc:creator><description>Enabling Sessions for ASP.NET Web Parts in Sharepoint Portal 2003ooeess&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=61466" width="1" height="1"&gt;</description></item><item><title>re:Concurrent Programmers Speaking a New Language </title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/07/18/57959.aspx#61258</link><pubDate>Wed, 03 Aug 2005 01:26:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:61258</guid><dc:creator>TrackBack</dc:creator><description>Concurrent Programmers Speaking a New Language ooeess&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=61258" width="1" height="1"&gt;</description></item><item><title>re:C # Language Design :: Default Constrcutor for Structure </title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/07/18/57950.aspx#61259</link><pubDate>Wed, 03 Aug 2005 01:26:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:61259</guid><dc:creator>TrackBack</dc:creator><description>C # Language Design :: Default Constrcutor for Structure ooeess&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=61259" width="1" height="1"&gt;</description></item><item><title>re:Hello MS MVP Blogs!</title><link>http://msmvps.com/blogs/hammadrajjoub/archive/2005/05/02/45349.aspx#59265</link><pubDate>Sat, 23 Jul 2005 00:03:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:59265</guid><dc:creator>TrackBack</dc:creator><description>Hello MS MVP Blogs!ooeess&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=59265" width="1" height="1"&gt;</description></item></channel></rss>