<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Notes eMeroo(Some TechTips);</title>
	<atom:link href="http://emeroo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://emeroo.wordpress.com</link>
	<description>IF WE DON&#039;T HELP EACH OTHER, WHO WILL?</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:42:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='emeroo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Notes eMeroo(Some TechTips);</title>
		<link>http://emeroo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://emeroo.wordpress.com/osd.xml" title="Notes eMeroo(Some TechTips);" />
	<atom:link rel='hub' href='http://emeroo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Script for Social Icons</title>
		<link>http://emeroo.wordpress.com/2012/01/26/ocialscripts/</link>
		<comments>http://emeroo.wordpress.com/2012/01/26/ocialscripts/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 11:58:47 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=159</guid>
		<description><![CDATA[______Facebook Like_______ &#60;iframe frameborder=&#8221;0&#8243; scrolling=&#8221;no&#8221; style=&#8221;border:none; overflow:hidden; width:90px; padding-top:3px; margin-left:2px;&#8221; allowtransparency=&#8221;true&#8221; src=&#8221;http://www.facebook.com/plugins/like.php?href=http://www.google.com&#38;amp;width=90&#38;amp;font=arial&#38;amp;colorscheme=dark&#38;amp;layout=button_count&#8221;&#62;&#60;/iframe&#62; ___GooglePlusOne___ &#60;iframe frameborder=&#8221;0&#8243; width=&#8221;100%&#8221; scrolling=&#8221;no&#8221; title=&#8221;+1&#8243; vspace=&#8221;0&#8243; tabindex=&#8221;-1&#8243; style=&#8221;position: static; left: 0pt; top: 0pt; width: 32px; margin: 0px; border-style: none; height: 20px; visibility: visible;&#8221; src=&#8221;https://plusone.google.com/_/+1/fastbutton?url=http://www.google.com&#38;amp; size=medium&#38;amp;count=false&#38;amp;annotation=&#38;amp; hl=en-US&#38;amp; jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fwidget%2F__features__%2 Frt%3Dj%2Fver%3DfSwXsM_bZtg.ar.%2Fsv%3D1%2Fam%3D! B1ibRDb03dOIZCLhng%2Fd%3D1%2F#id=I2_1327500188154&#38;amp; parent=http://www.google.com&#38;amp;rpctoken=296705022&#38;amp;_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe&#8221; name=&#8221;I2_1327500188154&#8243; marginwidth=&#8221;0&#8243; marginheight=&#8221;0&#8243; id=&#8221;I2_1327500188154&#8243; hspace=&#8221;0&#8243; allowtransparency=&#8221;true&#8221;&#62;&#60;/iframe&#62; href&#8211;&#62; site URL layout=button_count   or standard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=159&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>______Facebook Like_______</strong><br />
&lt;iframe frameborder=&#8221;0&#8243; scrolling=&#8221;no&#8221; style=&#8221;border:none; overflow:hidden; width:90px; padding-top:3px; margin-left:2px;&#8221; allowtransparency=&#8221;true&#8221; src=&#8221;http://www.facebook.com/plugins/like.php?href=http://www.google.com&amp;amp;width=90&amp;amp;font=arial&amp;amp;colorscheme=dark&amp;amp;layout=button_count&#8221;&gt;&lt;/iframe&gt;</p>
<p><strong>___GooglePlusOne___</strong><br />
&lt;iframe frameborder=&#8221;0&#8243; width=&#8221;100%&#8221; scrolling=&#8221;no&#8221; title=&#8221;+1&#8243; vspace=&#8221;0&#8243; tabindex=&#8221;-1&#8243; style=&#8221;position: static; left: 0pt; top: 0pt; width: 32px; margin: 0px; border-style: none; height: 20px; visibility: visible;&#8221; src=&#8221;https://plusone.google.com/_/+1/fastbutton?url=http://www.google.com&amp;amp;<br />
size=medium&amp;amp;count=false&amp;amp;annotation=&amp;amp;<br />
hl=en-US&amp;amp;<br />
jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fwidget%2F__features__%2<br />
Frt%3Dj%2Fver%3DfSwXsM_bZtg.ar.%2Fsv%3D1%2Fam%3D!<br />
B1ibRDb03dOIZCLhng%2Fd%3D1%2F#id=I2_1327500188154&amp;amp;<br />
parent=http://www.google.com&amp;amp;rpctoken=296705022&amp;amp;_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe&#8221; name=&#8221;I2_1327500188154&#8243; marginwidth=&#8221;0&#8243; marginheight=&#8221;0&#8243; id=&#8221;I2_1327500188154&#8243; hspace=&#8221;0&#8243; allowtransparency=&#8221;true&#8221;&gt;&lt;/iframe&gt;</p>
<p><strong></strong><br />
href&#8211;&gt; site URL<br />
layout=button_count   or standard</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://emeroo.wordpress.com/category/misc/'>Misc</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=159&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2012/01/26/ocialscripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>
	</item>
		<item>
		<title>Shared Notes</title>
		<link>http://emeroo.wordpress.com/2012/01/17/shared-notes/</link>
		<comments>http://emeroo.wordpress.com/2012/01/17/shared-notes/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 13:15:12 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=143</guid>
		<description><![CDATA[SharePoint 2010 SharePoint 2010 Templates and Definitions EditModePanel Behavior Changes in SharePoint 2010 Fixed ribbon and scroll bar issues. Real World Branding with SharePoint 2010 Publishing Sites SharePoint 2007 &#8212; MOSS SharePoint 2007 Product Activation failed: “The trial period for this product has expired” Hiding the Sign In link for anonymous access to SharePoint web sites [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=143&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>SharePoint 2010</strong></p>
<ul>
<li><a title="SharePoint 2010 Templates and Definitions" href="http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx" target="_blank">SharePoint 2010 Templates and Definitions</a></li>
<li><a title="EditModePanel Behavior Changes in SharePoint 2010" href="http://sharepointtaproom.com/2010/08/06/editmodepanel-behavior-changes-in-sharepoint-2010/" target="_blank">EditModePanel Behavior Changes in SharePoint 2010</a></li>
<li><a title="Fixed ribbon and scroll bar issues." href="http://blog.amtopm.be/2011/01/13/content-scroll-bar-issues/" target="_blank">Fixed ribbon and scroll bar issues.</a></li>
<li><a title="Real World Branding with SharePoint 2010 Publishing Sites" href="http://msdn.microsoft.com/es-es/library/gg430141.aspx" target="_blank">Real World Branding with SharePoint 2010 Publishing Sites</a></li>
</ul>
<p><strong>SharePoint 2007 &#8212; MOSS</strong></p>
<ul>
<li><a title="SharePoint 2007 Product Activation failed: “The trial period for this product has expired”" href="http://henkhooiveld.com/2010/12/01/sharepoint-2007-product-activation-failed-the-trial-period-for-this-product-has-expired/" target="_blank">SharePoint 2007 Product Activation failed: “The trial period for this product has expired”</a></li>
<li><a title="Hiding the Sign In link for anonymous access to SharePoint web sites" href="http://www.synergyonline.com/Blog/Lists/Posts/Post.aspx?ID=56" target="_blank">Hiding the Sign In link for anonymous access to SharePoint web sites</a></li>
<li>Get Site title(code in master): &lt;SharePoint:ProjectProperty Property=&#8221;Title&#8221; id=&#8221;onetidProjectPropertyTitle&#8221; runat=&#8221;server&#8221;  /&gt;</li>
</ul>
<p><strong>Visual Studio:</strong></p>
<ul>
<li>Get Public Key Token for a Strong Named Assembly<br />
Tools &#8211;&gt; External Tools.. &#8211;&gt; Add<br />
<strong>Title</strong>: Get SN Token<br />
<strong>Command</strong>: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe  || C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe<br />
<strong>Arguments</strong>: -Tp $(TargetPath)<br />
Check Use Output Window</li>
</ul>
<p><strong>Web</strong></p>
<p><a href="http://www.webmarketingnow.com/tips/meta-tags-meta-expires.html">http://www.webmarketingnow.com/tips/meta-tags-meta-expires.html</a></p>
<br />Filed under: <a href='http://emeroo.wordpress.com/category/misc/'>Misc</a>, <a href='http://emeroo.wordpress.com/category/sharepoint/'>SharePoint</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/143/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=143&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2012/01/17/shared-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>
	</item>
		<item>
		<title>Add footer to all pages of sharepoint site (Default.master customization)</title>
		<link>http://emeroo.wordpress.com/2008/12/30/add-footer-to-all-pages-of-sharepoint-site-defaultmaster-customization/</link>
		<comments>http://emeroo.wordpress.com/2008/12/30/add-footer-to-all-pages-of-sharepoint-site-defaultmaster-customization/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 10:36:50 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=97</guid>
		<description><![CDATA[Here&#8217;s a small task for Default.master customization; my goal is adding footer to all pages of sharepoint sites. Requirement: Add the following footer to all pages of sharepoint &#8211;&#62;The CompanyTM. Copyright© 2008 To Do: open the main master page which located at the following path &#8211;&#62; C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL\Default.master Move to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=97&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a small task for Default.master customization; my goal is adding footer to all pages of sharepoint sites.</p>
<p><span style="color:#ff0000;"><strong>Requirement:</strong></span> Add the following footer to all pages of sharepoint &#8211;&gt;<span style="color:#333399;"><strong>The Company</strong><strong><sup>TM</sup>. Copyright© 2008</strong></span><br />
<span style="color:#0000ff;"><strong>To Do:</strong></span> open the main master page which located at the following path &#8211;&gt; C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL\Default.master</p>
<p><span style="color:#008000;">Move to the following area</span></p>
<blockquote><p>&lt;tr&gt;<br />
&lt;td class=&#8221;ms-pagebottommarginleft&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;td class=&#8221;ms-pagebottommargin&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;td class=&#8221;ms-bodyareapagemargin&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;td class=&#8221;ms-pagebottommarginright&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;/tr&gt;</p></blockquote>
<p><span style="color:#008000;">Update it to </span></p>
<blockquote><p>&lt;tr&gt;<br />
&lt;td class=&#8221;ms-pagebottommarginleft&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;td class=&#8221;ms-pagebottommargin&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;td class=&#8221;ms-bodyareapagemargin&#8221;&gt;<br />
&lt;TABLE border=&#8221;0&#8243; width=&#8221;100%&#8221; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243;&gt;<br />
&lt;TR&gt;<br />
&lt;TD class=&#8217;ms-vb2&#8242; &gt;<br />
&lt;p class=&#8221;style1&#8243;  align=&#8221;center&#8221;&gt;The Company&amp;trade;. Copyright© 2008&lt;/p&gt;<br />
&lt;/TD&gt;<br />
&lt;/TR&gt;<br />
&lt;/TABLE&gt;<br />
&lt;/td&gt;<br />
&lt;td class=&#8221;ms-pagebottommarginright&#8221;&gt;&lt;IMG SRC=&#8221;/_layouts/images/blank.gif&#8221; width=1 height=10 alt=&#8221;"&gt;&lt;/td&gt;<br />
&lt;/tr&gt;</p></blockquote>
<p><span style="color:#008000;">Now you&#8217;ll get the footer added to all pages</span></p>
<p style="text-align:center;"><img class="aligncenter" src="http://farm4.static.flickr.com/3230/3149605259_a2f2b78ddf_o.jpg" alt="null" width="685" height="405" /></p>
<address> </address>
<address><span style="color:#ff0000;">Hope this helps<br />
Amira,</span></address>
<br />Posted in SharePoint  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=97&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/30/add-footer-to-all-pages-of-sharepoint-site-defaultmaster-customization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3230/3149605259_a2f2b78ddf_o.jpg" medium="image">
			<media:title type="html">null</media:title>
		</media:content>
	</item>
		<item>
		<title>Branding and customizing EditControlBlock(ECB)</title>
		<link>http://emeroo.wordpress.com/2008/12/27/branding-and-customizing-editcontrolblock-ecb/</link>
		<comments>http://emeroo.wordpress.com/2008/12/27/branding-and-customizing-editcontrolblock-ecb/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 19:45:12 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=94</guid>
		<description><![CDATA[Branding sharepoint Site is one of the problems that you may face while working with MOSS 2007. Simply you can build a feature to customize the most of sharepoint menus, by working with the ElementManifest file say “elements.xml”. Here&#8217;s the Default Custom Action Locations and IDs that will help in customizing menus, and this topic [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=94&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Tahoma;font-size:x-small;">Branding sharepoint Site is one of the problems that you may face while working with MOSS 2007.<br />
Simply you can build a feature to customize the most of sharepoint menus, by working with the ElementManifest file say “elements.xml”.<br />
Here&#8217;s the </span><a href="http://msdn.microsoft.com/en-us/library/bb802730.aspx"><span style="font-family:Tahoma;font-size:x-small;">Default Custom Action Locations and IDs</span></a><span style="font-family:Tahoma;font-size:x-small;"> that will help in customizing menus, and this topic illustrates </span><a href="http://msdn.microsoft.com/en-us/library/ms473643.aspx"><span style="font-family:Tahoma;font-size:x-small;">How to: Add Actions to the User Interface</span></a><span style="font-family:Tahoma;font-size:x-small;"> .</span></p>
<p>This topic will illustrate another branch of branding sharepoint, which is customizing context menu in Document Library. You can add item to this context menu by following the way that is illustrated in the previous links. You will use the location of &#8220;<strong>EditControlBlock&#8221;.</strong> But if you target an advanced actions for example adding sub context menu to one of the main context menues, you should follow this topic.<br />
<strong><br />
<span style="font-family:Tahoma;color:#ff0000;font-size:x-small;">Problem:</span></strong><span style="font-family:Tahoma;font-size:x-small;"> I need to add sub context menu named (Document Library) to &#8220;<strong>Send To</strong>&#8221; menu, and add items to Document Library. as shown below </span></p>
<div style="text-align:left;"><span><strong><a title="CustomContextMenu by amira.aboulrous, on Flickr" href="http://www.flickr.com/photos/30657179@N00/2865479212/"><img src="http://farm4.static.flickr.com/3026/2865479212_d3a059e4ae_o.jpg" alt="CustomContextMenu" width="580" height="392" /></a></strong></span></div>
<p align="center">
<p><span><strong><br />
<span style="font-family:Tahoma;color:#ff0000;font-size:x-small;">Solution:</span></strong></span><span style="font-family:Tahoma;font-size:x-small;"> The workaround of this problem is editing at JavaScript file of MOSS located @ <span style="color:#408080;">&#8220;Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033&#8243;.</span><br />
</span><em><br />
</em><span style="font-size:x-small;"><span style="font-family:Tahoma;"><span style="color:#000080;">Step1:</span> You will go to this function <strong>AddSendSubMenu(m,ctx)</strong> at <strong>CORE.JS</strong>, where<br />
- <span style="color:#800000;">m</span> is the menu object.<br />
- <span style="color:#800000;">ctx</span> provides HTTP context information about the web request. </span></span></p>
<p><span style="font-size:x-small;"><span style="font-family:Tahoma;"><span style="color:#000080;">Step2:</span> and after those two lines </span></span></p>
<div>
<div style="border:1px solid gray;overflow:auto;font-size:8pt;width:80.58%;cursor:text;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;height:45px;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;">1:      <span style="color:#0000ff;">var</span> sm=CASubM(m,strDisplayText,<span style="color:#006080;">""</span>,<span style="color:#006080;">""</span>,400);</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">2:      sm.id=<span style="color:#006080;">"ID_Send"</span>;</pre>
</div>
</div>
<pre><span style="font-family:Tahoma;font-size:x-small;"><strong>@Line 1:</strong> define sm which instructs to add strDisplayText to m, where
            - <span style="color:#800000;">strDisplayText</span>: is now assigned to “Send To”
            - <span style="color:#800000;">m</span>: is representing the main Context Menu

<span style="color:#000080;">Step3:</span> Start writing this JavaScript code snippet </span></pre>
</div>
<div>
<div style="border:1px solid gray;overflow:auto;font-size:8pt;width:97.5%;cursor:text;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#008000;">//start override</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span>         <span style="color:#008000;">//add "Document Library" item to "Send To"</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span>         <span style="color:#0000ff;">var</span> L_DocumentLibrary_Text=<span style="color:#006080;">"Document Library"</span>;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span>         strDisplayText =L_DocumentLibrary_Text;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>         <span style="color:#0000ff;">var</span> docLib=CASubM(sm,strDisplayText,<span style="color:#006080;">""</span>,<span style="color:#006080;">""</span>,400);</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span>         docLib.id=<span style="color:#006080;">"id_L_DocumentLibrary_Text"</span>;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   9:</span>         <span style="color:#0000ff;">var</span> Const_DocLibs_Array=[<span style="color:#006080;">"DocLib1"</span>,<span style="color:#006080;">"DocLib2"</span>];</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  10:</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  11:</span>         <span style="color:#008000;">//add all document ibraries exists to "Document Library" Menu</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  12:</span>         <span style="color:#0000ff;">for</span>(<span style="color:#0000ff;">var</span> cnt=0;cnt&lt;Const_DocLibs_Array.length;cnt++)</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  13:</span>         {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  14:</span>         <span style="color:#0000ff;">var</span> L_Doc_Text=Const_DocLibs_Array[cnt];</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  15:</span>         strDisplayText=L_Doc_Text;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  16:</span>         strAction= <span style="color:#006080;">"STSNavigate('"</span>+                ctx.HttpRoot+                <span style="color:#006080;">"/_layouts/SendToDoc.aspx"</span> + <span style="color:#006080;">"')"</span>;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  17:</span>         strImagePath=ctx.imagesPath+<span style="color:#006080;">"existingLocations.gif"</span>;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  18:</span>         menuOption=CAMOpt(docLib,strDisplayText,strAction,strImagePath);</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  19:</span>         menuOption.id=<span style="color:#006080;">"id_"</span>+L_Doc_Text;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  20:</span>         }</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  21:</span>     //end override</pre>
</div>
</div>
<pre><span style="font-family:Tahoma;font-size:x-small;">Inside <strong>AddSendSubMenu </strong>you can add sub items or menus to “<strong>Send To</strong>”.

<strong>@Line 6:</strong> define docLib which instructs to add strDisplayText to sm, where
             - <span style="color:#800000;">strDisplayText</span>: is now assigned to “Document Library”.
             - <span style="color:#800000;">sm</span>: is representing “Send To” menu, as descriped @ setp2.
<strong>@Line 9:</strong> define an array of the sub menu items of “Document Libray”.
<strong>@Line 15:</strong> reassign strDisplayText to new name represents text defined in array.
<strong>@Line 16:</strong> define the action of each item.
<strong>@Line 17:</strong> assign strImagePath to the image that represents each menu item.
<strong>@Line 18:</strong>  call CAMOpt to assign the action (strAction) to each item (strDisplayText) at the menu (docLib). </span></pre>
</div>
<p><span style="font-size:x-small;"><span style="font-family:Tahoma;"><strong><span style="color:#ff0000;">Conclusion:</span></strong><br />
* Use the function <span style="color:#408080;">CASubM(menuObject,strDisplayText,<span>&#8220;&#8221;</span>,<span>&#8220;&#8221;</span>,400)</span> to add a menu.<br />
* Use the function<span style="color:#008040;"> </span><span style="color:#408080;">CAMOpt(menuObject,strDisplayText,strAction,strImagePath)</span> to assign an action to item of a menu. </span></span></p>
<p><span style="font-size:x-small;"><span style="font-family:Tahoma;"><strong><span style="color:#ff0000;">P.S.</span></strong> Here is some variables at Core.js which is defined while you are in a document Library </span></span></p>
<ul>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.HttpRoot &#8211;&gt; http://amira-pc/NewSite </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.ListTitle  &#8211;&gt; Shared Documents </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.listBaseType –&gt; 1 </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.listTemplate –&gt; 101 </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.listName—&gt; {63BAFD2F-6478-45B1-B487-D454470ED346} </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.view—&gt; {FE013DBB-809C-478D-922A-5DE78471F78E} </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.listUrlDir—&gt; /NewSite/Shared Documents </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.HttpPath—&gt; /NewSite/_vti_bin/owssvr.dll?CS=65001 </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.displayFormUrl—&gt; /NewSite/Shared Documents/Forms/DispForm.aspx </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.editFormUrl—&gt; /NewSite/Shared Documents/Forms/EditForm.aspx </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">currentItemCanModify &#8211;&gt; true </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">ctx.imagesPath—&gt; /_layouts/images/ </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">originalFormAction &#8212;&gt; display current view page (AllItems.aspx or any custom view)</span></li>
</ul>
<p><span style="font-family:Tahoma;font-size:x-small;">,and While the context menu of a specific item is opened, </span></p>
<ul>
<li><span style="font-family:Times New Roman;font-size:x-small;">currentItemAppName &#8211;&gt; Microsoft Office Word </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">currentItemFileUrl &#8211;&gt; /NewSite/Shared Documents/New Microsoft Office Word Document.docx </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">currentItemIcon &#8211;&gt; icdocx.gif </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">currentItemID &#8211;&gt; 24 </span></li>
<li><span style="font-family:Times New Roman;font-size:x-small;">currentItemUrl &#8211;&gt; /NewSite/Shared Documents/New Microsoft Office Word Document.docx </span></li>
</ul>
<p><span style="font-size:x-small;"><span style="font-family:Tahoma;"><span style="color:#ff0000;"><strong>Guide while branding and customizing menu</strong></span><br />
Add FireBug Blug-in to your FireFox and follow DOM values to get the rest of variables’ value of core.js at any area of sharepoint. </span></span></p>
<p><span style="font-family:Tahoma;font-size:x-small;">Hope this helps <img style="vertical-align:middle;" title="Smile" src="http://shared.live.com/HjKMzTS-xzcms40%21CabizA/emoticons/smile_regular.gif" alt="Smile" /> </span></p>
<p><span style="font-size:22pt;color:red;line-height:115%;font-family:'Fiolex Girls';" dir="ltr">Amira</span></p>
<br />Posted in SharePoint  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=94&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/27/branding-and-customizing-editcontrolblock-ecb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3026/2865479212_d3a059e4ae_o.jpg" medium="image">
			<media:title type="html">CustomContextMenu</media:title>
		</media:content>

		<media:content url="http://shared.live.com/HjKMzTS-xzcms40%21CabizA/emoticons/smile_regular.gif" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing an assembly into GAC from Windows server 2008</title>
		<link>http://emeroo.wordpress.com/2008/12/23/installing-an-assembly-into-gac-from-windows-server-2008/</link>
		<comments>http://emeroo.wordpress.com/2008/12/23/installing-an-assembly-into-gac-from-windows-server-2008/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 16:16:38 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=76</guid>
		<description><![CDATA[Tip of the Day I was trying to install an Assembly into the Global Assembly Cache(GAC) from windows server 2008, and I failed. Update: 17 July 2011 (worked well) as written in comments: You can drag and drop dlls into GAC by changing the Local Security Policy on the Win2008 server. 1. Start &#62;&#62; Run [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=76&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><span style="color:#993366;"><strong><em>Tip of the Day</em></strong></span> 

I was trying to install an Assembly into the Global Assembly Cache(GAC) from windows server 2008, and I failed.

<span style="color:#ff0000;">Update: 17 July 2011</span> <span style="color:#99cc00;">(worked well)</span>
as written in comments:
You can drag and drop dlls into GAC by changing the Local Security Policy on the Win2008 server.
1. Start &gt;&gt; Run &gt;&gt; write secpol.msc
2. Expand "Local Policies" &gt;&gt; Click "Security Options"
3. Right click on "User Account Control: run all administrators in Admin Approval Mode" , select "Properties"
4. Disable it
5. OK
6. Restart windows

<span style="color:#ff0000;">------- Old Approach ---------</span>
 I tried two approaches and faced those problems
<span style="color:#0000ff;">1st approach---&gt;</span> Drag and Drop my assembly from speecific folder to" C:\WINDOWS\assembly" (GAC).
<span style="color:#ff0000;">problem---&gt;</span> I got this error Access is denied: 'AssemblyFileName.dll'.
<span style="color:#0000ff;">2nd approach ---&gt;</span> I tried to install dll using gacutil.exe using the following command
cd c:\Program Files\Microsoft SDKs\<span class="searchTerm">Windows</span>\v6.0A\bin
gacutil /i c:/AssemblyFileName.dll
<span style="color:#ff0000;">problem---&gt;</span> but I didn't find gacutil.exe under
C:\Program Files\Microsoft SDKs\<span class="searchTerm">Windows</span>\v6.0A\bin
nor C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin
nor C:\WINDOWS\system32\dllcache
<span style="color:#008000;">workaround---&gt;</span> I uploaded gacutil from other machine that is runing on windows server 2003 and has gacutil.exe in the following path
 "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin ";to the other one that is runing on server 2008<strong>. </strong><span style="color:#800080;"><span style="color:#ff0000;">Hope this helps Amira </span></span></pre>
<address> </address>
<br />Posted in Windows Server 2008  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=76&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/23/installing-an-assembly-into-gac-from-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>
	</item>
		<item>
		<title>My favourit Firefox Add-ons</title>
		<link>http://emeroo.wordpress.com/2008/12/22/my-favourit-firefox-add-ons/</link>
		<comments>http://emeroo.wordpress.com/2008/12/22/my-favourit-firefox-add-ons/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:24:35 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=28</guid>
		<description><![CDATA[Here are some Firefox Add-ons, that I always use. DownThemAll: The first and only download manager/accelerator built inside Firefox! DownThemAll! 1.0.4 Gspace: This extension allows you to use your Gmail Space (4.1 GB and growing) for file storage. It acts as an online drive, so you can upload files from your hard drive and access [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=28&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are some Firefox Add-ons, that I always use.</p>
<ul>
<li><strong>DownThemAll</strong>: The first and only download manager/accelerator built inside Firefox!<a href="https://addons.mozilla.org/en-US/firefox/addon/201" target="_blank"><br />
DownThemAll! 1.0.4</a></li>
</ul>
<ul>
<li><strong>Gspace</strong>: This extension allows you to use your Gmail Space (4.1 GB and growing) for file storage. It acts as an online drive, so you can upload files from your hard drive and access them from every Internet capable system.<br />
<a href="https://addons.mozilla.org/en-US/firefox/addon/1593" target="_blank">Gspace 0.5.97</a></li>
</ul>
<ul>
<li><strong>Firebug</strong>: You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page&#8230;<a href="https://addons.mozilla.org/en-US/firefox/addon/1843"><br />
Firebug 1.2.1</a></li>
</ul>
<ul>
<li><strong>FoxMarks</strong>: Keep your firefox&#8217;s bookmarks synchronized in all your computers, just install it on all computer you use and sign up on <a href="http://www.foxmarks.com/">Foxmarks</a> . All your bookmarks will be saved from computer failure.<br />
<span style="color:#0000ff;"><a href="https://addons.mozilla.org/en-US/firefox/addon/2410" target="_blank">Foxmarks Bookmark Synchronizer 2.6.0</a></span></li>
</ul>
<br />Posted in Misc  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=28&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/22/my-favourit-firefox-add-ons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing DotNetNuke</title>
		<link>http://emeroo.wordpress.com/2008/12/22/installing-dotnetnuke/</link>
		<comments>http://emeroo.wordpress.com/2008/12/22/installing-dotnetnuke/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:20:06 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[DotNetNuke]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=63</guid>
		<description><![CDATA[This Post From My Old Blog You can easily Install DotNetNuke. To do, follow these steps: Step -1- Install IIS,Visual Web Developer, SQL Server Step -2- Download DotNetNuke  Extract the downloadable file Extract the file DotNetNuke_04.08.04_Install.zip to another folder,(I extracted it to a folder &#8220;DotNetNuke434&#8243; located in &#8220;C:\Inetpub&#8221;) Step -3- *Run DotNetNuke_04.08.04_StarterKit.vsi , the installation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=63&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://emeroo.spaces.live.com/blog/cns!39D31BA0A14F4385!283.entry">This Post From My Old Blog</a></p>
<p><span style="font-size:small;"><span style="font-family:Comic Sans MS;">You can easily Install DotNetNuke. To do, follow these steps</span></span>:</p>
<p><strong><span style="font-size:small;"><span>Step -1- </span></span></strong><br />
Install IIS,Visual Web Developer, SQL Server</p>
<p><strong><span style="font-size:small;"><span style="color:#351c75;font-family:Times New Roman;">Step -2- </span></span></strong><br />
Download<br />
DotNetNuke  Extract the downloadable file Extract the file<br />
DotNetNuke_04.08.04_Install.zip to another folder,(I extracted it to a<br />
folder &#8220;DotNetNuke434&#8243; located in &#8220;C:\Inetpub&#8221;)</p>
<p><strong><span style="font-size:small;"><span style="color:#351c75;font-family:Times New Roman;">Step -3- </span></span></strong><br />
*Run<br />
DotNetNuke_04.08.04_StarterKit.vsi , the installation wizard will<br />
appear as shown in Figure 1-1.</p>
<div style="text-align:center;"><a title="Figure 1-1 by amira.aboulrous, on Flickr" href="http://www.flickr.com/photos/30657179@N00/2795998401/"><img style="width:472px;height:423px;" src="http://farm4.static.flickr.com/3060/2795998401_afcba865a8_o.jpg" alt="Figure 1-1" /></a></div>
<p>*Click &#8220;Next&#8221; and the install will start.<br />
Before the actual install starts, however, you may see a message like<br />
the one in Figure 1-2, click &#8220;Yes&#8221;.</p>
<div style="text-align:center;"><a title="Figure 1-2 by amira.aboulrous, on Flickr" href="http://www.flickr.com/photos/30657179@N00/2796845440/"><img src="http://farm4.static.flickr.com/3108/2796845440_41e0dda455_o.jpg" alt="Figure 1-2" width="392" height="189" /></a></div>
<p>*Now you will see a window like<br />
Figure 1-3, click &#8220;Finish&#8221; to continue installation.</p>
<div style="text-align:center;"><a title="Figure 1-3 by amira.aboulrous, on Flickr" href="http://www.flickr.com/photos/30657179@N00/2796846906/"><img style="width:504px;height:415px;" src="http://farm4.static.flickr.com/3150/2796846906_89beff399d.jpg" alt="Figure 1-3" /></a></div>
<p>*Finally the<br />
installation complete successfully like Figure 1-4.</p>
<div style="text-align:center;"><a title="Figure 1-4 by amira.aboulrous, on Flickr" href="http://www.flickr.com/photos/30657179@N00/2796002071/"><img style="width:541px;height:525px;" src="http://farm4.static.flickr.com/3268/2796002071_70959e5620_o.jpg" alt="Figure 1-4" /></a></div>
<p><span style="font-weight:bold;font-size:small;"><span style="color:#351c75;font-family:Times New Roman;">Step -4- </span></span><br />
Go<br />
to the directory where you extracted DotNetNuke &#8220;DotNetNuke434&#8243;, Right<br />
click and select &#8220;properties&#8221;, move to &#8220;Security&#8221; tab, and set<br />
permission for Users to &#8220;Full Control&#8221; as shown in Figure 2-1.</p>
<div style="text-align:center;"><a title="Figure 2-1 by amira.aboulrous, on Flickr" href="http://www.flickr.com/photos/30657179@N00/2796849520/"><img src="http://farm4.static.flickr.com/3282/2796849520_17e8b01c80_o.jpg" alt="Figure 2-1" width="808" height="642" /></a></div>
<p><strong><span style="font-size:small;"><span style="color:#351c75;font-family:Times New Roman;">Step -5- </span></span></strong><br />
Continue<br />
installation as explained here</p>
<p><a href="http://www.adefwebserver.com/DotNetNukeHELP/DNN4_DevelopmentEnvironment/DNN4DevelopmentEnvironment1.htm" target="_blank">http://www.adefwebserver.com/DotNetNukeHELP/DNN4_DevelopmentEnvironment/DNN4DevelopmentEnvironment1.htm </a></p>
<p><span style="font-size:small;"><strong><span style="color:#ff0000;">P.S.</span></strong></span><br />
You may fail in setting up DotNetNuke with some errors like those :<br />
<strong><span style="font-size:x-small;"><span style="font-family:Times New Roman;">Error 1</span></span> &#8211;&gt;</strong> FAILURE 400 &#8211; Access to the path &#8216;c:\inetpub\DotNetNuke434\Portals\_default3.00.08.txt&#8217; is denied.<br />
<span style="font-size:x-small;"><strong>Suggested Solution 1</strong></span> &#8211;&gt; <a href="http://www.dotnetnuke.com/News/SecurityPolicy/SecurityBulletinno14/tabid/1159/Default.aspx" target="_blank">http://www.dotnetnuke.com/News/SecurityPolicy/SecurityBulletinno14/tabid/1159/Default.aspx</a><br />
<span style="font-size:x-small;"><strong>Suggested Solution 2</strong></span> &#8211;&gt; check step -5-</p>
<p><span style="font-size:x-small;"><strong>Error 2</strong></span> &#8211;&gt;Failed to update database  \APP_DATA\DATABASE.MDF&#8221; because the database is read-only.<br />
<span style="font-size:x-small;"><strong>Suggested Solution 2</strong></span> &#8211;&gt; check step -5-<span style="font-size:medium;"><span style="color:#ff0000;"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="font-family:Times New Roman;"></p>
<p>Hope this help</span><img style="vertical-align:middle;" title="Smile" src="http://shared.live.com/HjKMzTS-xzcms40%21CabizA/emoticons/smile_regular.gif" alt="Smile" /></span></span></span><br />
</span></span><span style="font-size:22pt;color:red;line-height:115%;font-family:'Fiolex Girls';" dir="ltr">Amira</span></p>
<br />Posted in DotNetNuke  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=63&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/22/installing-dotnetnuke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3060/2795998401_afcba865a8_o.jpg" medium="image">
			<media:title type="html">Figure 1-1</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3108/2796845440_41e0dda455_o.jpg" medium="image">
			<media:title type="html">Figure 1-2</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3150/2796846906_89beff399d.jpg" medium="image">
			<media:title type="html">Figure 1-3</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3268/2796002071_70959e5620_o.jpg" medium="image">
			<media:title type="html">Figure 1-4</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3282/2796849520_17e8b01c80_o.jpg" medium="image">
			<media:title type="html">Figure 2-1</media:title>
		</media:content>

		<media:content url="http://shared.live.com/HjKMzTS-xzcms40%21CabizA/emoticons/smile_regular.gif" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Flow Diagram(DFD) for a Purchasing Website.</title>
		<link>http://emeroo.wordpress.com/2008/12/22/data-flow-diagramdfd-for-a-purchasing-website/</link>
		<comments>http://emeroo.wordpress.com/2008/12/22/data-flow-diagramdfd-for-a-purchasing-website/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:14:10 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[Analysis and Design Diagrams]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=60</guid>
		<description><![CDATA[This Post From My Old Blog Last topic: Designing DB for a purchasing System. 1st step: ERD I designed the ERD of a purchasing website, I described the tables and their attributes Now I&#8217;ll design the DFD(Data Flow Diagram) of the system. But First, let me show you how does it looks like and how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=60&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="center"><a href="http://emeroo.spaces.live.com/blog/cns!39D31BA0A14F4385!210.entry">This Post From My Old Blog</a></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="center"><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">Last topic: </span></span><span style="font-size:9.5pt;color:#333333;line-height:115%;font-family:Verdana,sans-serif;"><a href="http://emeroo.wordpress.com/2008/12/22/designing-db-for-a-purchasing-system-1st-step-erd/" target="_blank">Designing DB for a purchasing System. 1st step: ERD</a><br />
</span><span style="font-size:9.5pt;color:#333333;line-height:115%;font-family:Verdana,sans-serif;" dir="ltr">I designed the ERD of a purchasing website, I described the tables and their attributes<br />
</span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="left"><span style="font-size:9.5pt;color:#333333;line-height:115%;font-family:Verdana,sans-serif;" dir="ltr">Now I&#8217;ll design the DFD(Data Flow Diagram) of the system. But First, let me show you how does it looks like and how you can move from page to another, so you choose the item you look for.</span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right">
</div>
<p align="center"><img style="width:631px;height:679px;" src="http://farm3.static.flickr.com/2100/1578318138_9dcb3552d3_o.jpg" alt="" width="905" height="706" /> <span style="font-size:9.5pt;color:#333333;line-height:115%;font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span><span style="font-size:9.5pt;color:#333333;line-height:115%;font-family:Arial,sans-serif;" lang="AR-EG"><span style="color:#ff0000;">Home Page</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="left"><strong><span style="font-size:14pt;line-height:115%;font-family:'Monotype Corsiva';" dir="ltr">@Home page:</span></strong><strong><span style="font-size:14pt;line-height:115%;font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span></strong><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">You will see all types we have in our shop, when you move over one of the types. The categories of that type will be loaded in the same page. When you choose one of these categories, you will move to the subcategories page that list its subcategories. But if the chosen category has only one subcategory, you&#8217;ll be directed to the Items page that contains all items of the subcategory.(i.e you&#8217;ll not move to subcategories page)</span></span><span style="font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">EX. If you chose Computer Science category that&#8217;s dropped from Books Type, you&#8217;ll be directed to Subcategories page. But if you chose HP category that&#8217;s dropped from Laptop type, you&#8217;ll be directed to the Items page directly without passing to subdirectories page. Because HP category has only one subcategory that has all items, so there is no need for moving to subcategories.<span> </span></span></span><span style="font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">At home page you can choose one of the best sellers, then you&#8217;ll move to the itemDetails page.<br />
<span> </span>Also you can search for specific item, if there are results, they will be displayed at items page.</span></span><span style="font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">You can sign in, and then all price items will be displayed with the equivalent currency of your country.</span></span><span style="font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">You can make a new registration.</span></span></p>
<p align="center"><img style="width:641px;height:494px;" src="http://farm3.static.flickr.com/2043/1578318122_e40d53e01a_o.jpg" alt="" width="909" height="693" /><span style="font-family:Arial,sans-serif;" lang="AR-EG"><span style="font-size:small;"><br />
<span style="color:#ff0000;">Subcategories page</span></span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="left"><strong><span style="font-size:14pt;line-height:115%;font-family:'Monotype Corsiva';" dir="ltr">@Subcategories page:</span></strong><strong><span style="font-size:14pt;line-height:115%;font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span></strong><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">You&#8217;ll be directed to this page after choosing a category from Home page, all subcategories of the chosen categories will be placed inside here.<br />
In the left corner, there are all of the categories that dropped from the type you chose except the category you browse its subcategories now. Here the other categories of Books type.<br />
<span> </span>You can choose one of the categories in the left corner. If that category has more than one subcategory, then its subcategories will be displayed in the right side of the same page. But if that category has only one subcategory, then the items of that subcategory will be displayed in the Items page.</span></span></p>
<p align="center"><img style="width:630px;height:689px;" src="http://farm3.static.flickr.com/2193/1577379001_79375ddf38_o.jpg" alt="" width="786" height="704" /><br />
<span style="color:#ff0000;"><strong>Items Page</strong></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="left"><span style="font-family:Arial,sans-serif;" lang="AR-EG"><span style="font-size:small;"> </span></span><strong><span style="font-size:14pt;line-height:115%;font-family:'Monotype Corsiva';" dir="ltr">@Items page:</span><span style="font-size:14pt;line-height:115%;font-family:Arial,sans-serif;" lang="AR-EG"><br />
</span></strong><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">You can select any item or its related items to browse their details; also you can add this item directly to the cart</span></span></p>
<p align="center"><img style="width:638px;height:614px;" src="http://farm3.static.flickr.com/2231/1577379015_91bfeccca5_o.jpg" alt="" width="928" height="706" /><br />
<span style="color:#ff0000;"><strong>ItemDetails page</strong></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="left"><strong><span style="font-size:14pt;line-height:115%;font-family:Arial,sans-serif;" lang="AR-EG"> </span></strong><strong><span style="font-size:14pt;line-height:115%;font-family:'Monotype Corsiva';" dir="ltr">@Itemdetails page:<br />
</span></strong><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">you can explore the item details then add to cart or back to choose another item</span></span></p>
<p align="center"><img style="width:660px;height:659px;" src="http://farm3.static.flickr.com/2389/1577378987_82363c73a7_o.jpg" alt="" width="914" height="702" /><br />
<strong><span style="color:#ff0000;">Buy Page</span></strong><span style="font-family:Arial,sans-serif;" lang="AR-EG"><span style="font-size:small;"> </span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="left"><strong><span style="font-size:14pt;line-height:115%;font-family:'Monotype Corsiva';" dir="ltr">@Buy page:<br />
</span></strong><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">you&#8217;ll see all item you had chosen and total price. Also you can remove some of these items or back to choose extra items. Now you can buy the selected items. If you agree you will directed to another page to type your secret information such name and credit card. The page will connect to bank and check your info. If true, you&#8217;ll finish buying. If not, you will be notified.</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="center"><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;">*******************************************</span></span><span style="font-family:'Bookman Old Style',serif;" dir="ltr"> </span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Arial,sans-serif;" lang="AR-EG"><span style="font-size:small;"> </span></span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-family:'Bookman Old Style',serif;"><span style="font-size:small;">Now, let&#8217;s move to the DFD.<br />
<span> </span>system analyst draws DFDs to </span></span><span style="font-size:10pt;font-family:Tahoma,sans-serif;">better understand the logical movement of data throughout a business. Data flow diagrams are structured analysis and design tools that</span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:10pt;line-height:115%;font-family:Tahoma,sans-serif;" dir="ltr">allow the analyst to comprehend the system and subsystems visually as a set of interrelated data.</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;font-family:Tahoma,sans-serif;">Four basic symbols are used to chart data movement on DFDs :</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">Square:</span></strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;"> This is used to depict an <strong>external entity</strong> (another department, a</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;font-family:Tahoma,sans-serif;">business, a person, or a machine) that can send data to or receive data from the system.</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span><span style="font-family:Calibri;font-size:small;">Entities should be named with a noun.</span></span><span style="font-family:Arial,sans-serif;" dir="rtl" lang="AR-EG"><br />
</span><strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">Rectangle</span></strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;"> <strong>with rounded corners</strong>: This is used to show the occurrence of a transforming</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">process</span></strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">. Process always denotes a change in or transformation of data.</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;font-family:Tahoma,sans-serif;">Process assigns the name of whole system or a major subsystem. Use a verb-adjectivenoun</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;font-family:Tahoma,sans-serif;">format for detailed processes</span><span style="font-size:10pt;font-family:Tahoma,sans-serif;">.<br />
</span><strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">Rectangle:</span></strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;"> which represents a <strong>data store</strong>. The data store symbol is simply</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;font-family:Tahoma,sans-serif;">showing a depository for data that allows addition and retrieval of data. Each data store has</span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:10pt;line-height:115%;font-family:Tahoma,sans-serif;" dir="ltr">a unique reference number such as D1, D2, and so on to describe its level.</span><span style="font-size:10pt;line-height:115%;font-family:Tahoma,sans-serif;" lang="AR-EG"><br />
</span><span style="font-size:10pt;line-height:115%;font-family:Tahoma,sans-serif;" dir="ltr">But here I used the SP1,SP2,SP3, and so on. Because I used stored procedures to deal with data. I used SP instead of D in the diagram to make it easy to understand. So instead of connecting with D1, D2 to retrieve items of subcategory, I&#8217;ll use only SP3.</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;font-family:Tahoma,sans-serif;">Here are the used stored procedures:<br />
SP1 GetCatOfType: return all categories of selected type.<br />
SP2 CheckIfThereSubCat: check if there are more than one subcategory. If so, it return all subcategories of selected category. If there only one subcategory, it call SP3 to return the items of that subcategory.<br />
SP3 Get ItemsOfSubCat: return all items of selected subcategory.<br />
SP4 Search : used for searching for specific item.(I supposed the search process use this SP)<br />
SP5 CheckValidUser: check the existence, the validity and his desire for changing price with his currency.<br />
SP6 InsNewUser: <span> </span>used for registering new user.<br />
SP7 GetItemDetails: check the type of the item, then connect with the suitable table to return the details.<br />
SP8 GetBestSellers: return the best seller items<br />
SP10 DelItem: used by the admin to remove any item<br />
SP11 Updatedata: used by the admin to update any item<br />
SP12: AddNewDate: used by admin to add new data<span dir="rtl" lang="AR-EG"></p>
<p></span></span><strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">The arrow</span></strong><span style="font-size:10pt;font-family:Tahoma,sans-serif;">: that shows <strong>movement of data</strong> from one point to another, with the head of the</span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:10pt;line-height:115%;font-family:Tahoma,sans-serif;" dir="ltr">arrow pointing tow ards the data’s destination. A rrow s should be described w ith a noun.</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><strong><span style="font-size:12pt;"><span style="font-family:Calibri;">Data Flow Diagram Levels</span></span></strong><strong><span style="font-size:12pt;font-family:Tahoma,sans-serif;">:</span></strong></p>
<p align="center"><img src="http://farm3.static.flickr.com/2011/1577378989_8faa037a42_o.jpg" alt="" width="697" height="661" /></p>
<p align="left"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><strong>The context</strong></span><span style="font-size:11pt;font-family:Calibri,sans-serif;"> diagram is the highest level in a data flow diagram and contains only one process, representing the entire system. The process is given the number zero. All external entities are shown on the context diagram as well as major data flow to and from the system. The diagram do</span><span style="font-size:11pt;font-family:Arial,sans-serif;" dir="rtl"> </span><span style="font-size:11pt;font-family:Calibri,sans-serif;">not show any detailed processes or data stores.</span></p>
<p align="left">
<p align="center"><img style="width:713px;height:1267px;" src="http://farm3.static.flickr.com/2108/1577379021_10126f013d_b.jpg" alt="" width="799" height="1024" /></p>
<p align="center">
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;" align="left"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">Level1</span></strong><span style="font-size:12pt;"> is the explosion of the context diagram. Each process is numbered with an integer.</span></span></p>
<p align="left">
<p align="center"><img style="width:602px;height:1024px;" src="http://farm3.static.flickr.com/2040/1578318110_2967c04610_b.jpg" alt="" width="684" height="1024" /></p>
<p align="center">**********************************</p>
<p><img style="width:754px;height:1132px;" src="http://farm3.static.flickr.com/2273/1578318116_7caa88cbf6_o.jpg" alt="" width="820" height="1132" /></p>
<p align="left"><span style="font-size:12pt;font-family:Calibri,sans-serif;"><strong>Child Levels:</strong></span><span style="font-size:12pt;font-family:Calibri,sans-serif;"> Some processes on level1 may in turn be exploded to create a more detailed child diagram. The process on Diagram1 that is exploded is called the parent process, and the diagram that result is called child diagram. The processes or the child diagram are numbered using the parent process number, a decimal point, and a unique number for each child process.</span><span style="font-size:11pt;font-family:Calibri,sans-serif;"> For example: Process 3 explode (in level 2) to create two processes 3.1 and 3.2. Process 3.2 explode(in level 3) to create three processes 3.2.1, 3.2.2 and 3.2.3 .</span></p>
<p align="left"><span style="font-size:11pt;font-family:Calibri,sans-serif;">Here&#8217;s the Image URL:<br />
</span><span style="font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-family:Bookman Old Style;">Context: </span></span><span style="font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-family:Bookman Old Style;"><span><span style="font-family:Calibri;"><a href="http://farm3.static.flickr.com/2011/1577378989_8faa037a42_o.jpg">http://farm3.static.flickr.com/2011/1577378989_8faa037a42_o.jpg</a></span></span></span></span></p>
<p align="left"><span style="font-size:11pt;font-family:Calibri,sans-serif;"><span>Level 1:      <span><a href="http://farm3.static.flickr.com/2108/1577379021_10126f013d_b.jpg">http://farm3.static.flickr.com/2108/1577379021_10126f013d_b.jpg</a></span></span> </span></p>
<p align="left">Level 2:      <a href="http://farm3.static.flickr.com/2040/1578318110_2967c04610_b.jpg"><span>http://farm3.static.flickr.com/2040/1578318110_2967c04610_b.jpg</span></a></p>
<p align="left">Level 3:     <a href="http://farm3.static.flickr.com/2273/1578318116_7caa88cbf6_o.jpg"><span>http://farm3.static.flickr.com/2273/1578318116_7caa88cbf6_o.jpg</span></a></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:22pt;color:red;font-family:'Fiolex Girls',sans-serif;">Amira</span></p>
<br />Posted in Analysis and Design Diagrams  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=60&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/22/data-flow-diagramdfd-for-a-purchasing-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>

		<media:content url="http://farm3.static.flickr.com/2100/1578318138_9dcb3552d3_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2043/1578318122_e40d53e01a_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2193/1577379001_79375ddf38_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2231/1577379015_91bfeccca5_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2389/1577378987_82363c73a7_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2011/1577378989_8faa037a42_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2108/1577379021_10126f013d_b.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2040/1578318110_2967c04610_b.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2273/1578318116_7caa88cbf6_o.jpg" medium="image" />
	</item>
		<item>
		<title>Designing DB for a purchasing System. 1st step: ERD</title>
		<link>http://emeroo.wordpress.com/2008/12/22/designing-db-for-a-purchasing-system-1st-step-erd/</link>
		<comments>http://emeroo.wordpress.com/2008/12/22/designing-db-for-a-purchasing-system-1st-step-erd/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:11:27 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[Analysis and Design Diagrams]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=57</guid>
		<description><![CDATA[This Post From My Old Blog I want to build a website for a shop to support e-commerce. How can you do so?? I suppose that my store database has different types of items (clothes, books, notebooks…etc). Each type has one or more category, each category has one or more subcategory, each subcategory has many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=57&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><a href="http://emeroo.spaces.live.com/blog/cns!39D31BA0A14F4385!207.entry">This Post From My Old Blog</a></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Garamond;"><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-size:small;"><span style="font-family:Garamond;"> I want to build a website for a shop to support e-commerce.<br />
</span></span></span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><strong><span style="font-family:'Monotype Corsiva';" dir="ltr"><span style="font-family:Garamond;font-size:small;"><span style="font-size:12pt;line-height:115%;font-family:'Monotype Corsiva';">How can you do so??</span><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;" dir="rtl" lang="AR-EG"><br />
</span></span></span></strong><span style="font-family:'Bookman Old Style',serif;" dir="ltr"><span style="font-family:Garamond;font-size:small;">I suppose that my store database has different types of items (clothes, books, notebooks…etc). Each type has one or more category, each category has one or more subcategory, each subcategory has many items, and each item included in one or more subcategory (and therefore it may be included in many categories but in one type). </span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right">
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Arial,sans-serif;" lang="AR-EG"><img style="width:730px;height:1046px;" src="http://farm3.static.flickr.com/2216/1578318118_caa60ed85a_o.jpg" alt="" width="830" height="918" /></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Arial,sans-serif;" lang="AR-EG"><span style="font-size:small;"> </span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><strong><span style="font-size:12pt;line-height:115%;font-family:Garamond,serif;" dir="ltr">Notes: </span></strong><strong></strong></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:small;"><span style="font-family:Garamond,serif;" dir="ltr">Any purchasing system (of two levels in its hierarchy) can use this design.</p>
<p>I tended to normalizing the database for better performance while updating and adding the data.</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Garamond,serif;" dir="ltr"><span style="font-size:small;">In the ClassifiedItems table (relational table), I didn&#8217;t include CategoryID but I included SubCategoryID and therefore I can reach to CategoryID.</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Garamond,serif;" dir="ltr"><span style="font-size:small;">In Items table, I included the common fields in all different items. Also I included TypeID (the type id for that item) and ShipmentCost(how much does it cost to ship this item to somewhere for example New York). I&#8217;ll describe their use soon.</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:small;"><span style="font-family:Garamond,serif;" dir="ltr">In Regions table, I included RegionShipmentValue. This field specifies a value that can be multiplied by ShipmentCost field in Items table, and the result will represent the shipment cost for that item for this region. For example, the RegionShipmentValue for Egypt is 3( i.e. triple the value specified in ShipmentCost) and by multiplying them I can have the shipment cost for Egypt for specified item.<br />
why didn&#8217;t I specify the shipment cost for each region in the table directly , and I use a mathematical operation<span> </span>to get shipment cost for each region?<br />
That is because each item have a shipment cost (shipping notebook cost you much more money than shipping a book for example. So with each item, I specify its shipment cost.<br />
In Region table, I also included EquivalentValueForDollar field. It stores the region&#8217;s equivalent value for dollar. So for example after logging in with my username, the website can show items price directly with my currency. <span> </span></span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Garamond,serif;" dir="ltr"><span style="font-size:small;">For more details about some of classified items, I can add some of table to the database. For example, I can add BookDetails (TypeID, SSN, PageNumber, Publisher) and ClothesDetail (TypeID, Size, Color, MadeIn) and make a direct relationship between each new added detailed table and Items table, so that I added TypeID field to Items table to get some details about the item by connecting with the detailed table directly instead of joining 6 tables (Items, ClassifiedItems, SubCategories, Categories, Types, and any detailed table)</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-family:Garamond,serif;" dir="ltr"><span style="font-size:small;">This an example of types added and has a relationship between Item table. Here I added bookDetails table and LaptopDetails table that have details about these types.</span></span></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><img style="width:704px;height:526px;" src="http://farm3.static.flickr.com/2346/1577378991_5e69e69aa6_o.jpg" alt="" width="804" height="526" /></p>
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right">
<p style="text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:22pt;color:red;line-height:115%;font-family:'Fiolex Girls',sans-serif;" dir="ltr">Amira</span></p>
</div>
<br />Posted in Analysis and Design Diagrams  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=57&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/22/designing-db-for-a-purchasing-system-1st-step-erd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>

		<media:content url="http://farm3.static.flickr.com/2216/1578318118_caa60ed85a_o.jpg" medium="image" />

		<media:content url="http://farm3.static.flickr.com/2346/1577378991_5e69e69aa6_o.jpg" medium="image" />
	</item>
		<item>
		<title>Tips and Tricks for C# Constructors</title>
		<link>http://emeroo.wordpress.com/2008/12/22/tips-and-tricks-for-c-constructors/</link>
		<comments>http://emeroo.wordpress.com/2008/12/22/tips-and-tricks-for-c-constructors/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 15:56:30 +0000</pubDate>
		<dc:creator>Amira</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://emeroo.wordpress.com/?p=53</guid>
		<description><![CDATA[This Post From My Old Blog Hello, Here I&#8217;ll tell you some notes about constructors and some tricks that you may face while using constructors. * Constructors never define return value (that what distinguish constructor from method). * If you didn&#8217;t define a constructor in your class, it will be automatically supplied with the default [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=53&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://emeroo.spaces.live.com/blog/cns!39D31BA0A14F4385!224.entry"><span style="color:#000000;"><span style="font-size:10pt;font-family:'Comic Sans MS';" dir="ltr">This Post From My Old Blog</span></span></a></p>
<p style="line-height:normal;text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:10pt;color:#1f497d;font-family:'Comic Sans MS';" dir="ltr">Hello, Here I&#8217;ll tell you some notes about constructors and some tricks that you may face while using constructors.</span><br />
<span style="font-size:12pt;color:red;font-family:'Comic Sans MS';" dir="ltr">* </span><span style="font-size:12pt;color:black;font-family:'Comic Sans MS';" dir="ltr">Constructors never define return value (that what distinguish constructor from method).</span></p>
<p style="line-height:normal;text-align:left;margin:0 0 10pt;" dir="rtl" align="right"><span style="font-size:12pt;color:red;font-family:'Comic Sans MS';" dir="ltr">*</span><span style="font-size:12pt;color:black;font-family:'Comic Sans MS';" dir="ltr"> If you didn&#8217;t define a constructor in your class, it will be automatically supplied with the default constructor. But if you defined a constructor with parameters, the supplied default constructor will be removed and you won&#8217;t be able to use it until you explicitly define it in your class.</span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">*</span><span style="color:black;"> If you defined your class as internal and a constructor inside it as public, so you can&#8217;t new use it in another assembly. Although the constructor is public, but the class is internal (accessed only inside the assembly that define it). </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">That&#8217;s a class definition in an assembly named Constructors </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> System;</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">namespace</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Constructors</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">{</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> parent()</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Hello&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">); }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">}</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Try to use parent class in another assembly. Create console application and make reference to Constructors.dll </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:auto auto 0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> System;<br />
</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Constructors;</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:auto auto 0;">
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:auto auto 0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">namespace</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> usingConstructor<br />
{<br />
</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Program<br />
</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> {<br />
</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">static</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">void</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Main(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">string</span><span style="font-size:10pt;color:black;font-family:'Courier New';">[] args)<br />
{<br />
parent p = </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">new</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> parent();<br />
}<br />
}<br />
}</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">You&#8217;ll receive error. </span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">*</span><span style="color:black;"> The default access modifier for the constructor is private (like methods). </span></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">*</span><span style="color:black;"> If a constructor defined as private, you can&#8217;t instanciate it outside the class. And also you can&#8217;t define a child class inherit from parent class.Why???!! </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Have a look at this code </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">namespace</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Constructors</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">{</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> parent()</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Hello&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">); }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';">:</span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">}</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">When you define child class inherit from parent class, the child class not only implicitly define default constructor but also this default constructor is implicitly call the default constructor of the parent class. </span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">And here in child class, there isn&#8217;t constructor defined explicitly, then it will be implicitly supplied with the default constructor. This default constructor will call the default constructor of the parent class. The error will be raised at this step, because the default constructor in parent class is private, so child class can&#8217;t see it. </span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">* </span><span style="color:black;">Constructors can take any access modifier. Protected access modifier with constructor allow child class to inherit from parent class without any errors. But if you defined constructor as protected, you can&#8217;t access it through object variable. Such as protected access modifier with methods. As I described it before. </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">So if you try to write this line of code inside child class, you&#8217;ll receive an error </span></p>
<p><span style="font-size:12pt;"><span style="color:teal;font-family:Courier New;">parent</span><span style="color:black;font-family:Courier New;"> p = </span><span style="color:blue;font-family:Courier New;">new</span><span style="color:black;font-family:Courier New;"> </span><span style="color:teal;font-family:Courier New;">parent</span><span style="color:black;font-family:Courier New;">();</span><span style="color:#333333;font-family:Comic Sans MS;"> </span></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">* </span><span style="color:black;">Now after defining parent class as public and its constructor as protected, try to create an object from child class inside Main in the console application that we created miniuts ago. </span></span></p>
<p><span style="font-size:12pt;"><span style="color:teal;font-family:Courier New;">child</span><span style="color:black;font-family:Courier New;"> c = </span><span style="color:blue;font-family:Courier New;">new</span><span style="color:black;font-family:Courier New;"> </span><span style="color:teal;font-family:Courier New;">child</span><span style="color:black;font-family:Courier New;">();</span><span style="color:#333333;font-family:Comic Sans MS;"> </span></span></p>
<p><span style="font-size:10pt;color:black;"><span style="font-family:Comic Sans MS;">the output is : <strong>Hello</strong></span><span style="font-family:Times New Roman;"><strong> </strong></span></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">* </span><span style="color:black;">The first statement is executed inside the constructor is calling the default constructor of the base class(be aware that if your class didn&#8217;t explicitly inherit from a base class, your class will implicitly inherit from object class. And then every constructor will call object&#8217;s default constructor). </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Try this </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">namespace</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Constructors</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">{</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">protected</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> parent()</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.Write(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Hello,&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">); }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';">:</span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> child(){}</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> child(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">string</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> yourName)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine(yourName);</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">}</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">And inside the Main, try this </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">static</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">void</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Main(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">string</span><span style="font-size:10pt;color:black;font-family:'Courier New';">[] args)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> c = </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">new</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';">(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Amira&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">);</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine();</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> c1 = </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">new</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';">();</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.Read();</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">-First line in Main, I created an object from child with a string argument &#8220;Amira&#8221; </span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Here it will invoke the constructor of child class that take a string and write it. But before executing this statement inside child&#8217;s constructor, it&#8217;ll invode the parent&#8217;s default constructor(which write Hello,) so the result of that statement will be <strong>Hello, Amira</strong> </span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">-Second line in Main, insert new line </span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">-Third line in Main: I created another object from child class, but here it will invoke the custom default constructor with no argument. This constructor as I defined do nothing except the implicit call for parent&#8217;s default constructor. So the output will be <strong>Hello,</strong> </span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">* </span><span style="color:black;">If parent class has no default constructor, then when the constructors inside child class try to call the parent&#8217;s default constructor, they wont find it, you will receive error. Try to change the definion of the constructor inside parent class </span></span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">protected</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> parent(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">string</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> s)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.Write(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Hello,&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">); }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Here the default constructor is removed, and you&#8217;ll receive an error in that statement inside child class </span></p>
<p><span style="font-size:10pt;font-family:Courier New;"><span style="color:blue;">public</span><span style="color:black;"> child(){} </span><span style="color:green;">//error </span></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;"><strong>*</strong> </span><span style="color:black;">As I said before, the first statement is executed at child&#8217;s constructor is thr implicit call to paren&#8217;s default constructor. You can explicitly invoke the parent&#8217;s constructor in child&#8217;s constructors through base keyword (and the explicit call allow you to invoke any constructor defined at parent class), and that explicit call will be also the first statement executed when you instanciate the child class. If you supported child constructor with explicit call, the implicit one will be removed. </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Try this </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">namespace</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> Constructors</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">{</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">protected</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> parent(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">string</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> str)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.Write(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Hello,&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> + str); }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">child</span><span style="font-size:10pt;color:black;font-family:'Courier New';">:</span><span style="font-size:10pt;color:teal;font-family:'Courier New';">parent</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> child()</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> : </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">base</span><span style="font-size:10pt;color:black;font-family:'Courier New';">(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;Amira&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> child(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">string</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> yourName)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> : </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">base</span><span style="font-size:10pt;color:black;font-family:'Courier New';">(yourName)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> { }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';">}</span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Try again what we wrote in main the output will be </span></p>
<p><span style="font-size:12pt;color:black;font-family:Comic Sans MS;"><strong>Hello, Amira</strong><br />
</span><span style="font-size:12pt;color:black;font-family:Comic Sans MS;"><strong>Hello, Amira</strong> </span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">* </span><span style="color:black;">Also you can make explicit call to a constructor that is defined inside the class through this keyword(that is instead of the explicitly call to parent&#8217;s constructor or instead of the implicitly call to parent&#8217;s default constructor). </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">So change child class definition to </span></p>
<p><span style="font-size:10pt;font-family:Courier New;"><span style="color:blue;">public</span><span style="color:black;"> </span><span style="color:blue;">class</span><span style="color:black;"> </span><span style="color:teal;">child</span><span style="color:black;">:</span><span style="color:teal;">parent<br />
</span></span><span style="font-size:10pt;color:black;font-family:Courier New;">{<br />
</span><span style="font-size:10pt;font-family:Courier New;"><span style="color:blue;">public</span><span style="color:black;"> child()<br />
</span></span><span style="font-size:10pt;font-family:Courier New;"><span style="color:black;">: </span><span style="color:blue;">base</span><span style="color:black;">(</span><span style="color:maroon;">&#8220;Amira&#8221;</span><span style="color:black;">)<br />
</span></span><span style="font-size:10pt;color:black;font-family:Courier New;">{ }<br />
</span><span style="font-size:10pt;font-family:Courier New;"><span style="color:blue;">public</span><span style="color:black;"> child(</span><span style="color:blue;">string</span><span style="color:black;"> yourName):</span><span style="color:blue;">this</span><span style="color:black;">()<br />
</span></span><span style="font-size:10pt;font-family:Courier New;"><span style="color:black;">{ </span><span style="color:teal;">Console</span><span style="color:black;">.WriteLine(</span><span style="color:maroon;">&#8220;\nBye&#8221;</span><span style="color:black;">); }<br />
</span></span><span style="font-size:10pt;color:black;"><span style="font-family:Courier New;">}</span><span style="font-family:Comic Sans MS;"> </span></span></p>
<p><span style="color:black;font-family:Comic Sans MS;"><span style="font-size:10pt;">Run the</span><span style="font-size:12pt;"> <span style="font-size:x-small;">console application again, the output will be </span></span></span></p>
<p><span style="font-size:12pt;color:black;font-family:Comic Sans MS;"><strong>Hello, Amira</strong><br />
</span><span style="font-size:10pt;color:black;font-family:Comic Sans MS;"><strong>Bye<br />
</strong></span><span style="font-size:10pt;color:black;font-family:Comic Sans MS;"><strong>Hello, Amira </strong></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">* </span><span style="color:black;">you can overload the constructor, the code you wrote before, you overloded child&#8217;s custom default constructor with an overloaded constructor with one parameter. </span></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">*</span><span style="color:black;"> Constructors can be defined as static, but you allowed to define only a single static constructor. And this static constructor doesn&#8217;t take any access modifier and also doesn&#8217;t take any parameters. </span></span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">*</span><span style="color:black;"> Static constructor executes only one time, and executes before the other constructors. </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Here inside StaticConstructor class, I defined static constructor which prints a message to inform the user when the static constructor is invoked and also to initialize static field (y) </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">class</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">StaticConstrucor</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">int</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> x;</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">static</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">int</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> y;</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">static</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> StaticConstrucor()</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;static constructor is invoked now&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">);</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> y = 2; </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> StaticConstrucor()</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;x={0} and y={1}&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">,x,y);</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">public</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> StaticConstrucor(</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">int</span><span style="font-size:10pt;color:black;font-family:'Courier New';"> x)</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> {</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">this</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.x = x;</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:#333333;font-family:'Courier New';"> </span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> </span><span style="font-size:10pt;color:teal;font-family:'Courier New';">Console</span><span style="font-size:10pt;color:black;font-family:'Courier New';">.WriteLine(</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">&#8220;x={0} and y={1}&#8221;</span><span style="font-size:10pt;color:black;font-family:'Courier New';">, x, y);</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:10pt;color:black;font-family:'Courier New';"> }</span></p>
<p style="direction:ltr;line-height:normal;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-size:12pt;color:black;font-family:'Courier New';"> }</span></p>
<p><span style="font-size:12pt;font-family:Comic Sans MS;"><span style="color:red;">*</span><span style="color:black;"> The runtime invokes the static constructor when it creates an instance of the class or before accessing the first static member invoked by the caller. Try this snippet of code inside the Main method </span></span></p>
<p><span style="font-size:10pt;font-family:Courier New;"><span style="color:teal;">StaticConstrucor</span><span style="color:black;"> s = </span><span style="color:blue;">new</span><span style="color:black;"> </span><span style="color:teal;">StaticConstrucor</span><span style="color:black;">();<br />
</span></span><span style="font-size:10pt;font-family:Courier New;"><span style="color:teal;">StaticConstrucor</span><span style="color:black;"> s1 = </span><span style="color:blue;">new</span><span style="color:black;"> </span><span style="color:teal;">StaticConstrucor</span><span style="color:black;">(3);<br />
</span></span><span style="font-size:10pt;font-family:Courier New;"><span style="color:teal;">StaticConstrucor</span><span style="color:black;">.y = 9;<br />
</span></span><span style="font-size:10pt;"><span style="color:teal;font-family:Courier New;">StaticConstrucor</span><span style="color:black;font-family:Courier New;"> s2 = </span><span style="color:blue;font-family:Courier New;">new</span><span style="color:black;font-family:Courier New;"> </span><span style="color:teal;font-family:Courier New;">StaticConstrucor</span><span style="color:black;font-family:Courier New;">();</span><span style="color:#333333;font-family:Comic Sans MS;"> </span></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Here the static constructor invoked only once when I instanciated StaticConstructor class. So the output will be </span></p>
<p><span style="font-size:12pt;color:black;font-family:Comic Sans MS;"><strong>static constructor is invoked now<br />
</strong></span><span style="font-size:12pt;color:black;"><strong><span style="font-family:Comic Sans MS;">x=0 and y=2</span><span style="font-family:Courier New;"><br />
</span></strong></span><span style="font-size:10pt;color:black;"><strong><span style="font-family:Comic Sans MS;">x=3 and y=2</span><span style="font-family:Courier New;"><br />
</span></strong></span><span style="font-size:10pt;color:black;font-family:Comic Sans MS;"><strong>x=0 and y=9 </strong></span></p>
<p><span style="font-size:10pt;color:black;font-family:Comic Sans MS;">Also it can be invoked automatically before invoking the static member y, try only this statement<br />
</span><span style="font-size:12pt;"><span style="font-size:x-small;"><span style="color:teal;font-family:Courier New;">Console</span><span style="color:black;font-family:Courier New;">.WriteLine(</span><span style="color:teal;font-family:Courier New;">StaticConstrucor</span><span style="color:black;font-family:Courier New;">.y);</span></span><span style="color:#333333;font-family:Comic Sans MS;"> </span></span></p>
<p><span style="font-size:12pt;color:black;font-family:Comic Sans MS;"><span style="font-size:x-small;">Here the output will be </span></span></p>
<p><span style="font-size:10pt;color:black;"><strong><span style="font-family:Comic Sans MS;">static constructor is invoked now</span><span style="font-family:Courier New;"><br />
</span></strong></span><span style="font-size:10pt;color:black;font-family:Comic Sans MS;"><strong>2 </strong></span></p>
<p><span style="font-size:10pt;color:#1f497d;font-family:Comic Sans MS;">That all what I remembered about constructors. I wish I covered this topic well, and I hope that helps <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </span></p>
<p><span style="font-size:18pt;color:red;font-family:Fiolex Girls;">Amira </span></p>
<br />Posted in C#  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emeroo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emeroo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emeroo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emeroo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emeroo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emeroo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emeroo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emeroo.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emeroo.wordpress.com&amp;blog=5621468&amp;post=53&amp;subd=emeroo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emeroo.wordpress.com/2008/12/22/tips-and-tricks-for-c-constructors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">emeroo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
