Archive

Archive for January, 2008

Free Image Resizing Tool

January 30th, 2008 No comments

An image resizing tool made by me is available for you… for free.

Download from here

This is programmed with Visual C# Express 2005 (.NET 2.x)

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

OpenXML

January 30th, 2008 No comments

(Do not confuze this with OPENXML in t-sql. Both are different)

Office Open XML (commonly referred to as OOXML or OpenXML) is an XML-based file format specification for electronic documents such as spreadsheets, charts, presentations and word processing documents.

Microsoft originally developed the specification as a successor to its binary Microsoft Office file formats and it was handed over to Ecma International to be developed as the Ecma 376 standard, which was published in December 2006.

More information here

MSDN reference: http://msdn2.microsoft.com/en-us/library/aa338205.aspx

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

Tafiti – Search from Microsoft

January 29th, 2008 No comments

Tafiti, which means “do research” in Swahili, is an experimental search front-end from Microsoft, designed to help people use the Web for research projects that span multiple search queries and sessions by helping visualize, store, and share research results. Tafiti uses both Microsoft Silverlight and Live Search to explore the intersection of richer experiences on the Web and the increasing specialization of search.

http://www.tafiti.com/Original/default.aspx

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

T-SQL Trigger example

January 29th, 2008 1 comment

This sample code will copy a field (column) to another field when a new row is inserted or updated.

CREATE TRIGGER test /* change to ALTER when you edit this trigger */
ON tbltest
FOR INSERT, UPDATE /* Fire this trigger when a row is INSERTed or UPDATEd */
AS
BEGIN
                     UPDATE  tblTest  SET  tbltest.testvalue=tbltest.name 
                     FROM INSERTED
                     WHERE inserted.id=tbltest.id
END
/* Eg: */
INSERT INTO tblTest (name) VALUES ('ooooo') 
 
/* Now check the data: */
SELECT *FROM tblTest
VN:F [1.9.18_1163]
Rating: 3.1/5 (15 votes cast)
Categories: SQL

Microsoft Visual Studio 2008 Free Books

January 29th, 2008 No comments

Three interesting books are avilable for free -from Microsoft.
Check this book to know more and a download – http://csna01.libredigital.com/?urvs5cn3s8

1. Introducing Microsoft LINQ
2. Introducing Microsoft ASP.NET AJAX
3. Introducing Microsoft Silverlight 1.0

VN:F [1.9.18_1163]
Rating: 1.0/5 (1 vote cast)
Categories: DOTNET, General

Beginner’s WPF Animation tutorial

January 28th, 2008 No comments

My article for ‘Beginners WPF Animation’ is availble on codeproject.com.

Check the CodeProject article at http://www.codeproject.com/KB/WPF/WPFAnimation.aspx

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: WPF-WCF-WF

WPF – running wheel animation

January 28th, 2008 No comments

We can make a rotate animation with image1.RenderTransformOrigin = new Point(0.5, 0.5); so that we will make the feeling wheel is rotating. Here is the code:

 DoubleAnimation da = new DoubleAnimation(360, 0, 
                     new Duration(TimeSpan.FromSeconds(3)));
RotateTransform rt = new RotateTransform();
image1.RenderTransform = rt;
image1.RenderTransformOrigin = new Point(0.5, 0.5);
da.RepeatBehavior = RepeatBehavior.Forever;
rt.BeginAnimation(RotateTransform.AngleProperty, da);

More detailed version is available at http://www.codeproject.com/Articles/23257/Beginner-s-WPF-Animation-Tutorial

VN:F [1.9.18_1163]
Rating: 5.0/5 (3 votes cast)
Categories: WPF-WCF-WF

Beginners Animation tutorial – Rotation

January 25th, 2008 No comments

My second WPF animation tutorial is available at http://www.digitalmanic.com/index.php?title=Beginners_Animation_tutorial_-_Rotate


DoubleAnimation da = new DoubleAnimation();
da.From = 0;
da.To = 360;
da.Duration = new Duration(TimeSpan.FromSeconds(3));
da.RepeatBehavior = RepeatBehavior.Forever;
RotateTransform rt = new RotateTransform();
rectangle1.RenderTransform = rt;
rt.BeginAnimation(RotateTransform.AngleProperty, da);

VN:F [1.9.18_1163]
Rating: 5.0/5 (1 vote cast)
Categories: WPF-WCF-WF

Beginners Animation tutorial with WPF – C#

January 25th, 2008 No comments

I wrote this tutorial for WPF beginners. Expected readers are programmers.

Read the full tutorial at:http://www.codeproject.com/Articles/23257/Beginner-s-WPF-Animation-Tutorial

DoubleAnimation da = new DoubleAnimation();
da.From = 30;
da.To = 100;
da.Duration =  new Duration(TimeSpan.FromSeconds(1));
Button1.BeginAnimation(Button.HeightProperty, da);
VN:F [1.9.18_1163]
Rating: 4.5/5 (4 votes cast)
Categories: WPF-WCF-WF

My new tech site

January 23rd, 2008 No comments

I am starting a new tech site http://www.ninethsense.com which I am planning to add technical contents. Basically this is a wiki so that I have the freedom to talk about anything :)

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General