Gaurav Taneja

Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in.

  Home  |   Contact  |   Syndication    |   Login
  90 Posts | 0 Stories | 78 Comments | 7 Trackbacks

News




Google RankGoogle PRâ„¢ - Post your Page Rank with MyGooglePageRank.com



The content on this site represents my own personal opinions and thoughts at the time of posting, and does not reflect those of my employer's in any way.

Disclaimer:- All postings in this blog is provided "AS IS" with no warranties, and confers no rights.

Archives

Post Categories

Image Galleries

Atlas

Error

OutLook

SharePointService

Usefull Site Links

August 2006 Entries

Click to convert C# to VB.net & Vice-Versa
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

VB.NET Program Structure C# Imports System Namespace Hello Class HelloWorld Overloads Shared Sub Main(ByVal args() As String) Dim name As String = "VB.NET" 'See if an argument was passed from the command line If args.Length = 1 Then name = args(0) Console.WriteLine("Hello, " & name & "!") End Sub End Class End Namespace using System; namespace Hello { public class HelloWorld { public static void Main(string[] args) { string name = "C#"; // See if an argument was passed from the command line...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

• What is SharePoint? Portal Collaboration Software. • What is the difference between SharePoint Portal Server and Windows SharePoint Services? SharePoint Portal Server is the global portal offering features like global navigation and searching. Windows SharePoint Services is more content management based with document libraries and lists. You apply information to certain areas within your portal from Windows SharePoint Services or directly to portal areas. • What is a web part...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Here is a nice tips to clear the Recent project list or File list from Visual Studio .Net Run--> RegEdit and navigate to HKEY_CURRENT_USER\Software\... version>\ProjectMRUList delete unnecessary list. similarly for FileMRuList. Make sure not disturb other key from the registry...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Example showing to use watetmark on images using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.W... using System.Web.UI.HtmlControls; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Drawing2D; /// /// Summary description for Watermark /// public class Watermark { public Watermark() { // // TODO: Add constructor logic here // } public...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Function Point Analysis is an objective and structured technique to measure software size by quantifying its functionality provided to the user, based on the requirements and logical design. This technique breaks the system into smaller components so they can be better understood and analyzed. Function Point count can be applied to Development projects, Enhancement projects, and existing applications as well. There are 5 major components of Function Point Analysis which capture the functionality...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

To do this, execute the following command on every table exec sp_changeobjectowner '?????', 'DBO' - where ????? is the name of your database table. Also below is the stored procedure through which you can change the owner for every table inthe database. EXEC sp_changeobjectowner @oldownerplusobject, @new create procedure J_ChangeObjectOwner (@type varchar(1),@old varchar(20),@new varchar(20)) as declare @ObjectName varchar(100) declare @oldownerplusobject varchar(50) begin declare Cursor_Object cursor...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati