Monday, April 23, 2007

Microsoft Expression





Microsoft Expression is a suite of graphics programs from Microsoft aimed at developers and designers. It consists of four products:

Microsoft Expression Web (code-named Quartz) - A program for designing web sites.
Microsoft Expression Blend (code-named Sparkle) - A program for designing user interfaces based on Windows Presentation Foundation.
Microsoft Expression Design (code-named Acrylic) - A program for editing graphics. Design edits both raster and vector graphics.
Microsoft Expression Media - A program to manage digital assets and media.

more info

Sunday, April 22, 2007

Posting Data to a 3rd party page in .net

situations arise when we need to post data from our form to other asp,jsp pages...

we need to handle this situation differently

i have added a sample code which takes the value for the TextBox and it will transfer the datas to a different page where the data from the TextBox will be processed.


System.Web.HttpContext.Current.Response.Clear();
System.Web.HttpContext.Current.Response.Write("<html><head>");

System.Web.HttpContext.Current.Response.Write("</head><body onload=\"document.Form1.submit()\">");



//transfer the control to http://mysite/WebForm2.aspx

System.Web.HttpContext.Current.Response.Write("<form name=\"Form1\" method=\"post\" action=\"http://localhost/ee/WebForm2.aspx\" >");



//add the value of the text box to a hidden control

System.Web.HttpContext.Current.Response.Write("<input name=\"txtname\" type=\"hidden\" value=\"" + TextBox1.Text + "\">");

System.Web.HttpContext.Current.Response.Write("</form>");
System.Web.HttpContext.Current.Response.Write("</body></html>");
System.Web.HttpContext.Current.Response.End();

Friday, April 20, 2007

Microsoft Silver Light



Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of media experiences and rich interactive applications (RIAs) for the Web.

more info

Sunday, April 08, 2007

Copy Text To Clip Board Using Java Script


<script type="text/javascript">
function ClipBoard()
{
window.clipboardData.setData("Text", document.getElementById('TextBox1').value);
var text = window.clipboardData.getData("Text");

}
</script>

</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server">Text to copy here</asp:TextBox><br />
<br />
<input id="Button1" type="button" value="Copy to Clipboard" onclick="ClipBoard()" />

</div>
</form>
</body>
</html>

Monday, March 26, 2007

Format your c#,VB code for websites and blog
This tool allows you to format your C#, VB, HTML, XML, T-SQL or MSH (code name Monad) code for publishing on a web site or in a blog.

below is a sample c# code formated

privatevoid grdAttachments_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
CheckBox chk;
if(e.Item.ItemIndex>=0)
{
e.Item.Attributes.Add("onmouseover", "this.style.background='#cdcdcd';");
e.Item.Attributes.Add("onmouseout", "this.style.background='#cdcdcd';");

e.Item.Cells[2].Attributes.Add("onmouseout", "this.style.background='#bbbbbb';");
e.Item.Cells[2].Attributes.Add("onmouseout", "this.style.background='#ffffff';");


Button btn=new Button();

btn = (Button)e.Item.Cells[2].Controls[0];//if the button is in the 4th cell

btn.Attributes.Add("onclick","return confirm('" + e.Item.Cells[0].Text + "')");

//btn.Visible = false;

chk=(CheckBox)e.Item.Cells[0].FindControl("CheckBox1");
chk.Attributes.Add("Onclick","javascript:Alert();");
//chk.Visible= false;

DropDownList drp;
drp = (DropDownList)e.Item.Cells[0].FindControl("DropDownList3");
drp.Items.Add(new ListItem("aaaa","1"));

}

}


more info

also google have a tool which is used for code formating .
more info

Wednesday, February 14, 2007

Welcome to Project codename "Glidepath" 2.0

The release of Windows Vista is creating a new wave of demand for applications. Combining the hundreds of new features and thousands of new APIs added to Windows Vista with starting and keeping a MicroISV business running is a formidable challenge. Microsoft want to help make it easier for you to be successful.

Project Glidepath, a Microsoft evangelism initiative, provides you the step-by-step instructions for everything from how to get started with Windows Presentation Foundation to how to write and publish a press release.

Project Glidepath delivers the workflow-based guidance, sample code, content and custom tools you need to create successful applications for Windows Vista including .Net 3.0 right inside Visual Studio 2005

Tuesday, February 13, 2007

Microsoft launches 'mashup' competition for developers
Winners in Web 2.0 effort can win up to $25,000

Microsoft Corp. and BT Group PLC today launched a competition to encourage developers to create "network mashups" that merge telecommunications features such as voice and text messaging with Web 2.0 applications like mapping and search. A mashup application or Web site combines content from multiple sources.


more

Monday, January 22, 2007

London Stock Exchange Chooses Windows Over LINUX for Reliability


As part of its strategy to win more trading business and new customers, the London Stock Exchange needed a scalable, reliable, high-performance stock exchange ticker plant to replace its earlier system. Roughly 40 per cent of the Exchange’s revenues are generated by the sale of real-time information about stock prices. Using the Microsoft® .NET Framework in Windows Server® 2003 and the Microsoft SQL Server™ 2000 database, the new Infolect® system has been built to achieve unprecedented levels of performance, availability, and business agility. Launched in September 2005, it is maintaining the London Stock Exchange’s world-leading service reliability record while reducing latency by a factor of 15. Its successful implementation, with support from Microsoft and Accenture, shows the London Stock Exchange’s leadership in developing next-generation trading systems.

more info ...
Next Generation YAHOO Messenger for windows vista built with WPF(Windows Presentation Foundations) and .NET



The Windows Presentation Foundation (or WPF), formerly code named Avalon, is the graphical subsystem feature of the .NET Framework 3.0 (formerly called WinFX) and is directly related to XAML. It is pre-installed in Vista, the latest version of the Microsoft Windows operating system. WPF is also available for installation on Windows XP SP2 and Windows Server 2003. It provides a consistent programming model for building applications and provides a clear separation between the UI and the business logic. A WPF application can be deployed on the desktop or hosted in a web browser. It also enables richer control, design, and development of the visual aspects of Windows programs. It aims to unify a host of application services: user interface, 2D and 3D drawing, fixed and adaptive documents, vector graphics, raster graphics, animation, data binding, audio and video.


more

Google SketchUp is a deceptively simple, amazingly powerful tool for creating, viewing, and modifying 3D ideas quickly and easily. Google SketchUp was developed to combine the elegance and spontaneity of pencil sketching with the speed and flexibility of today's digital media.

Developed for the conceptual stages of design, this powerful yet easy-to-learn software allows for quick and easy 3D form creation, the result is an interface that supports a dynamic, creative exploration of 3D form, material and light.

Google SketchUp combines a compact yet robust tool-set with an intelligent guidance system that streamlines the 3D drawing process.

know more about GoogleSketchUP

Wednesday, January 10, 2007

They made india proud

In its tenth flight conducted from Satish Dhawan Space Centre (SDSC) SHAR, Sriharikota, today (January 10, 2007), ISRO’s Polar Satellite Launch Vehicle, PSLV-C7, successfully launched four satellites -- India’s CARTOSAT-2 and Space capsule Recovery Experiment (SRE-1), Indonesia’s LAPAN-TUBSAT and Argentina’s PEHUENSAT-1 into a 635 km high polar orbit. For the first time, a Dual Launch Adopter (DLA) was used in PSLV to accommodate two primary satellites in tandem

CARTOSAT-2, the twelfth in the Indian Remote Sensing (IRS) satellite series, is an advanced remote sensing satellite capable of providing scene-specific spot imagery. It will join the other six IRS satellites which are in service -- IRS-1C, IRS-1D, OCEANSAT-1, Technology Experimental Satellite (TES), RESOURCESAT-1 and CARTOSAT-1. It carries a Panchromatic camera (PAN) to provide imageries with a spatial resolution of better than one metre and a swath of 9.6 km. The satellite can be steered up to 45 deg along as well as across the track. The data from the satellite will be used for cartographic applications at cadastral level, urban and rural infrastructure development and management, as well as applications in Land Information System (LIS) and Geographical Information System (GIS).

more info

Monday, January 08, 2007

Googlebombing

If you do a Google search on the word [failure] or the phrase [miserable failure], the top result is currently the White House’s official biographical page for President Bush.

Google's search results are generated by computer programs that rank web pages in large part by examining the number and relative popularity of the sites that link to them. By using a practice called googlebombing.

In this case, a number of webmasters use the phrases [failure] and [miserable failure] to describe and link to President Bush's website, thus pushing it to the top of searches for those phrases

Saturday, December 23, 2006

Wednesday, December 13, 2006

Replacing array elments with single command

string[] MyNames = { "America", "Chicago", "Illinois"};

MyNames = String.Join("|", MyNames ).Replace("a", "z").Split('|');

Tuesday, July 25, 2006

Font embedding for the Web

Font embedding has been a feature of Microsoft applications such as Word and PowerPoint® for several years. It allows the fonts used in the creation of a document to travel with that document, ensuring that a user sees documents exactly as the designer intended them to be seen. Font embedding technology is built into Microsoft Internet Explorer (version 4 and above) bringing embedded fonts to the Web.

for more help visit http://www.microsoft.com/typography/web/embedding/default.htm