<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Inherited from System.Object</title><link>http://blogs.msdn.com/sidhartg/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Speeding up your CCF Workflow</title><link>http://blogs.msdn.com/sidhartg/archive/2008/04/28/speeding-up-your-ccf-workflow.aspx</link><pubDate>Mon, 28 Apr 2008 13:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8435043</guid><dc:creator>Sidhartha</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/8435043.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=8435043</wfw:commentRss><description>CCF Workflows takes several seconds to start for the first time. This is to do with the fundamental .Net feature called JIT. When you first launch the workflow, CCF creates the workflow engine for the first time and starts the engine before working on...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2008/04/28/speeding-up-your-ccf-workflow.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8435043" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/CCF/default.aspx">CCF</category></item><item><title>Adding CCF Agents Programmatically</title><link>http://blogs.msdn.com/sidhartg/archive/2008/04/26/adding-ccf-agents-programmatically.aspx</link><pubDate>Sat, 26 Apr 2008 21:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8428363</guid><dc:creator>Sidhartha</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/8428363.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=8428363</wfw:commentRss><description>One of the most annoying features for admins with managing CCF is adding Agents. Updating/Deleting are less annoying as they are not in bulk most of the times. Even manually adding Agents using CCF Admin Console is not productive when adding more than...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2008/04/26/adding-ccf-agents-programmatically.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8428363" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/CCF/default.aspx">CCF</category></item><item><title>Reason behind AdapterContextChange()'s failure</title><link>http://blogs.msdn.com/sidhartg/archive/2007/12/21/reason-behind-adaptercontextchange-s-failure.aspx</link><pubDate>Fri, 21 Dec 2007 10:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6825155</guid><dc:creator>Sidhartha</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/6825155.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=6825155</wfw:commentRss><description>I know very few people are working in CCF currently. But here is an undocumented life saver. The Context that is passed in the NotifyContextChange event is a reference to the object and not a value. Most of you might already know this as it is a reference...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2007/12/21/reason-behind-adaptercontextchange-s-failure.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6825155" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/CCF/default.aspx">CCF</category></item><item><title>Getting away with client Config in WCF</title><link>http://blogs.msdn.com/sidhartg/archive/2007/09/01/getting-away-with-client-config-in-wcf.aspx</link><pubDate>Sat, 01 Sep 2007 12:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4685090</guid><dc:creator>Sidhartha</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/4685090.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=4685090</wfw:commentRss><description>Introduction This weblog provides a solution to one of the most common problem faced by developers while developing their projects involving WCF Services using Visual Studio. Background To give you a little background on what this is all about… when you...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2007/09/01/getting-away-with-client-config-in-wcf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4685090" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sidhartg/attachment/4685090.ashx" length="29107" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/WCF/default.aspx">WCF</category></item><item><title>Method Overloading in WCF</title><link>http://blogs.msdn.com/sidhartg/archive/2007/09/01/method-overloading-in-wcf.aspx</link><pubDate>Sat, 01 Sep 2007 12:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4684990</guid><dc:creator>Sidhartha</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/4684990.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=4684990</wfw:commentRss><description>WCF solves so many complex problems of the distributing computing, yet when it comes to simple things like overloading it fumbles. This is not what I say, but what I heard from some developers at my customer's site. So, I thought how can such a small...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2007/09/01/method-overloading-in-wcf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4684990" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/WCF/default.aspx">WCF</category></item><item><title>WSDL for WCF Service</title><link>http://blogs.msdn.com/sidhartg/archive/2007/04/09/wsdl-for-wcf-service.aspx</link><pubDate>Mon, 09 Apr 2007 05:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2057211</guid><dc:creator>Sidhartha</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/2057211.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=2057211</wfw:commentRss><description>This can be tricky at times. If all you want is the basic communication WSDL, you can get it by appending ?WSDL to the .svc file. This will output the required WSDL. A sample for this would be something like: http://localhost/MyService/Service.svc?WSDL...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2007/04/09/wsdl-for-wcf-service.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2057211" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/WSDL/default.aspx">WSDL</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/WCF/default.aspx">WCF</category></item><item><title>No More DLL Hell - The Song</title><link>http://blogs.msdn.com/sidhartg/archive/2006/10/10/No-More-DLL-Hell-_2D00_-The-Song.aspx</link><pubDate>Tue, 10 Oct 2006 13:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:811953</guid><dc:creator>Sidhartha</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/811953.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=811953</wfw:commentRss><description>Spike Xavier &amp;amp; Dan Wahlin came up with this song while carpooling to their work... Is starts like a rock song, then loses track. They have however tried to keep onto the same genre, but... They realized that they created a new genre of music and promply...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2006/10/10/No-More-DLL-Hell-_2D00_-The-Song.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=811953" width="1" height="1"&gt;</description></item><item><title>Google... I'm really feeling lucky today :)</title><link>http://blogs.msdn.com/sidhartg/archive/2006/10/10/Google_2E002E002E00_-I_2700_m-really-feeling-lucky-today-_3A002900_.aspx</link><pubDate>Tue, 10 Oct 2006 08:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:811219</guid><dc:creator>Sidhartha</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/811219.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=811219</wfw:commentRss><description>Long long ago... when people tried "Failure" in the search box and tried their luck (I'm Feeling lucky), they were directed to President Bush related website... How obvious!!! And they say... history repeats... and here is another proof... Try "Search"...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2006/10/10/Google_2E002E002E00_-I_2700_m-really-feeling-lucky-today-_3A002900_.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=811219" width="1" height="1"&gt;</description></item><item><title>Using Windows Form with InfoPath 2003</title><link>http://blogs.msdn.com/sidhartg/archive/2006/10/02/Using-Windows-Form-with-InfoPath-2003.aspx</link><pubDate>Mon, 02 Oct 2006 13:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:784848</guid><dc:creator>Sidhartha</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/784848.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=784848</wfw:commentRss><description>InfoPath 2003 does not provide any password field. So, storing passwords on the form is not recommended as it is in clear text. To have something really critical as passwords on the InfoPath forms is not a straightforward task. I've used a workaround...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2006/10/02/Using-Windows-Form-with-InfoPath-2003.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=784848" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sidhartg/attachment/784848.ashx" length="104100" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sidhartg/archive/tags/InfoPath/default.aspx">InfoPath</category></item><item><title>Using user roles with InfoPath 2003</title><link>http://blogs.msdn.com/sidhartg/archive/2006/09/08/746172.aspx</link><pubDate>Fri, 08 Sep 2006 14:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:746172</guid><dc:creator>Sidhartha</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/746172.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=746172</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;A href="http://msdn.microsoft.com/office/program/infopath/2003/learn/default.aspx?pull=/library/en-us/odc_ip2003_tr/html/odc_inf_lab_07.asp"&gt;Lab 7&lt;/A&gt;&amp;nbsp;of the InfoPath labs discuss about the using user roles with InfoPath.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;This is one of the most useful features in InfoPath. You can do anything with this based on the role. For example, the admin user can be shown some admin views which are not visible for a normal user.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;We can even get this information in the attached code by using the following api:&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; userRole = thisApplication.User.IsUserMemberOf(&lt;FONT color=#800000&gt;@"Domain\Group"&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;if&lt;/FONT&gt; (userRole)&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;{&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;//do something cool here&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;However, there is a catch here. This works only if the user who is accessing the form and the group specified in the user roles are of the same domain.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;So, the following are the valid and invalid combinations&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;Invalid Combination:&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;User: &lt;FONT color=#ff0000&gt;AMERICA\Employees&lt;BR&gt;&lt;FONT color=#000000&gt;Group: &lt;/FONT&gt;ASIA\SecurityGroup&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;Valid Combination:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Verdana size=2&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Verdana size=2&gt;User: &lt;FONT color=#ff0000&gt;AMERICA\Employees&lt;BR&gt;&lt;FONT color=#000000&gt;Group: &lt;/FONT&gt;AMERICA\SecurityGroup&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=746172" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category></item><item><title>70-528 Conquered!!!</title><link>http://blogs.msdn.com/sidhartg/archive/2006/09/04/738927.aspx</link><pubDate>Mon, 04 Sep 2006 08:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:738927</guid><dc:creator>Sidhartha</dc:creator><slash:comments>11</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/738927.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=738927</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;On Friday (1st Sept 2006) I wrote 70-528 (developing web client applications in .net framework 2.0).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;The material available on the test was pretty little and the topics to cover&amp;nbsp;were many. Though, I was very sure about the result... I myself was shocked when the machine displayed... "Congratulations you have passed the exam".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I thought that was a dream, but turned out to be a reality. Anyways, the result is encouraging.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;This is not a milestone achievement, but when the expectations are none, any positive result is a big achievement.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Regards,&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;IamJunk.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=738927" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Personal/default.aspx">Personal</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Junk/default.aspx">Junk</category><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Non-tech/default.aspx">Non-tech</category></item><item><title>Dynamically Hide/Disable controls in InfoPath 2003</title><link>http://blogs.msdn.com/sidhartg/archive/2006/08/24/Dynamically-Disable-or-hide-controls-in-InfoPath-2003.aspx</link><pubDate>Thu, 24 Aug 2006 09:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:716415</guid><dc:creator>Sidhartha</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/716415.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=716415</wfw:commentRss><description>&lt;P&gt;Working on InfoPath form is an easy affair as long as, developers use it for the sole purpose of its creation (Creating a simple forms to capture data and publish them to a server for sharing). The moment this rule is broken, the increase in the complexity will be directly proportional to the features being implemented.&lt;/P&gt;
&lt;P&gt;There are situations where you may need to perform some action based on the currently logged in User, the role of the user or some other parameter.&lt;/P&gt;
&lt;P&gt;Recently, I was working on something which required us to do some UI validations based on the user logged in. We cannot directly use the user roles provided as the user names will be stored in a database and we need to set the UI according to the user preferences.&lt;/P&gt;
&lt;P&gt;This is not a straight forward task in InfoPath (though, I dont want to call it tedious aswell) as InfoPath does not work that way.&lt;/P&gt;
&lt;P&gt;So, we had to work on several work arounds and found a very simple alternative.&lt;/P&gt;
&lt;P&gt;In the attached sample, you can type in the&amp;nbsp;any username in the user name textbox and the dropdown will be disabled as soon as the username is identified as the current windows username.&lt;/P&gt;
&lt;P&gt;Pretty simple code... just look at how simple InfoPath makes things.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=716415" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sidhartg/attachment/716415.ashx" length="31323" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category></item><item><title>Open and copy contents from one form to another in InfoPath 2003</title><link>http://blogs.msdn.com/sidhartg/archive/2006/08/11/695232.aspx</link><pubDate>Fri, 11 Aug 2006 11:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:695232</guid><dc:creator>Sidhartha</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/695232.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=695232</wfw:commentRss><description>Open and copy contents from one form to another in InfoPath 2003...(&lt;a href="http://blogs.msdn.com/sidhartg/archive/2006/08/11/695232.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=695232" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sidhartg/attachment/695232.ashx" length="66529" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category></item><item><title>Using configuration file with InfoPath 2003</title><link>http://blogs.msdn.com/sidhartg/archive/2006/08/03/687366.aspx</link><pubDate>Thu, 03 Aug 2006 09:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:687366</guid><dc:creator>Sidhartha</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/687366.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=687366</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;If you are working with InfoPath 2003, sooner or later you’ll encounter situations requiring you to obtain information from a config file. If you are using Visual Studio 2003 you can add a config file to the project, but reading from that file is not possible using the configuration reader. You can load that file as an XML file and have to read from that. So, loading data from config file is not a straight forward task. However, there are certain workarounds for this.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Instead of using the app.config file, we can create a simple XML file and read from that file using the classes in System.Xml namespace. This also gives you the leisure of having the required schema, so you can load directly into, say, a dataset if the config file is complex.&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;To give a more professional look for this, it would be friendly for the user to provide an InfoPath form that will save the information into the required config xml file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Attached is the sample InfoPath 2003 form (using Visual Studio 2005) which uses config settings taken from the xml file generated using another Config form to send mails.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;NOTE:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;This approach requires the forms to be provided with Full-trust and digitally signed&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=687366" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sidhartg/attachment/687366.ashx" length="92825" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sidhartg/archive/tags/Technical/default.aspx">Technical</category></item><item><title>Hello, World!</title><link>http://blogs.msdn.com/sidhartg/archive/2006/07/11/662019.aspx</link><pubDate>Tue, 11 Jul 2006 09:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:662019</guid><dc:creator>Sidhartha</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/sidhartg/comments/662019.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sidhartg/commentrss.aspx?PostID=662019</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I am sure this is not the first time you are looking at that title.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I am pretty excited to start my blog at blogs.msdn.com. Though, this is not the first time I am saying "Hello, World!" in the blogging space, this is a special one for me.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I'm working with Microsoft Global Services, where we help customers build enterprise level applications using .Net and other Microsoft Server technologies. I don't assure that you'll get to know what we are doing in detail, but certainly will know some of the challenges we face here.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;So, Stay tuned while I try and&amp;nbsp;do something and share it...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Best Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;IamJunk:)&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=662019" width="1" height="1"&gt;</description></item></channel></rss>