< Browse > Home

| Mobile | RSS

આ માણસ જાણે મોબાઇલ થઈ ગયો

જરૂર જેટલી જ લાગણીઓ
રિચાર્જ કરતો થઈ ગયો
ખરે ટાણે જ ઝીરો બેલેન્સ
દેખાડતો થઈ ગયો
આ માણસ જાણે મોબાઈલ થઈ ગયો!
સામે કોણ છે એ જોઈને
સંબંધ રિસિવ કરતો થઈ ગયો
સ્વાર્થનાં ચશ્મા પહેરી મિત્રતાને પણ
સ્વીચ ઓફ કરતો થઈ ગયો
આ માણસ જાણે મોબાઈલ થઈ ગયો!
આજે રીટા તો કાલે ગીતા એમ
મોડેલ બદલતો થઈ ગયો
મિસિસને છોડીને મિસને
એ કોલ [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • LinkedIn
[ More ] August 5th, 2009 | No Comments | Posted in Funny Stuff |

Read a Web Page and send it as an HTML Email

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()
End Function

Share and Enjoy:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • LinkedIn
[ More ] April 22nd, 2009 | No Comments | Posted in Asp.net, Programming |

How to read HTML file onServer in ASP.Net

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()
[...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • LinkedIn
[ More ] April 22nd, 2009 | No Comments | Posted in Asp.net, Programming |

Read all Mail Merge Field in an Collection.

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]##.

Share and Enjoy:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • LinkedIn
[ More ] April 22nd, 2009 | No Comments | Posted in Asp.net, Programming |

Maha Mrityunjaya Mantra

 
 
 

 
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 & 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 [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • LinkedIn
[ More ] February 3rd, 2009 | No Comments | Posted in Spiritual |

How to set up Visual Studio Project to use NUnit-Gui Test Runner

I am writing this post to help people like me who are new to nunit. Bascially it’s easy to setup but some time it can be really hard for some people.

Share and Enjoy:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • LinkedIn
[ More ] December 16th, 2008 | No Comments | Posted in Programming |
My first Valentine dayI like it dadWhat are you doing dad ?My first Valentine dayI am hungry now...DiaDad...I am tired nowDiaWant a Ride ?Help me!!!