<?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/"
	>

<channel>
	<title>My Happy Moments &#187; Vish</title>
	<atom:link href="http://blogs.myhappymoments.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.myhappymoments.com</link>
	<description>Just another weblog</description>
	<lastBuildDate>Fri, 11 Nov 2011 00:05:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Nokia N85 SIP Settings for VoIP Setup</title>
		<link>http://blogs.myhappymoments.com/2009/11/18/nokia-n85-sip-settings-for-voip-setup/</link>
		<comments>http://blogs.myhappymoments.com/2009/11/18/nokia-n85-sip-settings-for-voip-setup/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 02:30:28 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[SIP Setting on Nokia]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=382</guid>
		<description><![CDATA[This post is specifically for the people who have requested me to help them set up voip on their Nokia N85. I have written a post to Set up VoIP setting on Nokia E63. If you have voip set up on your mobile and have access to a WiFi or 3G connection, you can save [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/' rel='bookmark' title='NOKIA E Series Internet call and SIP Settings'>NOKIA E Series Internet call and SIP Settings</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This post is specifically for the people who have requested me to help them set up voip on their Nokia N85.</p>
<p>I have written a post to <a href="http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/">Set up VoIP setting on Nokia E63</a>.</p>
<p>If you have voip set up on your mobile and have access to a WiFi or 3G connection, you can save money by using the Internet to connect your call instead of using your mobile phone minutes. Make your calls from anywhere in the world to anywhere for just a few cents a minute. Voip is easy to configure and inexpensive to use.</p>
<p>Note: <em>The first most important part of setting up the SIP VoIP setting is to update you mobile to latest firmware.</em></p>
<p>Once you have updated your mobile software.<br />
Download the application for SIP from <a href="http://www.forum.nokia.com/info/sw.nokia.com/id/d476061e-90ca-42e9-b3ea-1a852f3808ec/SIP_VoIP_Settings.html">SIP VoIP Application for Nokia N85</a>.<br />
<em>Note: Download SIP VoIP 3.0x setting for N85.</em></p>
<p>After you have downloaded the SIS (settings file) on your PC.</p>
<ol>
<li>Use Nokia PC Suit software on your PC to install it on to the phone.</li>
<li>Once the installation is complete restart your phone.</li>
<li>You will be able to see VoIP Settings on your phone.</li>
</ol>
<p>Then follow the instruction’s for setting up the voip in the following post. <a href="http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/">Set up VoIP setting on Nokia E63</a>.</p>
<p>Please post your comments to let me know if that worked. This will help others too.</p>
<p>Thank you</p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/' rel='bookmark' title='NOKIA E Series Internet call and SIP Settings'>NOKIA E Series Internet call and SIP Settings</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/11/18/nokia-n85-sip-settings-for-voip-setup/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Login failed &#8211; Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1</title>
		<link>http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/</link>
		<comments>http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 10:54:00 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server Login]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=294</guid>
		<description><![CDATA[My Problem :

The SQL 2005 did install correctly on my 64bit Vista but I was not able to log on to the server and it gave the following error

Login failed for user 'PC-Name\UserName'. (.Net SqlClient Data Provider)

Error Number: 18456 - Severity: 14 - State: 1


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/' rel='bookmark' title='How to set up Visual Studio Project to use NUnit-Gui Test Runner'>How to set up Visual Studio Project to use NUnit-Gui Test Runner</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I came across this error when I tried to Install MS SQL 2005 on Vista.I have installed SQL plenty of times and never had problems before on my XP.</p>
<p>My Problem :</p>
<p>The SQL 2005 did install correctly on my 64bit Vista but I was not able to log on to the server and it gave the following error</p>
<p>Login failed for user &#8216;PC-Name\UserName&#8217;. (.Net SqlClient Data Provider)</p>
<p>Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1<span id="more-294"></span></p>
<p>Solved :</p>
<p>Instead of running SQL Server Management studio as current user I run it as an Administrator.<br />
<br />
Then in the Object Browser Select the server &gt; Security &gt; Logins &gt; New Login</p>
<p>Following window will be displayed</p>
<p><a href="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005LoginNew1.gif"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="SQL 2005 Login - New" src="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005LoginNew_thumb1.gif" border="0" alt="SQL 2005 Login - New" width="240" height="216" /></a></p>
<p>Click Search and the following window will be displayed</p>
<p><a href="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005SelectUser1.gif"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="SQL 2005 Select User" src="http://blogs.myhappymoments.com/wp-content/uploads/2009/08/SQL2005SelectUser_thumb1.gif" border="0" alt="SQL 2005 Select User" width="240" height="216" /></a></p>
<p>In the text box enter your username and press check name and press ok.</p>
<p>And you are done.</p>
<p>Now you will not have to run your SQL Server Management studio as an Administrator.</p>
<p>Thank you</p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/' rel='bookmark' title='How to set up Visual Studio Project to use NUnit-Gui Test Runner'>How to set up Visual Studio Project to use NUnit-Gui Test Runner</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NOKIA E Series Internet call and SIP Settings</title>
		<link>http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/</link>
		<comments>http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 11:23:00 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[SIP Setting on Nokia]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=287</guid>
		<description><![CDATA[  I have recently purchased Nokia E63. So far all I would say that it is really worth the price. It has many features one of the best thing I like about the phone is Voip client which can use WiFi connection as well. There is no need of additional softwares to use these settings. [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/11/18/nokia-n85-sip-settings-for-voip-setup/' rel='bookmark' title='Nokia N85 SIP Settings for VoIP Setup'>Nokia N85 SIP Settings for VoIP Setup</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>I have recently purchased Nokia E63. So far all I would say that it is really worth the price. It has many features one of the best thing I like about the phone is Voip client which can use WiFi connection as well.</p>
<p>There is no need of additional softwares to use these settings.</p>
<p>I am registered to few SIP enabled voip services such as <a href="http://freecall.com" target="_blank">Freecall</a> and <a href="http://www.actionvoip.com" target="_blank">Actionvoip</a>. International calls with these are really cheaper.</p>
<p>If you own one of the e series phone you can use the settings to configure you phone to use sip for making calls.</p>
<p> </p>
<p>Below are the steps to configure Voip Client on Phone</p>
<p>Navigate to  Home &gt; Tools &gt; Settings &gt; Connection &gt; SIP Setting</p>
<p>Select Option &gt; New SIP Profile</p>
<p><strong>Profile Name:</strong> Any Name<br />
<strong>Service Profile:</strong> IETF<br />
<strong>Default Access point:</strong> Your Wi-Fi Network or Internet Connection<br />
<strong>Public user name:</strong> <a href="mailto:username@sip.provider.com(sip.actionvoip.com">username@sip.provider.com(sip.actionvoip.com</a>)<br />
<strong>Use Compression:</strong> No<br />
<strong>Registration:</strong> Always on (or the other one, if you want it to be on-demand)<br />
<strong>Use Security:</strong> No</p>
<p><strong>Proxy Server: Do nothing </strong></p>
<p><strong>Registrar Settings</strong></p>
<ul>
<li><strong>Registrar Server address:</strong> sip.provider.com</li>
<li><strong>Realm:</strong> sip.provider.com</li>
<li><strong>User Name:</strong> username</li>
<li><strong>Password:</strong> password</li>
<li><strong>Transport Type:</strong> UDP</li>
<li><strong>Port:</strong> 5060</li>
</ul>
<p><strong>Once you are done with this </strong></p>
<p>Navigate to  Home &gt; Tools &gt; Settings &gt; Connection &gt; Internet Tel.</p>
<p>Select Options &gt; New Profile and Name it.</p>
<p>Select SIP profile created above</p>
<p><strong> </strong></p>
<p>And Now you are done.</p>
<p>Go to contacts and you will see Internet Call in the options and make a test call.</p>
<p> </p>
<p>Enjoy Voip calls on your Mobile.</p>
<p>Thank you</p>
<p> </p>
<p>For Nokia N85 Please go to the following post.<br />
<a title="Permanent Link: Nokia N85 SIP Settings for VoIP Setup" rel="bookmark" href="http://blogs.myhappymoments.com/2009/11/18/nokia-n85-sip-settings-for-voip-setup/" target="_blank">Nokia N85 SIP Settings for VoIP Setup</a></p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/11/18/nokia-n85-sip-settings-for-voip-setup/' rel='bookmark' title='Nokia N85 SIP Settings for VoIP Setup'>Nokia N85 SIP Settings for VoIP Setup</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/08/19/nokia-e-series-internet-call-and-sip-settings/feed/</wfw:commentRss>
		<slash:comments>59</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blogs.myhappymoments.com/2009/08/05/281/</link>
		<comments>http://blogs.myhappymoments.com/2009/08/05/281/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 23:41:30 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=281</guid>
		<description><![CDATA[આ માણસ જાણે મોબાઇલ થઈ ગયો જરૂર જેટલી જ લાગણીઓ રિચાર્જ કરતો થઈ ગયો ખરે ટાણે જ ઝીરો બેલેન્સ દેખાડતો થઈ ગયો આ માણસ જાણે મોબાઈલ થઈ ગયો! સામે કોણ છે એ જોઈને સંબંધ રિસિવ કરતો થઈ ગયો સ્વાર્થનાં ચશ્મા પહેરી મિત્રતાને પણ સ્વીચ ઓફ કરતો થઈ ગયો આ માણસ જાણે મોબાઈલ થઈ ગયો! આજે [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<h1><span style="text-decoration: underline;">આ માણસ જાણે મોબાઇલ થઈ ગયો</span></h1>
<h3>
<p style="text-align: center;">જરૂર જેટલી જ લાગણીઓ</p>
<p style="text-align: center;">રિચાર્જ કરતો થઈ ગયો</p>
<p style="text-align: center;">ખરે ટાણે જ ઝીરો બેલેન્સ</p>
<p style="text-align: center;">દેખાડતો થઈ ગયો</p>
<p style="text-align: center;">આ માણસ જાણે મોબાઈલ થઈ ગયો!</p>
<p style="text-align: center;">સામે કોણ છે એ જોઈને</p>
<p style="text-align: center;">સંબંધ રિસિવ કરતો થઈ ગયો</p>
<p style="text-align: center;">સ્વાર્થનાં ચશ્મા પહેરી મિત્રતાને પણ</p>
<p style="text-align: center;">સ્વીચ ઓફ કરતો થઈ ગયો</p>
<p style="text-align: center;">આ માણસ જાણે મોબાઈલ થઈ ગયો!</p>
<p style="text-align: center;">આજે રીટા તો કાલે ગીતા એમ</p>
<p style="text-align: center;">મોડેલ બદલતો થઈ ગયો</p>
<p style="text-align: center;">મિસિસને છોડીને મિસને</p>
<p style="text-align: center;">એ કોલ કરતો થઈ ગયો</p>
<p style="text-align: center;">આ માણસ જાણે મોબાઈલ થઈ ગયો!</p>
<p style="text-align: center;">પડોશીનુ ઊંચું મોડેલ જોઈ</p>
<p style="text-align: center;">જુઓને જીવ બાળતો થઈ ગયો</p>
<p style="text-align: center;">સાલું, થોડી રાહ જોઈ હોત તો!</p>
<p style="text-align: center;">એવું ઘરમાં યે કહેતો થઈ ગયો</p>
<p style="text-align: center;">આ માણસ જાણે મોબાઈલ થઈ ગયો!</p>
<p style="text-align: center;">હોય બરોડામાં અને છું સુરતમાં</p>
<p style="text-align: center;">એમ કહેતો એ થઈ ગયો</p>
<p style="text-align: center;">આજે હચ તો કાલે રિલાયન્સ એમ</p>
<p style="text-align: center;">ફાયદો જોઈ મિત્રો પણ બદલતો થઈ ગયો</p>
<p style="text-align: center;">આ માણસ જાણે મોબાઈલ થઈ ગયો!</p>
<p style="text-align: center;">ઈનકમિંગ – આઉટ ગોઈંગ ફ્રીનાં ચક્કરમાં</p>
<p style="text-align: center;">કુટુંબનાં જ કવરેજ બહાર એ થઈ ગયો</p>
<p style="text-align: center;">હવે શું થાય બોલો</p>
<p style="text-align: center;">મોડેલ ફોર ટુ ઝીરો એ થઈ ગયો</p>
<p style="text-align: center;">આ માણસ જાણે મોબાઈલ થઈ ગયો!</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;">
</h3>
<p>Note: Received as a forwarded email.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/08/05/281/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read a Web Page and send it as an HTML Email</title>
		<link>http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/</link>
		<comments>http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 01:43:46 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Vb.net]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=276</guid>
		<description><![CDATA[Recently I was asked to write a code to send entire Aspx page as an HTML mail using VB.Net. Private Function ReadAspxPage(ByVal url As String) As String Dim htmlPage As String Dim objResponse As System.Net.WebResponse Dim objRequest As System.Net.WebRequest = System.Net.HttpWebRequest.Create(url) objResponse = objRequest.GetResponse() Dim readpage As New System.IO.StreamReader(objResponse.GetResponseStream()) htmlPage = readpage.ReadToEnd() readpage.Close() Return htmlPage.toString() [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/' rel='bookmark' title='How to read HTML file onServer in ASP.Net'>How to read HTML file onServer in ASP.Net</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/' rel='bookmark' title='Read all Mail Merge Field in an Collection.'>Read all Mail Merge Field in an Collection.</a></li>
<li><a href='http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/' rel='bookmark' title='How to Use Code Behind to display text on Binding'>How to Use Code Behind to display text on Binding</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I was asked to write a code to send entire Aspx page as an HTML mail using VB.Net.<br />
<code>Private Function ReadAspxPage(ByVal url As String) As String<br />
Dim htmlPage As String<br />
Dim objResponse As System.Net.WebResponse<br />
Dim objRequest As System.Net.WebRequest = System.Net.HttpWebRequest.Create(url)<br />
objResponse = objRequest.GetResponse()<br />
Dim readpage As New System.IO.StreamReader(objResponse.GetResponseStream())</p>
<p>htmlPage = readpage.ReadToEnd()<br />
readpage.Close()</p>
<p>Return htmlPage.toString()<br />
End Function</code></p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/' rel='bookmark' title='How to read HTML file onServer in ASP.Net'>How to read HTML file onServer in ASP.Net</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/' rel='bookmark' title='Read all Mail Merge Field in an Collection.'>Read all Mail Merge Field in an Collection.</a></li>
<li><a href='http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/' rel='bookmark' title='How to Use Code Behind to display text on Binding'>How to Use Code Behind to display text on Binding</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to read HTML file onServer in ASP.Net</title>
		<link>http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/</link>
		<comments>http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 01:31:57 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Read File]]></category>
		<category><![CDATA[Vb.net]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=273</guid>
		<description><![CDATA[Private Function GetEmailTemplate(ByVal templateName As String) As String Dim sr As IO.StreamReader = New IO.StreamReader(System.Web.HttpContext.Current.Server.MapPath(templateName)) Dim body As String = sr.ReadToEnd() sr.Close() sr.Dispose() Return body End Function Related posts:Read a Web Page and send it as an HTML Email Read all Mail Merge Field in an Collection. How to Use Code Behind to display text [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/' rel='bookmark' title='Read a Web Page and send it as an HTML Email'>Read a Web Page and send it as an HTML Email</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/' rel='bookmark' title='Read all Mail Merge Field in an Collection.'>Read all Mail Merge Field in an Collection.</a></li>
<li><a href='http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/' rel='bookmark' title='How to Use Code Behind to display text on Binding'>How to Use Code Behind to display text on Binding</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><code>Private Function GetEmailTemplate(ByVal templateName As String) As String<br />
        Dim sr As IO.StreamReader = New IO.StreamReader(System.Web.HttpContext.Current.Server.MapPath(templateName))<br />
        Dim body As String = sr.ReadToEnd()<br />
        sr.Close()<br />
        sr.Dispose()<br />
        Return body<br />
    End Function</code></p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/' rel='bookmark' title='Read a Web Page and send it as an HTML Email'>Read a Web Page and send it as an HTML Email</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/' rel='bookmark' title='Read all Mail Merge Field in an Collection.'>Read all Mail Merge Field in an Collection.</a></li>
<li><a href='http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/' rel='bookmark' title='How to Use Code Behind to display text on Binding'>How to Use Code Behind to display text on Binding</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read all Mail Merge Field in an Collection.</title>
		<link>http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/</link>
		<comments>http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 00:37:49 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Mail Merge]]></category>
		<category><![CDATA[Vb.net]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=267</guid>
		<description><![CDATA[I was asked to read all Mail merge Files in an HTML Template and then perform a mail Merge. The MailMerge Fields were like ##[Field]##. So thought to use regex to find the fields. The biggest task for me was to write a regex for Matching ##[Merge Fields]##. This is the code that I ended [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/' rel='bookmark' title='How to read HTML file onServer in ASP.Net'>How to read HTML file onServer in ASP.Net</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/' rel='bookmark' title='Read a Web Page and send it as an HTML Email'>Read a Web Page and send it as an HTML Email</a></li>
<li><a href='http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/' rel='bookmark' title='How to Use Code Behind to display text on Binding'>How to Use Code Behind to display text on Binding</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was asked to read all Mail merge Files in an HTML Template and then perform a mail Merge.<br />
The MailMerge Fields were like ##[Field]##.<br />
So thought to use regex to find the fields.</p>
<p>The biggest task for me was to write a regex for Matching ##[Merge Fields]##.<br />
<span id="more-267"></span><br />
This is the code that I ended with.</p>
<p bgcolor="red"><code>Private Function GetEmailMergeFields(ByVal body As String) As ListItemCollection<br />
Dim list As ListItemCollection = New ListItemCollection</p>
<p>Dim pattern As String = "##\[.*?\]##"<br />
Dim mymatches As System.Text.RegularExpressions.MatchCollection<br />
Dim myregex As New System.Text.RegularExpressions.Regex(pattern)</p>
<p>mymatches = myregex.Matches(body)<br />
For Each succ As System.Text.RegularExpressions.Match In mymatches<br />
list.Add(succ.Value)<br />
Next</p>
<p>Return list</p>
<p>End Function</code></p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/' rel='bookmark' title='How to read HTML file onServer in ASP.Net'>How to read HTML file onServer in ASP.Net</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/' rel='bookmark' title='Read a Web Page and send it as an HTML Email'>Read a Web Page and send it as an HTML Email</a></li>
<li><a href='http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/' rel='bookmark' title='How to Use Code Behind to display text on Binding'>How to Use Code Behind to display text on Binding</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maha Mrityunjaya Mantra</title>
		<link>http://blogs.myhappymoments.com/2009/02/03/maha-mrityunjaya-mantra/</link>
		<comments>http://blogs.myhappymoments.com/2009/02/03/maha-mrityunjaya-mantra/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 00:09:28 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Spiritual]]></category>
		<category><![CDATA[Mantra]]></category>
		<category><![CDATA[Religion]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=240</guid>
		<description><![CDATA[        OM. Trayambakam Yajamahe, Sugandhim Pushtivardhanam; Urva Rukamiva Bandhanaan, Mrityor Mokshiye Maamritat. OM triyambakam yajāmahe sugandhim pushTivardhanam, urvārukamiva bandhanān mrrityormokshiya māmrritāt.     Meaning : Om. We worship The Three-Eyed Lord Shiva who is naturally fragrant, immensely merciful &#38; and who is the Protector of the devotees. Worshipping him may we be [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p> </p>
<p> </p>
<p> </p>
<p style="text-align: center;"><img class="size-full wp-image-242 aligncenter" title="OM" src="http://blogs.myhappymoments.com/wp-content/uploads/2009/02/om.jpg" alt="OM " width="120" height="118" /></p>
<p> </p>
<p style="text-align: center;color:Red"><strong>OM. Trayambakam Yajamahe,<br />
Sugandhim Pushtivardhanam;<br />
Urva Rukamiva Bandhanaan,<br />
Mrityor Mokshiye Maamritat.</strong></p>
<p style="text-align: center;color:Red"><strong><br />
</strong></p>
<p style="text-align: center;color:Red"><strong>OM triyambakam yajāmahe sugandhim pushTivardhanam,</strong></p>
<p style="text-align: center;color:Red"><strong>urvārukamiva bandhanān mrrityormokshiya māmrritāt.</strong></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"> </p>
<p class="boldordtxt" align="justify"><span style="font-size: x-small;">Meaning :</span></p>
<p class="ordtxt" align="justify"><span style="font-size: x-small;">Om. We worship The Three-Eyed Lord Shiva who is naturally fragrant, immensely merciful &amp; and who is the Protector of the devotees. Worshipping him may we be liberated from death for the sake of immortality just as the ripe cucumber easily separtes itself from the binding stalk i.e.By your Grace, Let me be in the state of salvation (Moksha) and be saved from the clutches of fearful death.</span></p>
<p align="justify"><span style="font-size: x-small;">The Maha Mrityunjaya Mantra is very much a protector from accidents, mishaps and daily calamities in the modern busy life.</span></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2009/02/03/maha-mrityunjaya-mantra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set up Visual Studio Project to use NUnit-Gui Test Runner</title>
		<link>http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/</link>
		<comments>http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 22:57:18 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[NUnit]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=225</guid>
		<description><![CDATA[I am writing this post to help people like me who are new to nunit. Bascially it&#8217;s easy to setup but some time it can be really hard for some people. Here is how you accomplish the task : Once you have created the test project, Right click on the project name in the Solution [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2008/11/26/ajax-calanderextender-show-dates/' rel='bookmark' title='Ajax CalanderExtender :Display dates of current (selected) month only'>Ajax CalanderExtender :Display dates of current (selected) month only</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/' rel='bookmark' title='Login failed &#8211; Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1'>Login failed &#8211; Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I am writing this post to help people like me who are new to nunit. Bascially it&#8217;s easy to setup but some time it can be really hard for some people.<span id="more-225"></span></p>
<p>Here is how you accomplish the task :</p>
<ol>
<li>Once you have created the test project, Right click on the project name in the Solution Explorer and select &#8220;Set as Default&#8221; from the options.</li>
<li>Now Right Click on the project again and select the &#8220;Properties&#8221;. The window as shown below will be displayed. Select the &#8220;DEBUG Tab&#8221;, In the &#8220;Statr Acton&#8221; select Start External Radio button and browse to select nUnit Gui Runner (the .exe file).</li>
</ol>
<p>        <a href="http://blogs.myhappymoments.com/wp-content/uploads/2008/12/tut11.jpg"><img class="aligncenter size-full wp-image-230" title="tut11" src="http://blogs.myhappymoments.com/wp-content/uploads/2008/12/tut11.jpg" alt="" width="500" height="400" /></a> </p>
<p>Once you have followed the steps above you are ready to run your test. Just run your solution and the nUnit Gui Runner will apear.</p>
<p>When you start application for the first time, NUnit opens with no tests loaded.</p>
<p>Select &#8220;Open&#8221; from the file menu and select the test. Now click on the run button and you are done.</p>
<p> </p>
<p>Hope that helps,</p>
<p>Thank you</p>
<p>Now, you can run your test suite. By clicking the run icon in the Visual Studio toolbar the nUnit Gui Runner will popup but no tests will run automatically &#8211; however the Gui Runner will be populated with all the tests in your project. Now you just need to pick the test(s) you want to run and run them. If those tests (or the code they call) have any break points the Visual Studio window will reactivate when the breakpoint is reached and you can step through your code.</p>
<p>I hope this helps others embrace unit tests with .Net and Visual Studio</p>
<p> </p>
<p> </p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2008/11/26/ajax-calanderextender-show-dates/' rel='bookmark' title='Ajax CalanderExtender :Display dates of current (selected) month only'>Ajax CalanderExtender :Display dates of current (selected) month only</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/08/20/login-failed-error-number-18456-severity-14-state-1/' rel='bookmark' title='Login failed &#8211; Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1'>Login failed &#8211; Error Number: 18456 &#8211; Severity: 14 &#8211; State: 1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2008/12/16/how-to-set-up-visual-studio-project-to-use-nunit-gui-test-runner/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Use Code Behind to display text on Binding</title>
		<link>http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/</link>
		<comments>http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 08:46:38 +0000</pubDate>
		<dc:creator>Vish</dc:creator>
				<category><![CDATA[Asp.net]]></category>

		<guid isPermaLink="false">http://blogs.myhappymoments.com/?p=207</guid>
		<description><![CDATA[I had to display Yes or No based on databind this is how I did it. &#60;asp:Label ID=&#8221;IsUserActiveCheckBox&#8221; Text=&#8217;&#60;%# if(Eval(&#8220;IsUserActive&#8221;),&#8221;Yes&#8221;,&#8221;No&#8221;) %&#62;&#8217; runat=&#8221;server&#8221; /&#62; Also Bind will not work if you are databinding it. Here is another example where I used code behind. in Aspx : &#60;asp:RadioButtonList ID=&#8221;rbGLRSearch&#8221; runat=&#8221;server&#8221; RepeatDirection=&#8221;Horizontal&#8221; OnSelectedIndexChanged=&#8221;EnableCluster&#8221; AutoPostBack=&#8221;true&#8221; SelectedValue=&#8217;&#60;%# GetCheckBoxValue(Eval(&#8220;GLRSearch&#8221;)) %&#62;&#8217;&#62; &#60;asp:ListItem&#62;Yes&#60;/asp:ListItem&#62; [...]


Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/' rel='bookmark' title='How to read HTML file onServer in ASP.Net'>How to read HTML file onServer in ASP.Net</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/' rel='bookmark' title='Read all Mail Merge Field in an Collection.'>Read all Mail Merge Field in an Collection.</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/' rel='bookmark' title='Read a Web Page and send it as an HTML Email'>Read a Web Page and send it as an HTML Email</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had to display Yes or No based on databind this is how I did it.</p>
<p>&lt;asp:Label ID=&#8221;IsUserActiveCheckBox&#8221; Text=&#8217;&lt;%# if(Eval(&#8220;IsUserActive&#8221;),&#8221;Yes&#8221;,&#8221;No&#8221;) %&gt;&#8217;<br />
runat=&#8221;server&#8221; /&gt;</p>
<p>Also Bind will not work if you are databinding it.</p>
<p><strong>Here is another example where I used code behind.</strong></p>
<p><strong><span style="text-decoration: underline;">in Aspx : </span></strong></p>
<p>&lt;asp:RadioButtonList ID=&#8221;rbGLRSearch&#8221; runat=&#8221;server&#8221; RepeatDirection=&#8221;Horizontal&#8221;<br />
OnSelectedIndexChanged=&#8221;EnableCluster&#8221; AutoPostBack=&#8221;true&#8221; SelectedValue=&#8217;&lt;%# GetCheckBoxValue(Eval(&#8220;GLRSearch&#8221;)) %&gt;&#8217;&gt;<br />
&lt;asp:ListItem&gt;Yes&lt;/asp:ListItem&gt;<br />
&lt;asp:ListItem&gt;No&lt;/asp:ListItem&gt;<br />
&lt;asp:ListItem&gt;N/A&lt;/asp:ListItem&gt;<br />
&lt;/asp:RadioButtonList&gt;</p>
<p><strong><span style="text-decoration: underline;">in code behind :</span></strong></p>
<p>Protected Function GetCheckBoxValue(ByVal bool) As String</p>
<p>If bool Is Nothing Then<br />
Return &#8220;N/A&#8221;<br />
ElseIf bool = True Then<br />
Return &#8220;Yes&#8221;<br />
ElseIf bool = False Then<br />
Return &#8220;No&#8221;<br />
End If<br />
Return True<br />
End Function</p>


<p>Related posts:<ol><li><a href='http://blogs.myhappymoments.com/2009/04/22/how-to-read-html-file-onserver-in-aspnet/' rel='bookmark' title='How to read HTML file onServer in ASP.Net'>How to read HTML file onServer in ASP.Net</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-all-mail-merge-field-in-an-collection/' rel='bookmark' title='Read all Mail Merge Field in an Collection.'>Read all Mail Merge Field in an Collection.</a></li>
<li><a href='http://blogs.myhappymoments.com/2009/04/22/read-a-web-page-and-send-it-as-an-html-email/' rel='bookmark' title='Read a Web Page and send it as an HTML Email'>Read a Web Page and send it as an HTML Email</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.myhappymoments.com/2008/12/01/how-to-use-code-behind-to-display-text-on-binding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

