Monday, March 31, 2008

train

Train Timetable


http://erail.in/

Sunday, March 30, 2008

To get Login User Information

ArrayList groups = new ArrayList();
foreach (System.Security.Principal.IdentityReference group in
System.Web.HttpContext.Current.Request.LogonUserIdentity.Groups)
{
groups.Add(group.Translate(typeof(System.Security.Principal.NTAccount)).ToString());
}

To Get SpGroup

foreach(SPGroup group in SPContext.Current.Web.CurrentUser.Groups)
{
string groupName = group.Name;
Response.Write(groupName);
}

Wednesday, March 19, 2008

How to Generate Public Key Token in VS 2005

  1. In Visual Studio 2005, click Tools -> External Tools...
  2. Click Add and enter the following into the different fields as displayed in the following screenshot:
    • Title: Get Public Key
    • Command: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe
    • Arguments: -Tp "$(TargetPath)"
    • Uncheck all options, except Use Output window\
http://www.andrewconnell.com/blog/archive/2006/09/15/4587.aspx

Difference Between WSS and MOSS 2007

It is important that you know the difference between Windows SharePoint Services (WSS) and Microsoft Office SharePoint Server 2007 (MOSS). While WSS and MOSS are both pieces of software built by the Microsoft Office team, WSS is included as a part of the Windows Server 2003 operating system while MOSS is a separate product with its own SKU. You should think of WSS as the underlying platform and think of MOSS as a value-added set of components and services that has been built on top of this platform.

WSS does not have its own licensing model. Instead, the use of WSS is controlled through Windows Server 2003 licenses. This makes it very cost effective for companies to roll out applications that have been designed and built on top of the WSS platform. MOSS, on the other hand, has its own licensing model that includes server-side licenses and client access licenses (CALs). The MOSS licensing model is further broken out into a Standard Edition and an Enterprise Edition.

Refer:
Inside Microsoft Windows SharePoint Services 3.0
byTed PattisonandDaniel Larson

Wednesday, March 12, 2008

Understanding ASP.NET View State

Understanding ASP.NET View State

http://msdn2.microsoft.com/en-us/library/ms972976.aspx#viewstate_topic4

Tuesday, March 11, 2008

sample programs in wf

http://msdn2.microsoft.com/en-us/library/ms741723(VS.85).aspx

sharepoint and workflow

http://www.developer.com/net/net/article.php/3652346

web part overview

Web part Overview
http://msdn2.microsoft.com/en-us/library/ms432401.aspx


WebPart Class
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webpart.aspx

To Find Date Difference

string[] strdate=Convert.ToString((DateTime.Parse(txtDate2.Text)-DateTime.Parse(txtDate1.Text))).Split(new char[] {'.'});
txtDiff.Text = strdate[0].ToString();

To install ASP.NET

>>cd C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
>>aspnet_regiis.exe -i

For Office outlook 2003 Add-in and Programmings Useful Links

http://www.aspnetemail.com/examples.aspx
http://email.about.com/od/windowsreturnreceipts/tp/certified_email.htm
http://www.activexperts.com/activemail/howto/aspnetb/
http://www.outlookcode.com/article.aspx
http://download.microsoft.com/download/1/6/c/16c03bcf-84a6-43d1-b185-bb34beea1b99/Code.msi
http://support.microsoft.com/?kbid=310244

extending outlook
http://msdn2.microsoft.com/en-us/library/aa479348.aspx
http://www.add-in-express.com/add-in-net/outlook.php
http://msdn2.microsoft.com/en-us/express/aa975050.aspx

Outlook Objects
http://msdn2.microsoft.com/en-us/library/ms268893(VS.80).aspx
http://msdn2.microsoft.com/hi-in/library/aa537182(en-us,office.11).aspx

Handy Tasks
http://msdn2.microsoft.com/hi-in/library/aa168022(en-us,office.11).aspx
http://msdn2.microsoft.com/hi-in/library/aa218785(en-us,office.11).aspx
http://www.microeye.com/resources/res_tech_vsnet.htm
http://msdn2.microsoft.com/hi-in/library/aa289167(en-us).aspx
http://www.helenfeddema.com/CodeSamples.htm
http://support.microsoft.com/ph/2520/en-us/?sid=19&aid=1&GSA_AC_More1