<?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>Maniya's blog</title>
	<atom:link href="http://maniyasblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://maniyasblog.wordpress.com</link>
	<description>Mani from india.Trying to change the rules</description>
	<lastBuildDate>Tue, 16 Mar 2010 14:09:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='maniyasblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Maniya's blog</title>
		<link>http://maniyasblog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://maniyasblog.wordpress.com/osd.xml" title="Maniya&#039;s blog" />
	<atom:link rel='hub' href='http://maniyasblog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SharePoint SPDataSource</title>
		<link>http://maniyasblog.wordpress.com/2010/03/15/sharepoint-spdatasource/</link>
		<comments>http://maniyasblog.wordpress.com/2010/03/15/sharepoint-spdatasource/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 16:52:43 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[InputFormCheckBoxList]]></category>
		<category><![CDATA[Sharepoint checkbox]]></category>
		<category><![CDATA[SharePoint data source]]></category>
		<category><![CDATA[SPDatasource]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=82</guid>
		<description><![CDATA[Tired of writing codes and creating webparts? Here is a less code solution for SharePoint developers. The SPDataSource control (Microsoft.SharePoint.WebControls.SPDataSource) means a lot to developers. With less custom code one can quickly retrieve and display data from SharePoint lists and &#8230; <a href="http://maniyasblog.wordpress.com/2010/03/15/sharepoint-spdatasource/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=82&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tired of writing codes and creating webparts? Here is a less code solution for SharePoint developers.</p>
<p>The SPDataSource control (Microsoft.SharePoint.WebControls.SPDataSource) means a lot to developers.</p>
<p>With less custom code one can quickly retrieve and display data from SharePoint lists and libraries.</p>
<p>This is how you can access list data from SharePoint. For select command you can use CAML query builder from U2U.</p>
<p>This data source can be used like a SQL data source which comes with standard asp.net controls.</p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">SharePoint</span><span style="color:blue;">:</span><span style="color:#a31515;">SPDataSource </span><span style="color:red;">ID</span><span style="color:blue;">=&#8221;spdsSupervisor&#8221; </span><span style="color:red;">runat</span><span style="color:blue;">=&#8221;server&#8221; </span><span style="color:red;">DataSourceMode</span><span style="color:blue;">=&#8221;List&#8221; </span><span style="color:red;">SelectCommand</span><span style="color:blue;">=&#8221;&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&#8217;Heading&#8217; /&gt;&lt;Value Type=&#8217;Choice&#8217;&gt;Questions&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;&#8221;&gt;</span></span><span style="font-family:Courier New;font-size:10pt;"><br />
<span style="color:blue;">&lt;</span><span style="color:#a31515;">SelectParameters</span><span style="color:blue;">&gt;</span></span><span style="font-family:Courier New;font-size:10pt;"><br />
<span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">Parameter </span><span style="color:red;">Name</span><span style="color:blue;">=&#8221;ListName&#8221; </span><span style="color:red;">DefaultValue</span><span style="color:blue;">=&#8221;Feedback&#8221;/&gt;</span></span><span style="font-family:Courier New;font-size:10pt;"><br />
<span style="color:blue;">&lt;/</span><span style="color:#a31515;">SelectParameters</span><span style="color:blue;">&gt;</span></span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">SharePoint</span><span style="color:blue;">:</span><span style="color:#a31515;">SPDataSource</span><span style="color:blue;">&gt;</span></span></p>
<p>For data binding to any data bound controls this data source can be used. Given below is an example of using Data source with an asp grid view.</p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">GridView </span><span style="color:red;">runat</span><span style="color:blue;">=&#8221;server&#8221; </span><span style="color:red;">id</span><span style="color:blue;">=&#8221;gvSupervisor&#8221; </span><span style="color:red;">AutoGenerateColumns</span><span style="color:blue;">=&#8221;False&#8221; </span><span style="color:red;">DataSourceID</span><span style="color:blue;">=&#8221;spdsSupervisor&#8221;</span><br />
<span style="color:red;">GridLines</span><span style="color:blue;">=&#8221;None&#8221; </span><span style="color:red;">ForeColor</span><span style="color:blue;">=&#8221;#333333&#8243; </span><span style="color:red;">CellPadding</span><span style="color:blue;">=&#8221;4&#8243; </span><span style="color:red;">width</span><span style="color:blue;">=&#8221;100%&#8221;&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">FooterStyle </span><span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;#e2eeff&#8221; </span><span style="color:red;">Font-Bold</span><span style="color:blue;">=&#8221;True&#8221; </span><span style="color:red;">ForeColor</span><span style="color:blue;">=&#8221;White&#8221; </span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">RowStyle </span><span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;#EFF3FB&#8221; </span><span style="color:red;">Font-Size</span><span style="color:blue;">=&#8221;Smaller&#8221;</span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">Columns</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">boundfield </span><span style="color:red;">DataField</span><span style="color:blue;">=&#8221;Title&#8221; </span><span style="color:red;">HeaderText</span><span style="color:blue;">=&#8221;Type&#8221; </span><span style="color:red;">HeaderStyle-Font-Bold</span><span style="color:blue;">=&#8221;true&#8221; </span><span style="color:red;">HeaderStyle-Font-Names</span><span style="color:blue;">=&#8221;verdana&#8221; </span><span style="color:red;">HeaderStyle-ForeColor</span><span style="color:blue;">=&#8221;#525252&#8243;</span><br />
<span style="color:red;">HeaderStyle-HorizontalAlign</span><span style="color:blue;">=&#8221;Left&#8221;&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">boundfield</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">templatefield </span><span style="color:red;">HeaderText</span><span style="color:blue;">=&#8221;Rating&#8221;</span><br />
<span style="color:red;">FooterStyle-HorizontalAlign</span><span style="color:blue;">=&#8221;Left&#8221;</span><br />
<span style="color:red;">HeaderStyle-Font-Bold</span><span style="color:blue;">=&#8221;true&#8221;</span><br />
<span style="color:red;">HeaderStyle-Font-Names</span><span style="color:blue;">=&#8221;verdana&#8221;</span><br />
<span style="color:red;">HeaderStyle-ForeColor</span><span style="color:blue;">=&#8221;#525252&#8243;</span><br />
<span style="color:red;">ItemStyle-HorizontalAlign</span><span style="color:blue;">=&#8221;Right&#8221;&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">ItemTemplate</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">    <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">RadioButtonList </span><span style="color:red;">runat</span><span style="color:blue;">=&#8221;server&#8221; </span><span style="color:red;">id</span><span style="color:blue;">=&#8221;rblCourse&#8221;</span><br />
<span style="color:red;">RepeatDirection</span><span style="color:blue;">=&#8221;Horizontal&#8221; </span><span style="color:red;">CssClass</span><span style="color:blue;">=&#8221;ms-radiotext&#8221;&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span>1</span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span>2</span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span>3</span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span>4</span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span>5</span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">        <span style="color:blue;">&lt;</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span>N/A</span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">ListItem</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;">    <span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">RadioButtonList</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">ItemTemplate</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">templatefield</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">Columns</span><span style="color:blue;">&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">PagerStyle </span><span style="color:red;">HorizontalAlign</span><span style="color:blue;">=&#8221;Center&#8221; </span><span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;#2461BF&#8221;</span><br />
<span style="color:red;">ForeColor</span><span style="color:blue;">=&#8221;White&#8221; </span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">SelectedRowStyle </span><span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;#D1DDF1&#8243; </span><span style="color:red;">Font-Bold</span><span style="color:blue;">=&#8221;True&#8221;</span><br />
<span style="color:red;">ForeColor</span><span style="color:blue;">=&#8221;#333333&#8243;</span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">HeaderStyle </span><span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;#e2eeff&#8221; </span><span style="color:red;">Font-Bold</span><span style="color:blue;">=&#8221;True&#8221;</span><br />
<span style="color:red;">Font-Size</span><span style="color:blue;">=&#8221;Large&#8221; </span><span style="color:red;">ForeColor</span><span style="color:blue;">=&#8221;White&#8221; </span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">EditRowStyle </span><span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;#2461BF&#8221;</span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">AlternatingRowStyle </span><span style="color:red;">CssClass</span><span style="color:blue;">=&#8221;ms-alternating&#8221;</span><br />
<span style="color:red;">BackColor</span><span style="color:blue;">=&#8221;White&#8221;</span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;/</span><span style="color:#a31515;">asp</span><span style="color:blue;">:</span><span style="color:#a31515;">GridView</span><span style="color:blue;">&gt;</span></span></p>
<p>The above code will result in a grid looking like below. I have used some SharePoint CSS (Core.css) to bring the SharePoint look.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://maniyasblog.files.wordpress.com/2010/03/031510_1651_sharepoints1.jpg?w=500" alt="" /></p>
<p>The data should be displayed using bound columns. The SPDataSource can be used with SharePoint controls without any coding.</p>
<p>Given below is another example for binding data to InputFormCheckBoxList in SP.</p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">sharepoint</span><span style="color:blue;">:</span><span style="color:#a31515;">InputFormCheckBoxList </span><span style="color:red;">ID</span><span style="color:blue;">=&#8221;InputFormCheckBoxList1&#8243; </span><span style="color:red;">runat</span><span style="color:blue;">=&#8221;server&#8221;</span><br />
<span style="color:red;">CssClass</span><span style="color:blue;">=&#8221;ms-authoringcontrols&#8221; </span></span><span style="font-family:Courier New;font-size:10pt;"><span style="color:red;">DataSourceID</span><span style="color:blue;">=&#8221;spdsSupervisor&#8221; </span><span style="color:red;">DataTextField</span><span style="color:blue;">=&#8221;Title&#8221;</span><span style="color:blue;">/&gt;<br />
</span></span></p>
<p>The above code will result in a checkbox list looking like the one below. On change of codes the assemblies need not be recompiled and deployed</p>
<p>To GAC. This means no building of WSP/CAB files and writing codes to copy assemblies to Global Assembly Cache. (Nice isn&#8217;t it)</p>
<p style="text-align:center;"><img class="aligncenter" src="http://maniyasblog.files.wordpress.com/2010/03/031510_1651_sharepoints2.jpg?w=500" alt="" /></p>
<p>Hassle free code with fewer bugs can be developed by using SPDataSource. There are different types of Datasourcemode-ListItem, CrossList, Webs, and ListOfLists.</p>
<p>SharePoint developers who develop applications and custom application pages with SharePoint as data store (Lists as tables) will be benefited by using SPDataSource.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=82&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2010/03/15/sharepoint-spdatasource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>

		<media:content url="http://maniyasblog.files.wordpress.com/2010/03/031510_1651_sharepoints1.jpg" medium="image" />

		<media:content url="http://maniyasblog.files.wordpress.com/2010/03/031510_1651_sharepoints2.jpg" medium="image" />
	</item>
		<item>
		<title>Modal Popup Extender</title>
		<link>http://maniyasblog.wordpress.com/2009/06/24/modal-popup-extender/</link>
		<comments>http://maniyasblog.wordpress.com/2009/06/24/modal-popup-extender/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:04:29 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Ajax control toolkit]]></category>
		<category><![CDATA[ajax control toolkit may release]]></category>
		<category><![CDATA[hide modal popup]]></category>
		<category><![CDATA[javascript to hide popup]]></category>
		<category><![CDATA[modal popup extender]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=70</guid>
		<description><![CDATA[ To hide a modal popup control (Ajax control toolkit may 2009 release), the below JavaScript code can be used. Instead of using OK control ID or OK script, this JavaScript code can be used in the    oncllientclick event of any &#8230; <a href="http://maniyasblog.wordpress.com/2009/06/24/modal-popup-extender/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=70&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="padding-left:30px;"> <span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"><span style="color:#003366;">To hide a modal popup control (Ajax control toolkit may 2009 release), the below JavaScript code can be used. </span></span></span><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"><span style="color:#003366;">Instead of using OK control ID or OK script, this JavaScript code can be used in the </span></span><span style="font-size:small;color:#00007f;"> </span></span></span></p>
<div><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"> </span></span><span style="color:#003366;"><span style="font-size:small;color:#ff0000;"><span style="font-size:small;color:#ff0000;">oncllientclick</span></span><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"> event of any control.</span></span></span>  </div>
<p style="padding-left:30px;">
<div><span style="font-size:small;color:#7f0000;"><span style="font-size:small;color:#7f0000;"> </span></span> <span style="font-size:small;color:#7f0000;"><span style="font-size:small;color:#7f0000;"><span style="color:#003366;">$find(&#8216;mdlpopup&#8217;).hide();return false</span> </span></span><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"><span style="color:#003366;">&lt;asp:ImageButton ID=&#8221;imgbtnCancel&#8221; runat=&#8221;server&#8221; ImageUrl=&#8221;Images/cancel.gif&#8221;CausesValidation=&#8221;False&#8221; OnClientClick=&#8221;$find(&#8216;mdlpopup&#8217;).hide();return false;&#8221; /&gt;</span></span></span>   </div>
<div><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"></span></span></div>
<p> </p>
<p><span style="font-size:small;color:#00007f;"><span style="font-size:small;color:#00007f;"></p>
<p style="padding-left:30px;"><span style="color:#003366;">While using a popup control extender, hiding it from server side sometimes gives an error.</span> </p>
<p><span style="color:#003366;">To avoid this use the popupcontrolextender.Cancel() event from server side. Often the control is rendered with </span></p>
<p></span></span><span style="color:#003366;">Server side code making it less possible to write client side scripts to hide </span>it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=70&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2009/06/24/modal-popup-extender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint List – Column name</title>
		<link>http://maniyasblog.wordpress.com/2009/05/21/sharepoint-list-column-name/</link>
		<comments>http://maniyasblog.wordpress.com/2009/05/21/sharepoint-list-column-name/#comments</comments>
		<pubDate>Thu, 21 May 2009 12:31:39 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[column name]]></category>
		<category><![CDATA[field name]]></category>
		<category><![CDATA[internal name]]></category>
		<category><![CDATA[list item]]></category>
		<category><![CDATA[spitem]]></category>
		<category><![CDATA[splist]]></category>
		<category><![CDATA[underlying name]]></category>
		<category><![CDATA[xml decode]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=65</guid>
		<description><![CDATA[Column names in SharePoint lists, doesn&#8217;t changes internally while modifying. Rather it changes the name in view alone. (SQL table as list &#38; views as user views). Whenever we access the list item value programmatically, the display name is used &#8230; <a href="http://maniyasblog.wordpress.com/2009/05/21/sharepoint-list-column-name/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=65&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Column names in SharePoint lists, doesn&#8217;t changes internally while modifying. Rather it changes the name in view alone. (SQL table as list &amp; views as user views). Whenever we access the list item value programmatically, the display name is used to refer the field.</p>
<p><span style="font-size:10pt;font-family:Courier New;"><span style="color:teal;">SPList</span> li=<span style="color:blue;">new</span> <span style="color:teal;">SPList</span>(); </span></p>
<p><span style="font-size:10pt;font-family:Courier New;"><span style="color:teal;">SPItem</span> item =li.Items[0]; </span></p>
<p><span style="font-size:10pt;font-family:Courier New;">item.Fields[strdisplayname].GetFieldValue(); </span></p>
<p>But in some cases like adding event receiver to the list the internal name o f the field name (Underlying name) is used. It can be found by right clicking the column name and noting the url.</p>
<p>http://xxx/Docs/_layouts/FldEdit.aspx?List=%7B7B782235%2DDBCC%2D49D1%2D907E%2D85F3C434CA47%7D&amp;Field=<span style="color:red;"><strong>Status </strong></span></p>
<p>The name might sometime look like <span style="font-size:10pt;color:maroon;font-family:Courier New;">Database_x0020_Name </span>which need to be xml decoded at time of programming. Use xml decoding like this</p>
<p><span style="font-size:10pt;font-family:Courier New;"><span style="color:teal;">XmlConvert</span>.DecodeName(properties.ListItem.Fields["Fieldname"].StaticName) </span></p>
<p><img src="http://www.innovativeindians.net/mani/image.axd?picture=052109_1200_SharePointL1.png" alt="" width="546" height="184" /></p>
<p>Happy programming.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=65&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2009/05/21/sharepoint-list-column-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>

		<media:content url="http://www.innovativeindians.net/mani/image.axd?picture=052109_1200_SharePointL1.png" medium="image" />
	</item>
		<item>
		<title>Internet explorer automation</title>
		<link>http://maniyasblog.wordpress.com/2008/12/10/internet-explorer-automation/</link>
		<comments>http://maniyasblog.wordpress.com/2008/12/10/internet-explorer-automation/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 08:20:02 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Microsoft html library class]]></category>
		<category><![CDATA[mshtml.HTMLDocumentClass]]></category>
		<category><![CDATA[SHDocVw]]></category>
		<category><![CDATA[using SHDocVw]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=53</guid>
		<description><![CDATA[Automating internet explorer from dotnet is possible through c# given below is a sample To use the below code add reference to Microsoft.mshtml class and Microsoft html library class To assist you in finding the names of html controls and &#8230; <a href="http://maniyasblog.wordpress.com/2008/12/10/internet-explorer-automation/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=53&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Automating internet explorer from dotnet is possible through c# given below is a sample</p>
<p>To use the below code add reference to Microsoft.mshtml class and Microsoft html library class</p>
<p>To assist you in finding the names of html controls and their id&#8217;s use internet developer toolbar available from Microsoft (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;DisplayLang=en">click here to get it now</a>)    </p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System;</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System.Collections.Generic;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System.ComponentModel;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System.Data;<br />
</span></p>
<p><span style="color:blue;">using</span> System.Drawing;</p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System.Text;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System.Windows.Forms;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> SHDocVw; <span style="color:blue;">using</span> System.IO;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">using</span> System.Security.Cryptography;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">namespace</span> ie </span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{ </span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">public </span><span style="color:blue;">partial </span><span style="color:blue;">class </span><span style="color:teal;">Form1</span> : <span style="color:teal;">Form</span></span><span style="font-family:Courier New;font-size:10pt;"><span style="color:teal;"><br />
</span>{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">public</span> Form1()<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">InitializeComponent();<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">} </span>       </p>
<p><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">private </span><span style="color:blue;">void</span> button1_Click(<span style="color:blue;">object</span> sender, <span style="color:teal;">EventArgs</span> e)<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">{ </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:teal;">Object</span> nullob = <span style="color:blue;">null</span>; </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:teal;">Object</span> URL = <span style="color:maroon;">&#8220;http://www.google.com/&#8221;</span>; //Use the url of webpage to automate</span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">mshtml.<span style="color:teal;">HTMLDocumentClass</span> doc; </span>  </p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:teal;">InternetExplorer</span> ie = <span style="color:blue;">new</span><br />
<span style="color:teal;">InternetExplorer</span>(); </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">ie.Visible = <span style="color:blue;">true</span>; </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">ie.Navigate2(<span style="color:blue;">ref</span> URL, <span style="color:blue;">ref</span> nullob, <span style="color:blue;">ref</span> nullob, <span style="color:blue;">ref</span> nullob, <span style="color:blue;">ref</span> nullob); </span></p>
<p>     <br />
 </p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">while</span> (ie.ReadyState != SHDocVw.<span style="color:teal;">tagREADYSTATE</span>.READYSTATE_COMPLETE) </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">{ </span></p>
<p style="margin-left:72pt;"><span style="font-family:Courier New;font-size:10pt;">System.Windows.Forms.<span style="color:teal;">Application</span>.DoEvents(); </span></p>
<p style="margin-left:72pt;"><span style="font-family:Courier New;font-size:10pt;">System.Threading.<span style="color:teal;">Thread</span>.Sleep(50); </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">} </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">doc = (mshtml.<span style="color:teal;">HTMLDocumentClass</span>)ie.Document;</span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">mshtml.<span style="color:teal;">HTMLInputElementClass</span> inputel = (mshtml.<span style="color:teal;">HTMLInputElementClass</span>)doc.all.item(<span style="color:maroon;">&#8220;sometextboxid&#8221;</span>, <span style="color:blue;">null</span>); </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">inputel.value = <span style="color:maroon;">&#8220;sometext&#8221;</span>; //Text needed to be filled in textbox get the text box id from source</span></p>
<p style="margin-left:36pt;">     <br />
 </p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">inputel = (mshtml.<span style="color:teal;">HTMLInputElementClass</span>)doc.all.item(<span style="color:maroon;">&#8220;sometextboxid&#8221;</span>, <span style="color:blue;">null</span>); </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">inputel.value = <span style="color:maroon;">&#8220;sometext&#8221;</span>; </span></p>
<p style="margin-left:36pt;">     <br />
 </p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">mshtml.<span style="color:teal;">HTMLSelectElementClass</span> inputsel = (mshtml.<span style="color:teal;">HTMLSelectElementClass</span>)doc.all.item(<span style="color:maroon;">&#8220;questions&#8221;</span>, <span style="color:blue;">null</span>); </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">inputsel.selectedIndex = 2; //dropdown select</span></p>
<p style="margin-left:36pt;">     <br />
 </p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">foreach</span> (mshtml.<span style="color:teal;">HTMLInputElementClass</span> inp <span style="color:blue;">in</span> doc.getElementsByTagName(<span style="color:maroon;">&#8220;INPUT&#8221;</span>)) </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">{ // to click the button in webpage</span></p>
<p style="margin-left:72pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">if</span> (inp.value == <span style="color:maroon;">&#8220;submit&#8221;</span>) </span></p>
<p style="margin-left:72pt;"><span style="font-family:Courier New;font-size:10pt;">{ </span></p>
<p style="margin-left:72pt;"><span style="font-family:Courier New;font-size:10pt;">inp.click();     </span></p>
<p style="margin-left:72pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">break</span>; </span></p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;">      } </span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:10pt;">}</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=53&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/12/10/internet-explorer-automation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharepoint server licensing</title>
		<link>http://maniyasblog.wordpress.com/2008/11/05/48/</link>
		<comments>http://maniyasblog.wordpress.com/2008/11/05/48/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 11:50:10 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[Licenses for sharepoint]]></category>
		<category><![CDATA[moss licensing]]></category>
		<category><![CDATA[sharepoint implementation]]></category>
		<category><![CDATA[sharepoint license]]></category>
		<category><![CDATA[sharepoint licensing]]></category>
		<category><![CDATA[Sharepoint server 2007 licensing]]></category>
		<category><![CDATA[Sharepoint server license]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=48</guid>
		<description><![CDATA[While searching for moss installation in farm scenario I came across multiple suggestions. Apart from standalone installation while making a vanilla implementation it’s easy…When going for moss implementation with both intranet and extranet users it becomes tedious. Here are the &#8230; <a href="http://maniyasblog.wordpress.com/2008/11/05/48/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=48&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0 0 0 .25in;"><span style="font-size:14pt;"><span style="font-family:Times New Roman;">While searching for moss installation in farm scenario I came across multiple suggestions. Apart from standalone installation while making a vanilla implementation it’s easy…When going for moss implementation with both intranet and extranet users it becomes tedious.</span></span></p>
<p class="MsoNormal" style="margin:0 0 0 .25in;"><span style="font-size:14pt;"><span style="font-family:Times New Roman;">Here are the software requirements and licensing details for the scenario</span></span></p>
<p class="MsoNormal" style="margin:0 0 0 .25in;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0 0 0 .25in;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Windows Server 2003 R2 Enterprise Edition.</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Office SharePoint Server 2007 Enterprise edition..</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Office SharePoint Server 2007 Enterprise CAL.</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">MOSS Internet Connector CAL</span></li>
<li class="MsoNormal"><span style="font-size:small;"><span style="font-family:Times New Roman;"><span> </span>Microsoft SQL Server 2005 SP1 or later.</span></span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">MS Office 2007 (Word. Excel and PowerPoint are essential, SharePoint designer and InfoPath are required for moderators )</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=48&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/11/05/48/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>
	</item>
		<item>
		<title>C/ODBC connection for navision</title>
		<link>http://maniyasblog.wordpress.com/2008/10/24/codbc-connection-for-navision/</link>
		<comments>http://maniyasblog.wordpress.com/2008/10/24/codbc-connection-for-navision/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 09:30:59 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[Navision]]></category>
		<category><![CDATA[c/odbc driver]]></category>
		<category><![CDATA[crystal reports navision]]></category>
		<category><![CDATA[navision c/odbc]]></category>
		<category><![CDATA[navision database connectivity]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=27</guid>
		<description><![CDATA[Now a days connecting navision via c/odbc has become essential for navision programmers. For sql reporting services,crystal reports, programmatic access via vb or c# we need this odbc driver. It is shipped with navision attain product cd. install it to activate &#8230; <a href="http://maniyasblog.wordpress.com/2008/10/24/codbc-connection-for-navision/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=27&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now a days connecting navision via c/odbc has become essential for navision programmers.</p>
<p>For sql reporting services,crystal reports, programmatic access via vb or c# we need this odbc driver.</p>
<p>It is shipped with navision attain product cd. install it to activate the driver.</p>
<p> </p>
<p> </p>
<p>Start -&gt; Control Panel -&gt; Administrative Tools -&gt; Data Sources (ODBC), then switch to System DSN and click Add. We will use C/ODBC 32-bit driver. Give Data Source Name Navision, Connection – leave it Local. As the database (Database button) select \Program Files\Navision Attain\Client\database.fdb (this is demo DB).</p>
<p> Open SQL Server Enterprise Manager. Open object browser on the left side, select Security and Linked Servers. With right click select New Linked Server in the context menu. In the emerging dialog window, in the menu Provider Name select Microsoft OLE DB Provider for ODBC Drivers. Let’s name our Linked Server as NAVISION. In the Data Source string type in ODBC DSN name – NAVISION in our case. Linked Server is ready. Select tables list and we now see Navision Attain tables.</p>
<p><span style="text-decoration:underline;">Sample query:</span></p>
<p>CREATE PROCEDURE NavisionSalesReport AS<br />
DBCC TRACEON(8765)<br />
SELECT * FROM OPENQUERY(NAVISION, &#8216;SELECT * FROM Sales_Line sls, Customer cust WHERE sls.Sell_to_Customer_No_ = cust.No_&#8217;)<br />
RETURN<br />
GO</p>
<p> <a href="http://maniyasblog.files.wordpress.com/2008/10/footer.jpg"><img class="alignnone size-medium wp-image-28" title="footer" src="http://maniyasblog.files.wordpress.com/2008/10/footer.jpg?w=300&#038;h=11" alt="" width="300" height="11" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=27&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/10/24/codbc-connection-for-navision/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>

		<media:content url="http://maniyasblog.files.wordpress.com/2008/10/footer.jpg?w=300" medium="image">
			<media:title type="html">footer</media:title>
		</media:content>
	</item>
		<item>
		<title>Bin packing algorithm</title>
		<link>http://maniyasblog.wordpress.com/2008/10/24/bin-packing-algorithm/</link>
		<comments>http://maniyasblog.wordpress.com/2008/10/24/bin-packing-algorithm/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 09:12:57 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[bin packing algorithm]]></category>
		<category><![CDATA[Bin Packing Explained]]></category>
		<category><![CDATA[bin packing solution]]></category>
		<category><![CDATA[bins and packs]]></category>
		<category><![CDATA[knapsack algorithm]]></category>
		<category><![CDATA[knapsack implementation]]></category>
		<category><![CDATA[pack bin]]></category>
		<category><![CDATA[pack items into bins]]></category>
		<category><![CDATA[packing algorithm]]></category>
		<category><![CDATA[sort bin data]]></category>
		<category><![CDATA[The maximum resource bin packing problem]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=23</guid>
		<description><![CDATA[People working with ERP systems and applications related to them would have come across the Bin packing problem.usually this is solved using knapsack algorithm. But it doesnt gives correct solution. Here is the implementation of bin packing algorithm in VB.net.Packing &#8230; <a href="http://maniyasblog.wordpress.com/2008/10/24/bin-packing-algorithm/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=23&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_25" class="wp-caption aligncenter" style="width: 308px"><a href="http://maniyasblog.files.wordpress.com/2008/10/binpacking.jpg"><img class="size-medium wp-image-25" title="binpacking" src="http://maniyasblog.files.wordpress.com/2008/10/binpacking.jpg?w=298&#038;h=300" alt="binpacking" width="298" height="300" /></a><p class="wp-caption-text">binpacking</p></div>
<p>People working with ERP systems and applications related to them would have come across the</p>
<p>Bin packing problem.usually this is solved using knapsack algorithm. But it doesnt gives correct solution.</p>
<p>Here is the implementation of bin packing algorithm in VB.net.Packing boxes with maximum height limits can be done.</p>
<p>The methodology will be so efficient that the solution will be best fit for the boxes.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p> </p>
<p>        If IsNumeric(cbobox.Text) Then<br />
            Dim check As String<br />
            Dim bins()() As Integer &#8216;the bin elements stored as two dimensional array representing bin number and the weights<br />
            Dim item As Integer<br />
            item = objds.Tables(0).Rows.Count &#8211; 1<br />
            Dim h As Integer<br />
            Dim itw As Integer = 0<br />
            Dim itemw As String<br />
            Dim objitemweight As String = String.Empty<br />
            Dim it As Integer = 0<br />
            Dim itno As String<br />
            Dim itemno As String<br />
            Dim itremove As ArrayList = New ArrayList()<br />
  <br />
  For h = 0 To item<br />
                itw = grdDisplayitems.Item(2, h).Value<br />
                If (h &lt;&gt; item) Then<br />
                    itemw = itw.ToString() + &#8221; &#8220;<br />
                Else<br />
                    itemw = itw.ToString()<br />
                End If</p>
<p>                objitemweight += itemw</p>
<p>            Next</p>
<p>         <br />
            Dim elements() As String<br />
            Dim elementnumber(elements.GetUpperBound(0)) As Integer<br />
            Dim v As Integer<br />
            For v = 0 To elements.GetUpperBound(0)</p>
<p>                If IsNumeric(elements(v)) Then<br />
                    elementnumber(v) = CType(elements(v), Integer)<br />
                Else<br />
                    &#8216;MessageBox.Show(&#8220;error&#8221;)<br />
                End If</p>
<p>            Next</p>
<p>            ReDim bins(0)<br />
            Dim BinNumber, BinElement, BinCount As Integer<br />
            Dim BestBin, BestBinAmount As Integer<br />
            Dim i, j, k As Integer</p>
<p>          &#8216;If required make a copy of array elements and proceed</p>
<p>            ReDim bins(0)(0)<br />
            For i = 0 To elementnumber.GetUpperBound(0)<br />
                BestBin = -1<br />
                BestBinAmount = -1</p>
<p>                For j = 0 To BinNumber</p>
<p>                    BinElement = bins(j).GetUpperBound(0)<br />
                    BinCount = 0<br />
                    For k = 0 To BinElement<br />
                        BinCount += bins(j)(k)<br />
                    Next</p>
<p>                    If BestBinAmount &lt; BinCount AndAlso BinCount + elementnumber(i) &lt;= cbobox.Text Then</p>
<p>                        BestBinAmount = BinCount<br />
                        BestBin = j<br />
                    End If</p>
<p>                Next</p>
<p>                If BestBin = -1 Then<br />
                    ReDim Preserve bins(BinNumber + 1)<br />
                    BinNumber += 1<br />
                    ReDim bins(BinNumber)(1)<br />
                    BinElement = 0<br />
                    bins(BinNumber)(BinElement) = elementnumber(i)<br />
                Else<br />
                    &#8216;bins(BestBin)(BinElement).ToString()<br />
                    BinElement = bins(BestBin).GetUpperBound(0)<br />
                    ReDim Preserve bins(BestBin)(BinElement + 1) &#8216;This is one of the best thing in vb apart from c# redim statement<br />
                    bins(BestBin)(BinElement) = elementnumber(i)<br />
                  <br />
                End If</p>
<p>            Next</p>
<p> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Happy programming</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=23&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/10/24/bin-packing-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>

		<media:content url="http://maniyasblog.files.wordpress.com/2008/10/binpacking.jpg?w=298" medium="image">
			<media:title type="html">binpacking</media:title>
		</media:content>
	</item>
		<item>
		<title>Folder Lock</title>
		<link>http://maniyasblog.wordpress.com/2008/10/24/folder-lock/</link>
		<comments>http://maniyasblog.wordpress.com/2008/10/24/folder-lock/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 07:33:08 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cheat folder]]></category>
		<category><![CDATA[dos command folder hide]]></category>
		<category><![CDATA[folder lock]]></category>
		<category><![CDATA[Folder lock dos]]></category>
		<category><![CDATA[hide folder]]></category>
		<category><![CDATA[private folder]]></category>
		<category><![CDATA[protect folder]]></category>
		<category><![CDATA[protect your folder]]></category>
		<category><![CDATA[secret folder]]></category>
		<category><![CDATA[shell command folder lock]]></category>
		<category><![CDATA[simple folder lock]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=18</guid>
		<description><![CDATA[Hi folks welcome back, In corporates and working areas people are not allowed to store unwanted files(Personal folders) In order to maintain privacy and security i found this useful dos program in an magazine. Simply save the following text as &#8230; <a href="http://maniyasblog.wordpress.com/2008/10/24/folder-lock/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=18&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi folks welcome back,</p>
<p>In corporates and working areas people are not allowed to store unwanted files(Personal folders)</p>
<p>In order to maintain privacy and security i found this useful dos program in an magazine.</p>
<p>Simply save the following text as batch file and double click on it. A new folder named <strong>LOCKER</strong>  will be created in the</p>
<p>parent folder. You can use it as a brief case to store your files. If you run the batch program again,folder will be hidden.</p>
<p>Even if show all folder option is selected in view menu,the folder will not be shown in public. To open it again run the batch file</p>
<p>it prompts for a password which can be set in the code area.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>cls<br />
@ECHO OFF<br />
title Folder Locker<br />
if EXIST &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221; goto UNLOCK<br />
if NOT EXIST Locker goto MDLOCKER<br />
:CONFIRM<br />
echo Lock folder Y/N ?<br />
set/p &#8220;cho=&gt;&#8221;<br />
if %cho%==Y goto LOCK<br />
if %cho%==y goto LOCK<br />
if %cho%==n goto END<br />
if %cho%==N goto END<br />
echo Invalid choice.<br />
goto CONFIRM<br />
:LOCK<br />
ren Locker &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
attrib +h +s &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
echo Folder locked<br />
goto End<br />
:UNLOCK<br />
echo Enter Password<br />
set/p &#8220;pass=&gt;&#8221;<br />
if NOT %pass%==PASSWORD goto FAIL<br />
attrib -h -s &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
ren &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221; Locker<br />
echo Folder Unlocked successfully<br />
goto End<br />
:FAIL<br />
echo Invalid password<br />
goto end<br />
:MDLOCKER<br />
md Locker<br />
echo Locker created successfully<br />
goto End<br />
:End</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p> </p>
<p>Enjoy the privacy, Happy programming&#8230;</p>
<p> </p>
<p>&#8220;Knowledge is for everyone it should be shared &#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=18&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/10/24/folder-lock/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>
	</item>
		<item>
		<title>Extract image from word files</title>
		<link>http://maniyasblog.wordpress.com/2008/10/23/extract-image-from-word-files/</link>
		<comments>http://maniyasblog.wordpress.com/2008/10/23/extract-image-from-word-files/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 15:01:48 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[Download MS Word Extract Images]]></category>
		<category><![CDATA[Extract images from a Word document]]></category>
		<category><![CDATA[Extract Microsoft Word Images Programmatically]]></category>
		<category><![CDATA[Extracting pictures from Word]]></category>
		<category><![CDATA[get images word]]></category>
		<category><![CDATA[How to Extract Images Embedded in Word Documents]]></category>
		<category><![CDATA[How to extract the images from a .doc file]]></category>
		<category><![CDATA[image extractor]]></category>
		<category><![CDATA[Microsoft.Office.Interop.Word]]></category>
		<category><![CDATA[save word images]]></category>
		<category><![CDATA[word image]]></category>
		<category><![CDATA[word images]]></category>
		<category><![CDATA[word images c#]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/?p=3</guid>
		<description><![CDATA[Hi all, I had an requirement to extract images from word files and save it in an folder in &#8216;jpeg&#8217; format   My approach went like this, to make end user easy to work with i made this simple design. &#8230; <a href="http://maniyasblog.wordpress.com/2008/10/23/extract-image-from-word-files/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=3&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#3366ff;"><br />
Hi all, I had an requirement to <strong>extract images from word files </strong>and save it in an folder in &#8216;jpeg&#8217; format</span></p>
<div><img class="size-full wp-image-4 aligncenter" title="word image extractor" src="http://maniyasblog.files.wordpress.com/2008/10/19.jpg?w=359&#038;h=212" alt="" width="359" height="212" /> <span style="font-family:Tahoma;"><br />
My approach went like this, to make end user easy to work with i made this simple design. </span></div>
<div><span><span style="font-family:Tahoma;"><strong>Microsoft.Office.Interop.Word </strong>is the main assembly which will be available if MS Office Word is installed.(for developement,</span></span></div>
<div><span style="font-family:Tahoma;">in case of deployment it can be packed with the product) </span></div>
<div> </div>
<div><span style="font-family:Tahoma;">Microsoft.Office.Interop.Word.ApplicationClass wordApp = new ApplicationClass ();<br />
Document doc = wordApp.Documents.Open(ref str1, refmissing, ref yes, ref missing, ref missing, refmissing, ref missing, ref issing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);<br />
object wordApp.Visible = false ;<br />
str1 = str;<br />
object missing = System.Reflection. Missing.Value;<br />
object yes = true;</span></div>
<div><span style="font-family:Tahoma;"> </p>
<div><span style="font-family:Tahoma;"> </span></div>
<p> </p>
<p></span></div>
<p><span style="font-family:Tahoma;">//////////////////////Check whether the word file contains images and proceed to extr<strong>action</strong></span><span style="font-family:Tahoma;"> </span></p>
<p> if (doc.InlineShapes.Count &gt; 0)<br />
                    {                    <br />
                        for (int j = 0; j &lt; doc.InlineShapes.Count; j++)<br />
                        {<br />
                            doc.InlineShapes[j].Select();<br />
                            doc.ActiveWindow.Selection.CopyAsPicture();                          <br />
                            IDataObject data = Clipboard.GetDataObject();<br />
                            if (data.GetDataPresent(typeof(System.Drawing.Bitmap)))<br />
                            {<br />
                                object bm = data.GetData(DataFormats.Bitmap);<br />
                                Bitmap bmp;<br />
                                bmp = (Bitmap)data.GetData(typeof(System.Drawing.Bitmap));<br />
                                strcopy.Remove(strcopy.LastIndexOf(&#8220;.&#8221;));<br />
                                tail = strcopy.Substring(strcopy.LastIndexOf(&#8220;\\&#8221;) + 1, strcopy.Length &#8211; strcopy.LastIndexOf(&#8220;\\&#8221;) &#8211; 5);<br />
                                str.Remove(pos);<br />
                                path = str.Remove(pos) + &#8220;<a href="//\\Extractedimages">\\Extractedimages</a>&#8221; + tail;<br />
                                System.IO.Directory.CreateDirectory(path);<br />
                                tail = path;<br />
                                path = path + &#8220;\\&#8221; + j.ToString() + &#8220;.bmp&#8221;;<br />
                                bmp.Save(path);<br />
                             <br />
                            }<br />
                        }<br />
                        MessageBox.Show(&#8220;images are saved in the folder&#8221; + tail);<br />
                        wordApp.Quit(ref missing, ref missing, ref missing);                     <br />
                    }<br />
  </p>
<div><span style="font-size:12pt;font-family:Tahoma;"><br />
And hurray you are done.The images will be saved in the same location inside a folder with prefix &#8216;Extracted images&#8217; and the file name. </span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=3&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/10/23/extract-image-from-word-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>

		<media:content url="http://maniyasblog.files.wordpress.com/2008/10/19.jpg" medium="image">
			<media:title type="html">word image extractor</media:title>
		</media:content>
	</item>
		<item>
		<title>Navision 4.0 C/SIDE Introduction MB7-221</title>
		<link>http://maniyasblog.wordpress.com/2008/06/16/35/</link>
		<comments>http://maniyasblog.wordpress.com/2008/06/16/35/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 06:31:00 +0000</pubDate>
		<dc:creator>mani23</dc:creator>
				<category><![CDATA[Navision]]></category>
		<category><![CDATA[MB7-221]]></category>
		<category><![CDATA[Navision 4.0 C/SIDE Introduction]]></category>
		<category><![CDATA[TestKingonline. Study Guide]]></category>

		<guid isPermaLink="false">http://maniyasblog.wordpress.com/2008/06/16/35/</guid>
		<description><![CDATA[MB7-221 Navision 4.0 C/SIDE Introduction TestKingonline. Study Guide. Get it Here CLICK INFORMATION FOR EVERYONE.KNOWLEDGE SHOULD BE SHARED<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=35&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MB7-221<br />
Navision 4.0 C/SIDE Introduction<br />
TestKingonline. Study Guide.<br />
Get it Here <a href="http://rapidshare.com/files/1994859/MB7-221.zip">CLICK</a><br />
<em><span style="color:#ff6600;font-family:verdana;">INFORMATION FOR EVERYONE.KNOWLEDGE SHOULD BE SHARED</span></em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maniyasblog.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maniyasblog.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maniyasblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maniyasblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maniyasblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maniyasblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maniyasblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maniyasblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maniyasblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maniyasblog.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maniyasblog.wordpress.com&amp;blog=5271706&amp;post=35&amp;subd=maniyasblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maniyasblog.wordpress.com/2008/06/16/35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7db1b94af3748121997e07cd67de457?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mani23</media:title>
		</media:content>
	</item>
	</channel>
</rss>
