Skip to content

Sumit Gupta

bookmarking my life

Category: Code Snippets

Hello World

May 5, 2008 by Sumit Gupta Code Snippets, Links, Programming

As a computer software programmer, one must have learned and use these two words “Hello World”. It is unsaid theory to write a hello world program to start learning a…

Read More

LightBox Vs VideoBox Vs Custom Code

April 11, 2008August 5, 2009 by Sumit Gupta Code Snippets, Javascript, Programming

Recently I was given a task to make LightBox and VideoBox work on same page, where we have Images and Video to show. However, Videobox is inspired by Lightbox as per developer,…

Read More

Creating SQL Table from another table

January 2, 2008 by Sumit Gupta Code Snippets, SQL

Often we need to take quick backup of database with data before we can make changes in table. for this I create the image of table within same database, as…

Read More

Setting/Resetting Auto increment value in MSSQL 2005

December 17, 2007 by Sumit Gupta Code Snippets, Programming, SQL

Once you create a table and what to reset autoincrement value of a table to your desire number, you need to set some system table values, which are not available…

Read More

Calculating distance

November 10, 2007 by Sumit Gupta Code Snippets, Javascript, Links

With increasing use of Map service such as google, yahoo and MSN one often need to calculate distance between two location. This can be done many ways I suppose. However,…

Read More

How to remove all child movieClip through AS 2.0 Code

August 22, 2007 by Sumit Gupta Code Snippets, Flash

To remove all child from a given movie clip simple loop through its all object and remove the type of object you want. Following code does the same for related_mc.sp_related…

Read More

Printing Text Document in .NET 2.0

July 10, 2007February 20, 2010 by Sumit Gupta .NET, C#.NET, Code Snippets, Programming, VB.NET/VB

Some time reporting tools are too heavy to use with a small application. Something similar happens with me, I need to print a Single page text information for this I…

Read More

Posts navigation

1 2 Next →

© 2025 Sumit Gupta // Powered by WordPress