<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-13533692</id><updated>2009-11-27T18:02:23.113+05:30</updated><title type='text'>CPS Does Blogging</title><subtitle type='html'>Spirit of .NET</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default?start-index=26&amp;max-results=25'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13533692.post-297316499539967535</id><published>2007-12-26T16:39:00.001+05:30</published><updated>2007-12-26T16:42:23.751+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>it's again......</title><content type='html'>Thanks for all the people who remembered the day... :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-297316499539967535?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/297316499539967535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=297316499539967535' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/297316499539967535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/297316499539967535'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/12/it-again.html' title='it&apos;s again......'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-3181357467016927513</id><published>2007-11-20T11:10:00.000+05:30</published><updated>2007-11-20T11:19:25.890+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Visual Studio 2008 and .NET 3.5 Released</title><content type='html'>Yesterday(November 19, 2007) Microsoft has Released Visual Studio 2008 and .NET 3.5.  You can download the final release using one of the links below :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D95598D7-AA6E-4F24-82E3-81570C5384CB&amp;displaylang=en"&gt;you can download a 90-day free trial edition of Visual Studio 2008 Team Suite here&lt;/a&gt;.  &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=B0155166-B0A3-436E-AC95-37D7E39A440C&amp;displaylang=en"&gt; A 90-day free trial edition of Team Foundation Server can also be downloaded here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Still they haven't announce about the trial of visual studio professional.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/express/download/"&gt;If you want to use the free Visual Studio 2008 Express editions (which are much smaller and totally free), you can download them here. &lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&amp;displaylang=en"&gt;If you want to just install the .NET Framework 3.5 runtime, you can download it here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And if you wanna know about more details about this please visit &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/11/19/visual-studio-2008-and-net-3-5-released.aspx"&gt;ScottGu's Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-3181357467016927513?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/3181357467016927513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=3181357467016927513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/3181357467016927513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/3181357467016927513'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/11/visual-studio-2008-and-net-35-released.html' title='Visual Studio 2008 and .NET 3.5 Released'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-6509589906202967138</id><published>2007-08-07T14:26:00.000+05:30</published><updated>2007-08-07T17:13:28.283+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Dynamic Template Columns in the ASP.NET 2.0 GridView Control: Part 2</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);font-family:Times New Roman;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Sorry for the delay. It's a bit late to publish the  continuation of my earlier post. As I mentioned previously you can add a dynamic  column to gridview. However there is another way of doing it. It depends on your  requirement. The 2 &lt;/span&gt;&lt;sup style="color: rgb(255, 255, 255);"&gt;nd &lt;/sup&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;method is much easier though.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;You have  to create a Usercontrol. Let's say you need to have a Text box in your grid.  Then just add a text box to your Usercontrol and in HTML view you can edit it as  shown below... (Other than a Textbox I have add a CompareValidator to check the  data type of the Text box.)&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;&lt;%@ Control Language="C#" AutoEventWireup="true"  CodeFile="MyUserCont.ascx.cs" Inherits="TestApp_MyUserCont"  %&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;&lt;asp:textbox id="txtQty" runat="server" text="'&lt;%#"&gt;'  Width="90px"&gt;&lt;/asp:TextBox&gt;&lt;asp:comparevalidator&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;     ID="CompareValidator1" runat="server" Display="Dynamic" Type="Currency"  Operator="DataTypeCheck"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;    ErrorMessage="*"  ControlToValidate="txtQty"&gt;&lt;/asp:CompareValidator&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:Times New Roman;font-size:100%;"  &gt;&lt;asp:textbox style="color: rgb(204, 204, 204);" id="txtQty" runat="server" text="'&lt;%#"&gt;&lt;/asp:textbox&gt;&lt;asp:comparevalidator style="color: rgb(204, 204, 204);" id="CompareValidator1" runat="server" display="Dynamic" type="Currency" operator="DataTypeCheck" errormessage="*" controltovalidate="txtQty"&gt;&lt;/asp:comparevalidator&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;In the code&lt;/span&gt; &lt;span style="color: rgb(51, 51, 153);"&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;Text='&lt;%#  Bind("Quantity") %&gt;'&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;span style="color:black;"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;take care of Binding data to the Text property of the  Textbox.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;"Qu&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;antity&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;span style="color:black;"&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;"&lt;/span&gt; &lt;span style="color: rgb(255, 255, 255);"&gt;is the Column name of my data table (gridview data  source).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Next is to create your Dynamic column as follows... &lt;/span&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;             TemplateField tmpQty = new TemplateField();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;              tmpQty.HeaderText = "&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Quantity&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;              tmpQty.ItemTemplate = LoadTemplate("../&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;TestApp/MyUserCont&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;ascx&lt;/span&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;              tmpQty.Visible = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;              gvTransaction.Columns.Add(tmpQty);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Hope this will make things easier than the earlier method. But there are some  limitations. So as I mentioned earlier you have to identify which method is  suitable according to your requirement.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-6509589906202967138?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/6509589906202967138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=6509589906202967138' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/6509589906202967138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/6509589906202967138'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/08/dynamic-template-columns-in-aspnet-20_07.html' title='Dynamic Template Columns in the ASP.NET 2.0 GridView Control: Part 2'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-1522817702018176123</id><published>2007-08-03T16:19:00.000+05:30</published><updated>2007-08-03T17:14:50.333+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Dynamic Template Columns in the ASP.NET 2.0 GridView Control: Part 1</title><content type='html'>Recently I was involved in a project where we needed to present the results of a  database query as part of an ASP.NET application. It was such that the user can  select grid columns and the type of the columns also Differentiating depending on  the requirement. It may be a button, column, editable column (text box,check  box,etc...) It was not known until runtime how many columns has to display,  which columns has to display or which SQL query is needed to satisfy the search  criteria. So I had to use dynamics template coloumns for the editable  coloumns.&lt;br /&gt;&lt;br /&gt;A GridView template is a class that implements the ITemplate  interface. It defines the controls that will be displayed on the GridView in a  column.I thought it's worthwhile to share it here.&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Class for define Template, this class will added to your app_Code folder.&lt;br /&gt;public class SampleTemplate : ITemplate&lt;br /&gt;{&lt;br /&gt;private string _DataField;&lt;br /&gt;&lt;br /&gt;  public &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;SampleTemplate &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;(string DataField)&lt;br /&gt;  {&lt;br /&gt;      this._DataField = DataField;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public void InstantiateIn(Control container)&lt;br /&gt;  {&lt;br /&gt;      TextBox txtItemVal = new TextBox();&lt;br /&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;txtItemVal&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;.DataBinding += new EventHandler(this.OnDataBinding);&lt;br /&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;txtItemVal &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;.ID = "txtItemVal";&lt;br /&gt;      container.Controls.Add(&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;txtItemVal&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public void OnDataBinding(object sender, EventArgs e)&lt;br /&gt;  {&lt;br /&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;TextBox &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;TXT = (&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;TextBox&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;)sender;&lt;br /&gt;      GridViewRow container = (GridViewRow)TXT.NamingContainer;&lt;br /&gt;      string id = ((DataRowView)container.DataItem)[_DataField].ToString();&lt;br /&gt;      TXT.Text= id;&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Adding template to your grid.code behind file.In my case i am going through a for loop with in the user datacolumns datatable and adding coloumns to gridview.&lt;br /&gt;&lt;br /&gt;                  TemplateField tmpItem= new TemplateField();&lt;br /&gt;&lt;br /&gt;// you have to specify column name as "datafield" here.as for the gridview data source.lets say you //have Employee datatable.and you want to show Empage in this template coloumn.then you should //use empAge as your dataField&lt;br /&gt;&lt;br /&gt;                  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;SampleTemplate &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;TEMP1 = new &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;SampleTemplate &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;("&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;Empage&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;");&lt;br /&gt;                  tmpUnits.HeaderText = "Employee Age"&lt;br /&gt;                  tmpUnits.ItemTemplate = TEMP1;&lt;br /&gt;                  gvTransaction.Columns.Add(&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;tmpItem&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Verdana,Arial,Helvetica;"&gt;);&lt;br /&gt;                               &lt;br /&gt;Thats it.Hope this will help you one day.And there's a another way also.will tell you latter. ;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-1522817702018176123?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/1522817702018176123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=1522817702018176123' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/1522817702018176123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/1522817702018176123'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/08/dynamic-template-columns-in-aspnet-20.html' title='Dynamic Template Columns in the ASP.NET 2.0 GridView Control: Part 1'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-1084796526145355254</id><published>2007-06-07T16:39:00.000+05:30</published><updated>2007-06-07T17:01:55.621+05:30</updated><title type='text'>Mahalo</title><content type='html'>Hi, I found this &lt;a href="http://www.mahalo.com/Main_Page"&gt;Mahalo&lt;/a&gt; while i am surfing the web&lt;a href="http://www.mahalo.com/Main_Page"&gt;.&lt;i&gt;Mahalo&lt;/i&gt;&lt;/a&gt; is Hawaiian word for Thank You.But thats not  the thing which i am going to talk about.Mahalo is the world's first human-powered search engine powered by an enthusiastic and energetic group of Guides.Means &lt;a href="http://www.mahalo.com/Main_Page"&gt;.&lt;i&gt;Mahalo&lt;/i&gt;&lt;/a&gt; Loads only built sreach results by Mahalo Search guides.Mahalo Search guides spend their time to searching ,filtering out spam, and hand-crafting the best search results possible.If they havent built a search result, you have to request that search result. Meaning every search result  is carefully reviewed by humans to select the best search results and   filtering out spams.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-1084796526145355254?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/1084796526145355254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=1084796526145355254' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/1084796526145355254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/1084796526145355254'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/06/mahalo.html' title='Mahalo'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-5833962464893337483</id><published>2007-03-12T13:17:00.000+05:30</published><updated>2007-03-12T14:31:49.841+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>ArrayList vs List&lt;&gt; Generics</title><content type='html'>when i am working with my new Team in the new place i have got a chance to work with new Generic lists witch has available in .net 2.0. when i am finding information about generic list i understood it's much more better than arraylist. i just checked&lt;br /&gt;&lt;br /&gt;Time taken by Collection: 7044.6912 ms&lt;br /&gt;Time taken by Generic: 2898.9216 ms&lt;br /&gt;&lt;br /&gt;i just wrote small program using arraylist and the generic list witch is giving the same result.what i understood is on the Generic list you can only assign int (as for the my code.You can supply data type in to List's &lt;&gt; ) to the list - anything else will raise an exception.If you wanted to store a multitude of types, simply inherit from a common base, and use the base as the list identifier.(Use .GetType() ) if i simply says generic list is simple and Safe.  :)&lt;br /&gt;&lt;br /&gt;if we used arraylist in our code it has to more boxing operations b'coz it can any type.but in generic list is not allowed as i said&lt;br /&gt;&lt;br /&gt;here is the code for what i did.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;namespace Listcompare&lt;br /&gt;{&lt;br /&gt; class Program&lt;br /&gt; {&lt;br /&gt;     public static DateTime startTime;&lt;br /&gt;     public static DateTime endTime;&lt;br /&gt;     public static TimeSpan timeSpan;&lt;br /&gt;&lt;br /&gt;private void CheckGenerics()&lt;br /&gt;        {&lt;br /&gt;            int total = 0;&lt;br /&gt;&lt;br /&gt;            List&lt;int&gt; lstMyList = new List&lt;int&gt;();&lt;br /&gt;            int i = 0;&lt;br /&gt;            for (i = 0; i &lt; 20; i++)&lt;br /&gt;                lstMyList.Add(i);&lt;br /&gt;&lt;br /&gt;            for (i = 0; i &lt; 10000000; i++)&lt;br /&gt;                foreach (int el in lstMyList)&lt;br /&gt;                    total += el;&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;private void CheckCollections()&lt;br /&gt;        {&lt;br /&gt;            int total = 0;&lt;br /&gt;            ArrayList al = new ArrayList();&lt;br /&gt;            int j = 0;&lt;br /&gt;            for (j = 0; j &lt; 20; j++)&lt;br /&gt;                al.Add(j);&lt;br /&gt;            for (j = 0; j &lt; 10000000; j++)&lt;br /&gt;                foreach (int el in al)&lt;br /&gt;                    total += el;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;private void Run()&lt;br /&gt;        {&lt;br /&gt;            startTime = DateTime.Now;&lt;br /&gt;            CheckCollections();&lt;br /&gt;            endTime = DateTime.Now;&lt;br /&gt;            timeSpan = endTime.Subtract(startTime);&lt;br /&gt;            Console.Out.WriteLine("Time taken by Collection: " + timeSpan.TotalMilliseconds + " ms");&lt;br /&gt;&lt;br /&gt;            startTime = DateTime.Now;&lt;br /&gt;            CheckGenerics();&lt;br /&gt;            endTime = DateTime.Now;&lt;br /&gt;            timeSpan = endTime.Subtract(startTime);&lt;br /&gt;            Console.Out.WriteLine("Time taken by Generic: " + timeSpan.TotalMilliseconds + " ms");&lt;br /&gt;&lt;br /&gt;            Console.WriteLine("");&lt;br /&gt;            Console.Read();&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;  static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            Program myPgm = new Program();&lt;br /&gt;            myPgm.Run();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;int&gt;&lt;int&gt;&lt;/int&gt;&lt;/int&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-5833962464893337483?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/5833962464893337483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=5833962464893337483' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/5833962464893337483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/5833962464893337483'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/03/arraylist-vs-list-generics.html' title='ArrayList vs List&lt;&gt; Generics'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-6363262120644831355</id><published>2007-03-11T23:53:00.001+05:30</published><updated>2007-03-11T23:58:07.567+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Advanced to new Blogger</title><content type='html'>&lt;p&gt;it's very close to one month from my last post.I was bit busy with work.good news !!!&lt;a href="http://slt.lk/"&gt; Sri Lanka Telecom&lt;/a&gt; has provided &lt;a href="http://en.wikipedia.org/wiki/ADSL"&gt;ADSL&lt;/a&gt; to Homagama area.guess what I am on &lt;a href="http://en.wikipedia.org/wiki/ADSL"&gt;ADSL&lt;/a&gt; now.&lt;/p&gt; &lt;p&gt;when I logged in to blogger for the last time it advice me to associate my blogger account with my gmail account for migrate to new blogger.So I have moved to new blogger but I couldn't update my blog as for the previous look and field.Today I got a chance to make it back. :)&lt;/p&gt; &lt;p&gt;My blogging rate is getting down now.I should start writing. so have a look again .....&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-6363262120644831355?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/6363262120644831355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=6363262120644831355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/6363262120644831355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/6363262120644831355'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/03/advanced-to-new-blogger.html' title='Advanced to new Blogger'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-4293446794451191289</id><published>2007-02-16T17:21:00.000+05:30</published><updated>2007-03-12T00:03:04.447+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Last day at work...</title><content type='html'>it's my last day at the South Asia Software... being with such a bunch of nice people was a nice experience in my life... it's really sad to leave these people... but it's for my good.. hmmm....But it's really hard to leave the place.&lt;br /&gt;&lt;br /&gt;Miss you all. Tnx again for everything !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-4293446794451191289?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/4293446794451191289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=4293446794451191289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/4293446794451191289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/4293446794451191289'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2007/02/last-day-at-work.html' title='Last day at work...'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116711172273712054</id><published>2006-12-26T11:12:00.000+05:30</published><updated>2007-03-12T00:03:46.340+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Once again i felt that i am not alone.</title><content type='html'>&lt;p&gt;Thanks for all the people who remembered the day... :)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116711172273712054?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116711172273712054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116711172273712054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116711172273712054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116711172273712054'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/12/once-again-i-felt-that-i-am-not-alone.html' title='Once again i felt that i am not alone.'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116658246976868986</id><published>2006-12-20T08:11:00.000+05:30</published><updated>2007-03-12T00:04:09.937+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Back !!!</title><content type='html'>&lt;p&gt;OH! I haven't come here for more than one month.I think I have really miss my blog hehehe.So wazz up with me? mmmmmmm&lt;/p&gt; &lt;p&gt;well I have moved in to C#.Net.(You was waiting to hear it from me. isn't it &lt;a href="http://charith.net/"&gt;charith&lt;/a&gt; ? lol)I was working with VB.Net more than 2 years.But because of the new project that we have got we had to move in to C#.I have no choice.anyway it's pretty cool thing. &lt;/p&gt; &lt;p&gt;I miss Deep dive .NET 3.0 I always missing important things I do not know what's wrong with me.anyway hope to be alive with ma blog again.and bring up new things here.&lt;/p&gt; &lt;p&gt;cheers !!!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116658246976868986?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116658246976868986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116658246976868986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116658246976868986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116658246976868986'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/12/back.html' title='Back !!!'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116236427958250965</id><published>2006-11-01T12:27:00.000+05:30</published><updated>2007-03-12T00:05:15.287+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>Microsoft has announced Light Weight Open Source Applications(Online)</title><content type='html'>&lt;p&gt;October 30th &lt;a href="http://www.microsoft.com/"&gt;Microsoft&lt;/a&gt; has released a free downloadable accounting program called &lt;a href="http://www.ideawins.com/"&gt;Office Accounting Express 2007&lt;/a&gt;. This software focuses on integrating with online sites like eBay, PayPal and Office Live. See for comparison &lt;a href="http://www.techcrunch.com/2006/09/13/googleintuit-partnership/"&gt;Google’s partnership with Intuit.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;And 31st of October they have announced that the first version of &lt;a href="http://officelive.com/"&gt;Office Live&lt;/a&gt; will come as beta version on the 14th of November. Office Live is a free service with premium services for small businesses. It includes online storage, webmail and calendaring.&lt;/p&gt;&lt;p&gt;What will be next.....&lt;/p&gt;&lt;p&gt;Read more at &lt;a href="http://www.techcrunch.com/2006/10/31/here-comes-microsoft-20-embracing-lighweight-open-source-apps-online/"&gt;Techcrunch&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116236427958250965?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116236427958250965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116236427958250965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116236427958250965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116236427958250965'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/11/microsoft-has-announced-light-weight.html' title='Microsoft has announced Light Weight Open Source Applications(Online)'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116123104992713321</id><published>2006-10-19T09:40:00.000+05:30</published><updated>2007-03-12T00:05:49.404+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>The Difference ...</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;Found a Nice story from my emails today..... I just wanted to bring it out here ,because I feel it's special.&lt;/p&gt;&lt;p&gt;Little girl and her father were crossing a bridge.&lt;br /&gt;The father was kind of scared so he asked his little daughter, "Sweetheart, please hold my hand so that you don't fall into the river."&lt;br /&gt;The little girl said, "No, Dad. You hold my hand."&lt;br /&gt;"What's the difference?" Asked the puzzled father. &lt;strong&gt;&lt;b&gt;"There's a big difference," &lt;/b&gt;&lt;/strong&gt;replied the little girl.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;b&gt;"If I hold your hand and something happens to me, chances are that I may let your hand go. But if you hold my hand, I know for sure that no matter what happens, you will never let my hand go."&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In any relationship, the essence of trust is not in its bind, but in its bond .&lt;br /&gt;So hold the hand of the person whom you love rather than expecting them to hold urs... &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116123104992713321?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116123104992713321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116123104992713321' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116123104992713321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116123104992713321'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/10/difference.html' title='The Difference ...'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116115969688335818</id><published>2006-10-18T13:51:00.000+05:30</published><updated>2007-03-12T00:22:31.834+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Nikhil Kothari's Ajax.net presentation on JAOO 2006 Conference</title><content type='html'>&lt;p&gt;Here is the link for &lt;a href="http://www.nikhilk.net/"&gt;&lt;span style="color: rgb(0, 0, 160);"&gt;nikhil Kothari's&lt;/span&gt;&lt;/a&gt; presentation on ASP.NET AJAX at the &lt;a href="http://www.jaoo.dk/"&gt;&lt;span style="color: rgb(0, 0, 160);"&gt;JAOO 2006 conference&lt;/span&gt;&lt;/a&gt; in Denmark.(In case you didnt visit Nikhil's Blog recently ;-))&lt;/p&gt;&lt;p&gt;And you can download the video of it from..... &lt;/p&gt;&lt;p&gt;&lt;a href="http://channel9.msdn.com/Screencasts/243775_JAOOLapAroundAtlas.wmv"&gt;&lt;span style="color: rgb(0, 0, 160);"&gt;http://channel9.msdn.com/Screencasts/243775_JAOOLapAroundAtlas.wmv&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116115969688335818?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.nikhilk.net/JAOO2006.aspx' title='Nikhil Kothari&apos;s Ajax.net presentation on JAOO 2006 Conference'/><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116115969688335818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116115969688335818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116115969688335818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116115969688335818'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/10/nikhil-kotharis-ajaxnet-presentation.html' title='Nikhil Kothari&apos;s Ajax.net presentation on JAOO 2006 Conference'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116107329579319949</id><published>2006-10-17T13:51:00.000+05:30</published><updated>2007-03-12T00:07:09.785+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Save Your eyes !!!</title><content type='html'>&lt;p&gt;Normally I use anti-reflect Lenses when I am working.But last 2 days I forgot to bring it. So I feel bit uncomfortable when I am working.One of my office buddy gave me a article about what you can do with your Monitor to Save your Eyes. So I felt it's worth while to bring out some information out here......&lt;/p&gt;&lt;p&gt;By side staring at my monitor hour after hour Cause headaches and eye fatigue.according to the article one of simple thing we can do to help this problem is to raise the refresh rate. Monitors often come with refresh rates set too low, I.e. 60 Hz which causes flickering. A higher refresh rate helps reduce the flickering effect and lessen eye strain.(More than 75Hz).(You can usually set your refresh rate under display properties/settings. Also, &lt;a href="http://www.pcworld.com/downloads/file_description/0,fid,23077,00.asp"&gt;RefreshForce &lt;/a&gt;is a free tool that lets you quickly change the monitor's refresh rate.)&lt;/p&gt;&lt;p&gt;Another cause of eye strain that many people tend to just live with is font size. Higher resolutions on monitors can cause quite small fonts. Also, many web sites use small fonts. If you catch yourself leaning toward the monitor, or squinting uncomfortably, right click on your desktop to bring up display properties, select appearance, and choose font size. You can further adjust the font you see when surfing by choosing text size from Internet Explorer's view menu and selecting your preference. This may cause some of your favorite web pages to display a little oddly, but at least you'll be able to read them!&lt;/p&gt;&lt;p&gt;Make sure you have proper lighting on your monitor (it's more effective to have a light shining from behind your shoulder or above the monitor than behind the desk). &lt;/p&gt;&lt;p&gt;Even using these measures, we should take frequent breaks from the computer. Look away from your monitor at least once every fifteen minutes; preferably, step away from the computer altogether. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;So try to take care of your eyes too,while you are working &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116107329579319949?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116107329579319949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116107329579319949' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116107329579319949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116107329579319949'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/10/save-your-eyes.html' title='Save Your eyes !!!'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-116073564075500962</id><published>2006-10-13T16:04:00.000+05:30</published><updated>2007-03-12T00:08:06.599+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>After the silence....</title><content type='html'>&lt;p&gt;Well, I couldn't write anything during the last 2 ,3 weeks. Many changes have been going on in ma life since that period(still the same :)). I never thought this will happen to me. For the first time I'm fed up with ma Job. And I have to tnx all my friends who were with me for all this time. It helped me a lot. I got loads of advice what I have to do in such a situation.&lt;/p&gt;&lt;p&gt;Anyway that's enough about that. The good news is two of my buddies have started their own Blogs. (&lt;a href="http://next2nd.blogspot.com/" target="_blank"&gt;Suresh&lt;/a&gt; and &lt;a href="http://vajiranet.tk/" target="_blank"&gt;vajira&lt;/a&gt;). So good luck yo buddies. Welcome to blogging.. lol.. &lt;/p&gt;&lt;p&gt;So now what I have to do is try to cheer up and continue my life. Isnt it?? But I'm still trying ....&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-116073564075500962?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/116073564075500962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=116073564075500962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116073564075500962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/116073564075500962'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/10/after-silence.html' title='After the silence....'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115942880523030422</id><published>2006-09-28T13:03:00.000+05:30</published><updated>2007-03-12T00:08:30.403+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Ashi has came back...</title><content type='html'>&lt;p&gt;One of ma good friend; ashini(Akki) has came back to blogging again ('coz of my request. ;-) ) She's a very close friend of mine and a good sister for me. I always try to accept all her advice ;) (even though you think you are not a good adviser. lol...) and those advice is worth for me. I have changed some qualities of mine. he he he... As my knowledge we don't know how much we are worth for others. So you have to start a new blog life with all your thoughts, and with your knowledge (which is being updated daily... ). So wish you all the best Akki !!!&lt;/p&gt;&lt;p&gt;You can visit her blog.... &lt;a href="http://ashinie.blogspot.com/"&gt;http://ashinie.blogspot.com/&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115942880523030422?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ashinie.blogspot.com/' title='Ashi has came back...'/><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115942880523030422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115942880523030422' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115942880523030422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115942880523030422'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/09/ashi-has-came-back.html' title='Ashi has came back...'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115881861838948342</id><published>2006-09-21T11:33:00.000+05:30</published><updated>2007-03-12T00:09:06.098+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL server'/><title type='text'>Common Table Expression(CTE)</title><content type='html'>&lt;p&gt;This is a new Enhancement of SQL server 2005(as my knowledge).we can think CTE's as a simple and more powerful alternative to derived Tables.In my case Now I am using CTE's where I used Temporary Tables before and I replaced so many views.&lt;/p&gt;&lt;p&gt;A CTE can be defined as a temporary named result set, which is derived from a simple query and defined within the execution scope of a &lt;tt&gt;SELECT&lt;/tt&gt;, &lt;tt&gt;INSERT&lt;/tt&gt;, &lt;tt&gt;UPDATE&lt;/tt&gt;, or &lt;tt&gt;DELETE&lt;/tt&gt; statement. It is important to note that the scope of a CTE is just the statement in which it is declared. The CTE named result set is not available after the statement in which it is declared and used.&lt;/p&gt;&lt;p&gt;Here I am putting a code sample for CTE witch I have taken from AdventureWorks Database then you all can check this SQL script in your SQL server 2005(if you have installed AdventureWorks DB.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;WITH&lt;/span&gt; YearlyOrderAmtCTE(OrderYear, TotalAmount)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;AS&lt;br /&gt;&lt;/span&gt;(&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(255, 153, 255);"&gt;YEAR&lt;/span&gt;(OrderDate), &lt;span style="color: rgb(255, 153, 255);"&gt;SUM&lt;/span&gt;(OrderQty*UnitPrice)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;FROM&lt;/span&gt; Sales.SalesOrderHeader &lt;span style="color: rgb(0, 0, 153);"&gt;AS&lt;/span&gt; H &lt;span style="color: rgb(102, 102, 102);"&gt;JOIN&lt;/span&gt; Sales.SalesOrderDetail &lt;span style="color: rgb(0, 0, 153);"&gt;AS&lt;/span&gt; D&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;ON&lt;/span&gt; H.SalesOrderID = D.SalesOrderID&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;GROUP BY&lt;/span&gt; &lt;span style="color: rgb(204, 102, 204);"&gt;YEAR&lt;/span&gt;(OrderDate)&lt;br /&gt;),&lt;br /&gt;SalesTrendCTE(OrderYear, Amount, AmtYearBefore, AmtDifference, DiffPerc)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;AS&lt;/span&gt;&lt;br /&gt;(&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SELECT&lt;/span&gt; thisYear.OrderYear, thisYear.TotalAmount,&lt;br /&gt;lastYear.TotalAmount,&lt;br /&gt;thisYear.TotalAmount - lastYear.TotalAmount,&lt;br /&gt;(thisYear.TotalAmount/lastYear.TotalAmount - 1) * 100&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;FROM&lt;/span&gt; YearlyOrderAmtCTE &lt;span style="color: rgb(0, 0, 153);"&gt;AS&lt;/span&gt; thisYear&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;LEFT OUTER JOIN&lt;/span&gt; YearlyOrderAmtCTE &lt;span style="color: rgb(0, 0, 153);"&gt;AS&lt;/span&gt; lastYear&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;ON&lt;/span&gt; thisYear.OrderYear = lastYear.OrderYear + 1&lt;br /&gt;)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;SELECT&lt;/span&gt; * &lt;span style="color: rgb(0, 0, 153);"&gt;FROM&lt;/span&gt; SalesTrendCTE&lt;br /&gt;GO&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115881861838948342?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115881861838948342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115881861838948342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115881861838948342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115881861838948342'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/09/common-table-expressioncte.html' title='Common Table Expression(CTE)'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115855493221822014</id><published>2006-09-18T10:18:00.000+05:30</published><updated>2007-03-12T00:09:48.147+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Down with a fever... and now Gastritis....</title><content type='html'>&lt;p&gt;Now I feel bit better after the fever since last Wednesday. I wanted to be @ office last thursday and friday coz I had to complete something with new SQL Report server. But I couldn't make it. After the fever last friday i got Gastritis also. Now I have to take medicine for Gastritis too.That's a damn sickness. NowI feel bit better. And now I am trying to Eat on time. And I am warning you all my buddies. Please take care of your meals. Simply EAT ON TIME.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115855493221822014?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115855493221822014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115855493221822014' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115855493221822014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115855493221822014'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/09/down-with-fever-and-now-gastritis.html' title='Down with a fever... and now Gastritis....'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115743356682907782</id><published>2006-09-05T10:42:00.000+05:30</published><updated>2007-03-12T00:10:30.087+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Beta'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Microsoft .NET Framework 3.0</title><content type='html'>Microst has Released &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=19E21845-F5E3-4387-95FF-66788825C1AF&amp;displaylang=en"&gt;Microsoft .NET Framework 3.0&lt;/a&gt;(pre-Released) for the general public.(May be this an Old news ;) ).We can download new framework and Related resources from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=19E21845-F5E3-4387-95FF-66788825C1AF&amp;displaylang=en"&gt;here&lt;/a&gt;. and also we can download &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=117ECFD3-98AD-4D67-87D2-E95A8407FA86&amp;amp;displaylang=en"&gt;RC1 SDK&lt;/a&gt; tooo.Wow.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115743356682907782?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115743356682907782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115743356682907782' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115743356682907782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115743356682907782'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/09/microsoft-net-framework-30.html' title='Microsoft .NET Framework 3.0'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115691726515056294</id><published>2006-08-31T09:24:00.000+05:30</published><updated>2007-03-12T00:11:25.419+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Tutorials on Enterprise Library</title><content type='html'>&lt;p&gt;These days i got a chance to start working with one of the tool witch i was dreaming to work with.&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=5A14E870-406B-4F2A-B723-97BA84AE80B5&amp;displaylang=en"&gt;Enterprise Library&lt;/a&gt;.When i am Searching for Tutorials for &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=5A14E870-406B-4F2A-B723-97BA84AE80B5&amp;amp;displaylang=en"&gt;Enterprise Library &lt;/a&gt;i found Some great Great articles.So i thought to share them with you all. &lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/msdnmag/issues/05/10/DataPoints/"&gt;The Enterprise Library Data Access Application Block&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://channel9.msdn.com/wiki/default.aspx/Channel9.EnterpriseLibraryTutorials"&gt;Online Tutorials about Enterprise Library&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.devx.com/dotnet/Article/30910"&gt;Using the Enterprise Library Data Access Block for .NET 2.0&lt;/a&gt;&lt;/p&gt;&lt;p&gt;And some Links was available in &lt;a class="headermaintitle" id="Header1_HeaderTitle" href="http://blogs.wdevs.com/angelos/"&gt;Angelos Petropoulos' WebLog&lt;/a&gt; &lt;/p&gt;&lt;p&gt;(archive &lt;a id="viewpost.ascx_TitleUrl" href="http://blogs.wdevs.com/angelos/archive/2005/02/09/2266.aspx"&gt;Tutorials on using Enterprise Library&lt;/a&gt;  )&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115691726515056294?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115691726515056294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115691726515056294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115691726515056294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115691726515056294'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/08/tutorials-on-enterprise-library.html' title='Tutorials on Enterprise Library'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115673883370681890</id><published>2006-08-26T09:27:00.000+05:30</published><updated>2007-03-12T00:11:55.797+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Upuli got Married</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/Untitled-1%20copy.jpg"&gt;&lt;img style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/400/Untitled-1%20copy.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;One of ma good friend Upuli got Married y’day.wedding was @ &lt;a href="http://www.koggalabeach.com/en/hotel_en.html"&gt;koggala beach Hotel&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;Hmmm very nice to see you as a bride buddy. Hope you will get all the happy things in your new life.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Best wishes to both of you !!!!.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The best Is yet to come lu ne????&lt;/p&gt;&lt;p&gt;Congrats..... !!!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115673883370681890?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115673883370681890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115673883370681890' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115673883370681890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115673883370681890'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/08/upuli-got-married_26.html' title='Upuli got Married'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115631446125891761</id><published>2006-08-23T11:38:00.000+05:30</published><updated>2007-03-12T00:12:52.928+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flickr'/><title type='text'>I just started photo sharing</title><content type='html'>I started my old habit again.but still didnt feel much comfortable on it.anyway hope you all will help me to improve.i always welcome your comments on it.I just started my photosharing at &lt;a href="http://www.flickr.com/"&gt;flickr.com&lt;/a&gt;.And click &lt;a href="http://www.flickr.com/photos/cps2005lk"&gt;here&lt;/a&gt; to go to my photo sharing at &lt;a href="http://www.flickr.com/"&gt;flickr.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115631446125891761?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115631446125891761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115631446125891761' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115631446125891761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115631446125891761'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/08/i-just-started-photo-sharing.html' title='I just started photo sharing'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115631314886614340</id><published>2006-08-22T08:27:00.000+05:30</published><updated>2007-03-12T00:13:36.467+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sri Lanka'/><title type='text'>What can we do for this?As a Sri Lankan</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image008.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/320/image008.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image006.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/320/image006.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image001.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/200/image001.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image002.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/200/image002.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image005.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/200/image005.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image003.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/200/image003.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5191/1193/1600/image004.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5191/1193/200/image004.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here are some pics witch i have got from one of my friend.can u understand how much Tamil people are in Canada supporting to establish "EELAM" as their homeland. See how our flag has been disgraced by Tamils can we call them as Sri Lankans ?????&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115631314886614340?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115631314886614340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115631314886614340' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115631314886614340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115631314886614340'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/08/what-can-we-do-for-thisas-sri-lankan.html' title='What can we do for this?As a Sri Lankan'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115450198250583724</id><published>2006-08-02T12:25:00.000+05:30</published><updated>2007-03-12T00:14:12.915+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.Net'/><title type='text'>Creating thumbnail Image(VB.NET)</title><content type='html'>I wanted To Create a thumbnail Image from Original Picture And save it in Employee Data.I used image.GetThumbnailImage function to sort this out.So i thught to Publish it here ,it will be a Help for someone else.&lt;br /&gt;&lt;table border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td bg="" style="color: rgb(243, 243, 243);" width="100%"&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;br /&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' Photo path(Actual path to Uploaded Pic) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;Public&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Shared&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Function&lt;/span&gt; &lt;span style="color:black;"&gt;CreateThumbnail&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;ByVal&lt;/span&gt; &lt;span style="color:black;"&gt;imagePath&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;String&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;ByVal&lt;/span&gt; &lt;span style="color: rgb(0, 0, 128);"&gt;Folder&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;String&lt;/span&gt;&lt;span style="color:black;"&gt;) &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Boolean&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color:black;"&gt;createdThumbnail&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Boolean&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color:black;"&gt;thumbnail&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;Dim&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Bitmap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' get full path to the thumbnail image &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color:black;"&gt;thumbnailPath&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;String&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color:black;"&gt;Path&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Combine&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 128);"&gt;Folder&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;GetThumbnailName&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color:black;"&gt;imagePath&lt;/span&gt;&lt;span style="color:black;"&gt;))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' check thumbnail already exist&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;If&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Not&lt;/span&gt; &lt;span style="color: rgb(0, 0, 128);"&gt;File&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Exists&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color:black;"&gt;thumbnailPath&lt;/span&gt;&lt;span style="color:black;"&gt;) &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;Then&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;New&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Bitmap&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color:black;"&gt;imagePath&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' create thumbnail image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;thumbnail&lt;/span&gt; &lt;span style="color:black;"&gt;=GetThumbnail&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;120&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' save thumbnail &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;thumbnail&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Save&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color:black;"&gt;thumbnailPath&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;ImageFormat&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Jpeg&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;createdThumbnail&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;True&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Catch&lt;/span&gt; &lt;span style="color:black;"&gt;ex&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Exception&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' an error occurred, return null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Finally&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' clean up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;If&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Not&lt;/span&gt; &lt;span style="color:black;"&gt;thumbnail&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Is&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Nothing&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Then&lt;/span&gt; &lt;span style="color:black;"&gt;thumbnail&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Dispose&lt;/span&gt;&lt;span style="color:black;"&gt;()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;If&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Not&lt;/span&gt;&lt;span style="color:black;"&gt; (&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Is&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Nothing&lt;/span&gt;&lt;span style="color:black;"&gt;) &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;Then&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Dispose&lt;/span&gt;&lt;span style="color:black;"&gt;()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Return&lt;/span&gt; &lt;span style="color:black;"&gt;createdThumbnail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;Public&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Shared&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Function&lt;/span&gt; &lt;span style="color:black;"&gt;GetThumbnail&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;ByVal&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Bitmap&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;ByVal&lt;/span&gt; &lt;span style="color:black;"&gt;longestSide&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color:black;"&gt;Integer&lt;/span&gt;&lt;span style="color:black;"&gt;) &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color:black;"&gt;thumbnail&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' determine scale of the image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color:black;"&gt;scale&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Single&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 0, 128);"&gt;CSng&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 128);"&gt;IIf&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Width&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Height&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt; &lt;span style="color:black;"&gt;longestSide&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;/&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Width&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;longestSide&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;/&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Height&lt;/span&gt;&lt;span style="color:black;"&gt;))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;width&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color:black;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 0, 128);"&gt;CInt&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Width&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;*&lt;/span&gt; &lt;span style="color:black;"&gt;scale&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Dim&lt;/span&gt; &lt;span style="color:black;"&gt;height&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color:black;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 0, 128);"&gt;CInt&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Height&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;*&lt;/span&gt; &lt;span style="color:black;"&gt;scale&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;thumbnail&lt;/span&gt; &lt;span style="color: rgb(128, 64, 64);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;image&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;GetThumbnailImage&lt;/span&gt;&lt;span style="color:black;"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;width&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;height&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;Nothing&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:black;"&gt;IntPtr&lt;/span&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;span style="color:black;"&gt;Zero&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Catch&lt;/span&gt; &lt;span style="color:black;"&gt;ex&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;As&lt;/span&gt; &lt;span style="color: rgb(0, 128, 128);"&gt;Exception&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;' an error occurred, return null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;Return&lt;/span&gt; &lt;span style="color:black;"&gt;thumbnail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="right"&gt;&lt;span style="font-size:8;"&gt;Generated using &lt;a href="http://www.vbcity.com/encoder" target="_blank"&gt;PrettyCode.Encoder&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115450198250583724?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115450198250583724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115450198250583724' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115450198250583724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115450198250583724'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/08/creating-thumbnail-imagevbnet.html' title='Creating thumbnail Image(VB.NET)'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13533692.post-115330780914808188</id><published>2006-07-19T16:27:00.000+05:30</published><updated>2007-03-12T00:14:38.221+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Am I working too Hard ???</title><content type='html'>Well..... now I feel my happy life has come to an end. I have been selected for a new project… and it’s the end of ma life of fun….. Hmmm. what to do? Have to go ahead with our life noh.... And these days I am learning alot of things again. Crystal Report again lol…. Even though I have used Crystal Report b4 now I am learning alot more things on it. Now I feel like I didn’t know anything about it. From next week our Project has to be online and we have to work with live data (Gone mad…. ;) ).I never thought this would happen to me.. lol..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13533692-115330780914808188?l=cps2005lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cps2005lk.blogspot.com/feeds/115330780914808188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=13533692&amp;postID=115330780914808188' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115330780914808188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13533692/posts/default/115330780914808188'/><link rel='alternate' type='text/html' href='http://cps2005lk.blogspot.com/2006/07/am-i-working-too-hard.html' title='Am I working too Hard ???'/><author><name>cps2005lk</name><uri>http://www.blogger.com/profile/12798259069649652298</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06829669176685590325'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry></feed>