Friday, December 29, 2006

10th Anniversary

Today is the 10th Anniversary of Fitness Kingdom (which is my gym). There is going to be a party held at Casaba Lanka Resturant,Kottawa starting from 7pm.

My self and my friends who are members of the gym is going to attend that party.

Finally I wish all the best for Fitness Kingdom.

Friday, December 22, 2006

.NET Charting

The free developer version of the .NET Charting is now available for download.It's available for both .NET 1.0/1.1 and 2.0. Also it is available for both ASP.NET and Windows Forms.

Download now.

For .NET 1.0/1.1

1. ASP.NET
2. Windows Applications

For .NET 2.0

1. ASP.NET
2. Windows Applications

Thursday, December 21, 2006

File Uploading

I found out a site which allows you to upload files up to 2GB.It's a totally free site.Visit the site and create your account.

Visit

Free Calls

If you want to make free calls to your friends and relations visit below sites and make free calls.

1. freecall
2. gizmoproject

Tuesday, December 19, 2006

Free Videos

ASP.NET

VIDEO 1:

How to use the BackgroundWorker Control

This video comes from the Windows Forms Controls 2005 Series. This video demonstrates how to use the new BackgroundWorker Control to easily create a multi-threaded application. (Works with all versions of Visual Studio 2005, including the Express Editions)

Download C# Version
Download VB.NET Version

VIDEO 2:

Securing your ASP.NET 2.0 Web Site with Membership and Login Controls

Your next free tutorial comes from our "Getting Started with Visual Web Developer 2005 Express Edition" series. In this video you discover the new membership capabilities of ASP.NET 2.0. In addition, you will learn about role-based security, and how you can use roles to control access to your web site.

Download C# Version
Download VB.NET Version

VIDEO 3:

Understanding Web Application State

In this video, you will see how to maintain state in your ASP.NET 2.0 applications.

Download C# Version
Download VB.NET Version

VIDEO 4:

Debugging and Tracing your Website

In this video, you will learn how to debug and monitor your ASP.NET 2.0 Web applications

Download C# Version
Download VB.NET Version

VIDEO 5:

Introduction to Anonymous Delegates

After reviewing How to Create and Use Regular Delegates, this video explains the concept of creating anonymous delegates, when to use them and when not to, and explains the concept of closure for retrieving the state and scope of the anonymous delegate at instantiation for use upon its invocation. (Anonymous delegates are not available in Visual Basic 8.x or earlier.)

Download

VIDEO 6:

Introduction to Generics

Generics allow you to create flexible data structures that are strongly typed. This video compares the System.Collections.ArrayList class versus its generic replacement, the System.Collections.Generic.List, explaining exactly why generics are the prefered way to add stability to your collections by catching situations where objects of the wrong type are being added to your collections at compile time.

Download

SQL

VIDEO 7:

Designing Relational Database Tables

Why are relational databases the most popular? Differentiate between primary and foreign keys. Design relational database tables and learn about normalization rules and de-normalization.

Download

VIDEO 8:

Understanding Security and Network Connectivity

Differentiate between database files and SQL Server processes. Explore scenarios for connecting to SQL Server Express databases, enabling and disabling user instances, login permissions, and other security precautions.

Download

Tuesday, December 12, 2006

TECHED Presentation

If you attended TECHED 2006 which was held at Waters Edge,Battaramulla now you can download the presentations which was done at TECHED.

If you wish to download them please visit below link.

Download Presentations

Deep Dive 2.0

The Deep Dive 2.0 held on last Friday (8th December 2006) at the Distance Learning Center (DLC). I also attended to that. There were around 30 people gathered there to participate for that.

Our MVP Prasanna did a presentation regarding Workflow Foundation and Praveen Srivatsa from INETA did two presentations on Windows Vista - for developers and Office 2007 - for developers.

The hall which was used for the sessions have large space and hope that from next year onwords .NET user group meeting will be held on that place.

The sessions started around 4.45pm and and ended around 8.30pm.

Thanks for Sri Lanka .NET Forum and INETA for arranging these sessions.

Thursday, December 07, 2006

New regulations to curb terrorism

Sri Lankan Government introduced new relgulations to to curb terrorism and terrorism related activities from yesterday (6th of December) onwards.

Read the news

Rehan's Funeral

Yesterday my self and my family attended the funeral of our school mate Rehan.It was a very sad day for me and my school mates because we lost a good fellow.

The funeral happened at the Moraketiya Chruch and there were lot of people whome are Rehan's relations,friends and neighbours. This is the second time that I went to a Chruch.

Rehan faced a tragic death and my final wish is no one should ever face a death like Rehan did.

Wednesday, December 06, 2006

Top 10 Ways to Earn with Google Adsense without Creating Your Own Site

There are list of web sites where you can display Google AdSense ads if you don’t have a blog or website and earn money from that. These sites provide many services that share 100% adsense earnings with users.

This is a list of sites where AdSense publisher can use their own AdSense IDs to earn money.

1.Simpy

Simpy is a social bookmarking site.

Simpy has support for Google AdSense as a third party. Each Simpy member has his/her main page on Simpy (e.g. jaleel77 ). Every Simpy member can now enter his/her Google AdSense Id into Simpy, and his/her page will immediately start showing ads with his/her Id. All earnings from such ads go to members, as their Ids are used to display ads .

2.Digital Point Forums

Digital Point Forums is a forum site for webmasters.

This forum displays one advertisement in the upper right area as well is inline when viewing a thread. We use Google AdSense to automatically serve relevant ads for the content on the page. Google pays AdSense publishers on a per click basis as well as per impression.

If a user has an AdSense account, they have the ability to credit their account with the ads served on threads they start or participate in.

3.ArticleMuse

Articlemuse.com is a news article directory.

Sharing Ads Position: The Google Ads beside the main content of the article.
Sharing Ratio: Your ads will be displayed in any articles you have submitted 100% of the time till the end of 2006!

4.XpressIdeas

Xpress Ideas is an article directory.

If you have a Google Adsense ID, you can enter that ID when you register on the site. The Google Ads in the middle of the article will have YOUR Google Adsense ID in, meaning that if anybody who clicks on those ads, even on OUR site, YOU get the revenue!

5.Cybersist

Cybersist is place to share your photos and blog, free webmail, file storage and more.

Your Google ads will be displayed in 7 different locations on your public blog and photo pages. Those ads are specifically optimized to allow better penetration of the ads. Any click on those ads will generate a revenue for you through AdSense.

6.TagTooga

TagTooga is a free directory that anyone can edit.

It is easy to use TagTooga.com to earn advertising revenue. There are two ways to do it:

(1) Link to TagTooga.com. Traffic sent from your link will display Google Ads using your Adsense ID.

(2) Create your own category/tag pages.

7.ForuMatrix

ForuMatrix is a news posting site.

The posts you will make, will display 100% your Adsense Banner. No time limits or banner rotations. It’s simple, your Posts with your banners always

8.Flixya

Flixya is a video sharing site.

Start sharing your videos from Youtube, Google Video, Daily Motion, and other video sharing sites. Our revenue share program is split 50-50. You will make 50% of the Google Adsense revenue generated by the videos you submit. The more traffic your video drives, the more ads will be displayed, and the more money you will make.

9.Swicki

Swicki is a site that allows you to create custom searches

After you have saved your ad program preferences, ads will immediately begin appearing on your swicki’s results pages.
For each active ad program on your swicki, you’ll be credited with 50% of the ad impressions and clicks. The balance will be credited to Eurekster.

10.Senserly
Senserly.com is a content hosting website

Senserely.com is to provide a place for honest Google AdSense publishers to legitimately increase their daily earnings. As soon as you register, this basically becomes your website, with your AdSense blocks displayed next to your content, and you'll be able to write articles, reviews, and stories about your knowledge and experience with AdSense or any topic you feel confortable with, as well as read, ask questions, and exchange information with other AdSense publishers.

Tuesday, December 05, 2006

Passed Away

Day before yesterday my niebuhr’s (Silva auntee's) son (Rehan ayya) fell from the 9th floor of a building in Wellawaththa and got passed away. It was a really sad news to hear and the son was an old boy of our school. I went to the home of his and his mother was crying and shouting because of her sadness of loosing her one and only son.

The funeral is going to happen tomorrow and I will attend to that with my whole family.

Did someone intentionally pushed him from the building or did he fell by him self???

DeepDive 2.0 - Register Now!!!

Date / Time: 8th December 2006, 4 PM - 8 PM
Venue: Distance Learning Center, 28/10 Malalasekara Mw. Colombo 07

For more information and to get register please visit below link.

Register and more information

Friday, December 01, 2006

Improve your site and increase marketing ROI

Use Google Analytics to learn which online marketing initiatives are cost effective and see how visitors actually interact with your site. Make informed site design improvements, drive targeted traffic, and increase your conversions and profits.

It's totally free.

If you don't have an account Sign Up Now

Bomb Blast

The LTTE terrorists carried out a cowardly suicide bomb attack at the motorcade carrying Secretary of Defence Gotabaya Rajapakse this morning.

Read full story

Free E-Books

If you want to download free e-books regarding programming languages,operating systems,database management systems and many more please visit below link.

It's free.

Download E-Books

Thursday, November 30, 2006

Download Windows PowerShell 1.0

Windows PowerShell 1.0 RTW is now available to download and it currently supports Windows XP Service Pack 2 and Windows Server 2003.

The .NET Framework 2.0 is required in order to install Windows PowerShell.

Download

FIND VACANCIES IN SRI LANKA AND ABROAD

If you are searching for a job there is a blog which provide vacancies that are available.

You can find a Job in SRI LANKA, USA, UK, AUSTRALIA, MIDDLE EAST COUNTRIES & EUROPE COUNTRIES.

Find Available Jobs

Wednesday, November 29, 2006

Google AdSense

Google AdSense is a fast and easy way for people to display relevant Google ads on their website's content pages and earn money without any cost.

Participation in AdSense requires you to have a website. If you don't have one, you can sign up for a free blog at www.blogger.com or create and publish useful, attractive web pages using Google Page Creator, at pages.google.com

If you have a website.

Apply now. It's free.

Deep Dive 2.0

Get ready for the 2nd Deep Dive organized by the Sri lankan MVPs in association with INETA.
It will be held on December 8th Friday from 4.30 PM to 8.30 PM in Distance learning center at Malalasekara mavatha ,London place ,Colombo 07.

Stay tuned...

Reference : Jinath's Blog

Wednesday, November 22, 2006

LTTE are not Terrorists

"LTTE are not Terrorists, they are genuine freedom fighters, I support their campaign" says Lalith Kotelawala to Gulf News.

Read this news

Friday, November 17, 2006

Top Ten Security Tips Every Developer Must Know

An article written by Michael Howard and Keith Brown gives top ten security tips that a developer should know.

Security Tips:
1. Trust User Input at Your Own Peril
2. Protect Against Buffer Overruns
3. Prevent Cross-site Scripting
4. Don't Require sa Permissions
5. Watch that Crypto Code!
6. Reduce Your Attack Profile
7. Employ the Principle of Least Privilege
8. Pay Attention to Failure Modes
9. Impersonation is Fragile
10. Write Apps that Non-admins Can Actually Use

Read more

8 Simple Rules For Developing More Secure Code

Michael Howard has found out 8 simple rules for developing more secure code.

Rules:
1. Take Responsibility
2. Never Trust Data
3. Model Threats against Your Code
4. Stay One Step Ahead
5. Fuzz!
6. Don't Write Insecure Code
7. Recognize the Strategic Asymmetry
8. Use the Best Tools You Can

Read more

Thursday, November 16, 2006

Exam Insurance - It's a Win-Win Situation!

Buy your next exam with Exam Insurance--offered exclusively through Microsoft Certified Partners for Learning Solutions--for "a second chance if you need it; a discount next time if you don't." If you pass your first exam, you save 25% on your next one; if you fail, your second chance to pass is FREE.

Get Exam Insurance

Monday, November 06, 2006

American Green Card

U.S Department of States have opened the 2008 Diversity Visa Program (DV-2008) now. The people who wish you apply for this lottery can now submit their applications.

The application submission period for DV-2008 is from 12:00PM EDT (GMT -5) on October 4, 2006 to 12:00PM EST (GMT -5) on December 3, 2006.

If you are intrested apply now.It's totally free.

Apply

After TECHED

When I went to November .NET User Group Meeting Razor told me that some stupid people have stole four 1GB RAMs from the machines which were there in the .NET USER Group stall during the dinner night.

And also I heard that Allan has to pay for the RAMs. I think the thieves who stole it will sell it to other one with a low price or they might use them in their machines.

I must tell to that people who ever did this you have done a very bad thing and please do not steal other people’s properties for your sake. These kinds of things get organizers into trouble. So thieves don’t do this kind of things.

.NET User Group Meeting November 2006

As usual the meeting started around 6.10pm at the Microsoft Sri Lanka office. There were around 60 participants who came for the meeting. The place where the meeting held got “HOUSE FULL”. Hope that next time the meeting will be held in a place with more space.

Manzi did the one and only presentation that was arranged. He did do the presentation on AJAX in ASP.NET that was really interesting. From the presentation we learn lot about AJAX and how to use it with ASP.NET and how easy to use AJAX with ASP.NET.

The meeting ended around 8.30pm

Wednesday, November 01, 2006

Materials of MCSD

If you are doing MCSD exams please join certifyDotNetWithCSharp yahooo group and get all books and dumps of MCSD.

Link to the group

Monday, October 30, 2006

Compare ASP.NET 1.x and ASP.NET 2.0

While I was reading some articles regarding asp.net I found an article that compares asp.net versions. I think that this article will be useful to asp.net developers.

Read the article

Microsoft TECHED 2006 Sri Lanka


Microsoft TECHED 2006 Sri Lanka was held at Waters Edge Battaramulla on 25th – 27th of October. This was the second time that the TECHED was held in Sri Lanka.

I attended TECHED this time it was a great experience to me as I am a developer. There were 4 tracks that we could attend and I attended for the developer track sessions.

Track 1: Windows Infrastructure and System Management
Track 2: Messaging and Collaboration
Track 3: Enterprise Data Management, Architecture and Team Development
Track 4: Developer Technology

Day 1:

The one started with some keynotes from Microsoft and there were around 650 participants. The entire participant got the final program and a card with bar code from the counters.

After having lunch the first session of the developers track started around 1pm and my self and few of my friends attended to that session. After finishing that session my self and my friend Jagath went to the .NET Forum & MVPs stall and in that stall I met Razor and he surprised me by saying that I have won a gift from the .NET Forum. I was really happy that I won a gift from .NET Forum.

The forum gave gifts for the top ten participants of the forum and I was one of them. I got a t-shirt, a mouse pad calculator and some key tags as my gift. Thanks for .NET Forum selecting me as a good participant of the forum.

There were interesting sessions such as “WPF FOR DEVELOPERS”,”ASP.NET AND AJAX” which I attend was very useful for me. I learned lot of new things from these sessions.

All the sessions on day 1 ended around 5.15 pm and it was raining heavily at that time. One friend of mine gave me a lift and thanks for that friend.

Day 2:

Day 2 of the TECHED started around 8.45 am. This day there were 6 sessions scheduled and I attended to five of them. This day my self and my friends attended to some sessions in developer’s track and some in Enterprise data management track.

Some of the interesting sessions that I attended were “VS 2005 Data Binding”, ”Web Services in VS 2005”, “Improving Teamwork & Developer habits” ect…

Two of the sessions from the five sessions that I attend were done by Chad Hower (WHOO!!! HOO!!!) and those sessions were really cool and interesting and thanks for Chad for doing those presentations. Hope that next time when TEDHED happens in Sri Lanka that he will come to do some presentations.

The second day of the TECHED ended at 6.30pm.

Day 3:

The day 3 started around 9am in the morning there were six sessions arranged for the day and I attended 5 of them and today also changed tracks.

Chad Hower did 3 out of 5 sessions that I attended and those sessions were really interesting. Some of them are “SQL CLR”, ”Software Safety”.

All of the sessions ended around 6.15pm and we went to the counters and got our gift pack, which were a nice bag from Microsoft and a nice mug from Navantis. Thanks for Microsoft and Navantis for giving us this gift pack.

Then around 7.15pm the entertainment night and the dinner started and it was cool and I enjoyed it very much. There were a music band and a DJ to keep us entertained. Microsoft, Navantis, John Keels, and Suntel gave several gifts to the participants.

Microsoft gave some bags, t-shirts and Navantis gave a return air ticket from Malaysia and Suntel gave 2 CDMA phones and John Keels have some gift bags.

The party ended around 10.30pm on that day and my father came to pick up me from Waters Edge.

All together it was a grate experience for me and I learn lot of new technical things from TECHED this year. The food and tea was great and only the problem was that day-by-day the organizers changed the session schedule.

Finally I must thank Microsoft and .NET Forum for arranging this event for the second time in Sri Lanka and hope to attend next year’s TECHED as well.

Monday, October 23, 2006

Got through

Today I did exam 70-316 (Developing Windows Applications using .NET) at SLIIT Kollupitiya exam center.This is the second exam which I did on the way to get certified as MCSD.Three more exams to go.

The pass mark for this exam was 700/1000 and I scored 1000/1000.I am really happy about my results.

The exam started around 10am and I finished it around 11.10am.

I will do the next exam which is 70-320 as soon as possible and then I would be a MCAD.

Friday, October 13, 2006

Birthday Wishes

Yesterday was the birthday of my two twince brothers.Now they are 21 years old. Wish them a happy birthday and may there dreams become true.

Thursday, October 12, 2006

Beat stress, drink tea

University College London (UCL) says "Regular cups of tea can help speed recovery from stress".

Read More

Tuesday, October 10, 2006

Create Graphs

UDraw(Graph) is a free software which we can use to generate graphs.After creating a graph it creates a file call fileName.udg with a specific format.

Example Image :



Download Software

We can use a XML file to create above graph through C# code.

Sample XML File :



FlooringSaw
Flooring
Saw
FlooringDry
1
1/1/1900 12:00:00 AM


FlooringDry
Flooring
Dry
FlooringPlane
2
1/1/1900 12:00:00 AM


FlooringPlane
Flooring
Plane
FlooringSize
3
1/1/1900 12:00:00 AM


FlooringSize
Flooring
Size
FlooringAssemble
4
1/1/1900 12:00:00 AM


FlooringAssemble
Flooring
Assemble
FlooringFinish
5
1/1/1900 12:00:00 AM


FlooringFinish
Flooring
Finish
ROOT
6
1/1/1900 12:00:00 AM



Code to display the graph :

DataSet dsUDG = new DataSet();
dsUDG.ReadXml("Services.xml");

DataRow []servOprs = dsUDG.Tables["ServiceOperation"].Select("ServiceName = 'Flooring'");

StreamWriter sw = new StreamWriter("servOprs.udg");

sw.WriteLine("[l");

for(int i = 0;i < servOprs.Length;i++)
{
if(servOprs[i]["ParentServOprsID"].ToString() != "ROOT")
{
DataRow []temp = dsUDG.Tables["ServiceOperation"].Select("ServOprsID = '"+servOprs[i]["ParentServOprsID"].ToString()+"'");

if(i != 0)
{
sw.WriteLine("l("+va+"_"+servOprs[i]["OperationName"].ToString()+va+",n("+va+"node"+va+",[a("+va+"_GO"+va+","+va+"ellipse"+va+"),a("+va+"OBJECT"+va+","+va+servOprs[i]["OperationName"].ToString()+va+"),a("+va+"COLOR"+va+","+va+"lightred"+va+"),a("+va+"INFO"+va+","+va+va+")],");
}
else
{
sw.WriteLine("("+va+"_"+servOprs[i]["OperationName"].ToString()+va+",n("+va+"node"+va+",[a("+va+"_GO"+va+","+va+"ellipse"+va+"),a("+va+"OBJECT"+va+","+va+servOprs[i]["OperationName"].ToString()+va+"),a("+va+"COLOR"+va+","+va+"lightred"+va+"),a("+va+"INFO"+va+","+va+va+")],");
}

if(temp.Length != 0)
{
sw.WriteLine("[l("+va+"@"+servOprs[i]["OperationName"].ToString()+va+",e("+va+"edge"+va+",[a("+va+"EDGEPATTERN"+va+","+va+"single;solid;1;0"+va+"),a("+va+"OBJECT"+va+","+va+va+"),a("+va+"FONTSTYLE"+va+","+va+"bold"+va+"),a("+va+"INFO"+va+","+va+va+")],");
}
}
else
{
sw.WriteLine("l("+va+"_"+servOprs[i]["OperationName"].ToString()+va+",n("+va+"node"+va+",[a("+va+"_GO"+va+","+va+"ellipse"+va+"),a("+va+"OBJECT"+va+","+va+servOprs[i]["OperationName"].ToString()+va+"),a("+va+"COLOR"+va+","+va+"lightblue"+va+"),a("+va+"INFO"+va+","+va+va+")],[]");
}
}

for(int k = 0;k < servOprs.Length-1;k++)
{
sw.WriteLine("))))]");
}

sw.WriteLine("))]");

sw.Close();

Monday, October 09, 2006

.NET Framework 3.0 Downloads

If you want to download .NET Framework 3.0 stuff please visit below site.

http://www.netfx3.com

Thursday, October 05, 2006

Generate Gantt Project 2.0.2 File

Gantt Project 2.0.2 is a open source project scheduling application written in Java and featuring gantt chart, resource management, calendaring, import/export (MS Project, HTML, PDF, spreadsheets).

Download Gantt Project

After creating a plan when you save it it saves the file as an XML file.There is a specific format to that file and we can generate that file through code using C#.NET.

Below is a sample code for the file generation.

XmlTextWriter tw = new XmlTextWriter("Plan.xml", System.Text.Encoding.UTF8);

tw.Formatting = Formatting.Indented;

tw.WriteStartDocument();

tw.WriteStartElement("project");
tw.WriteAttributeString("name","");
tw.WriteAttributeString("company","");
tw.WriteAttributeString("webLink","");
tw.WriteAttributeString("view-date","year-month-day");
tw.WriteAttributeString("view-index","0");
tw.WriteAttributeString("gantt-divider-location","316");
tw.WriteAttributeString("resource-divider-location","301");
tw.WriteAttributeString("version","2.0");

tw.WriteStartElement("view");
tw.WriteAttributeString("zooming-state","default:2");
tw.WriteEndElement();

tw.WriteStartElement("calendars");
tw.WriteStartElement("day-types");
tw.WriteStartElement("day-type");
tw.WriteAttributeString("id","0");
tw.WriteEndElement();

tw.WriteStartElement("day-type");
tw.WriteAttributeString("id","1");
tw.WriteEndElement();

tw.WriteStartElement("calendar");
tw.WriteAttributeString("id","1");
tw.WriteAttributeString("name","default");

tw.WriteStartElement("default-week");
tw.WriteAttributeString("sun","1");
tw.WriteAttributeString("mon","0");
tw.WriteAttributeString("tue","0");
tw.WriteAttributeString("wed","0");
tw.WriteAttributeString("thu","0");
tw.WriteAttributeString("fri","0");
tw.WriteAttributeString("sat","1");
tw.WriteEndElement();

tw.WriteStartElement("overriden-day-types");
tw.WriteEndElement();

tw.WriteStartElement("days");
tw.WriteEndElement();

tw.WriteEndElement(); // end calendar
tw.WriteEndElement(); // end day types
tw.WriteEndElement(); // end calendars

tw.WriteStartElement("description");
tw.WriteEndElement();

tw.WriteStartElement("tasks");
tw.WriteAttributeString("color","#8cb6ce");

tw.WriteStartElement("taskproperties");

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd0");
tw.WriteAttributeString("name","type");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","icon");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd1");
tw.WriteAttributeString("name","priority");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","icon");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd2");
tw.WriteAttributeString("name","info");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","icon");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd3");
tw.WriteAttributeString("name","name");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","text");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd4");
tw.WriteAttributeString("name","begindate");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","date");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd5");
tw.WriteAttributeString("name","enddate");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","date");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd6");
tw.WriteAttributeString("name","duration");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","int");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd7");
tw.WriteAttributeString("name","completion");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","int");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd8");
tw.WriteAttributeString("name","coordinator");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","text");

tw.WriteEndElement();

tw.WriteStartElement("taskproperty");

tw.WriteAttributeString("id","tpd9");
tw.WriteAttributeString("name","predecessors");
tw.WriteAttributeString("type","default");
tw.WriteAttributeString("valuetype","text");

tw.WriteEndElement();

tw.WriteEndElement();

tw.WriteStartElement("task");
tw.WriteAttributeString("id","13");
tw.WriteAttributeString("name","creating xml file");
tw.WriteAttributeString("shape","0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0");
tw.WriteAttributeString("meeting","false");
tw.WriteAttributeString("start","2005-11-04");
tw.WriteAttributeString("duration","1");
tw.WriteAttributeString("complete","50");
tw.WriteAttributeString("fixed-start","false");
tw.WriteAttributeString("priority","1");
tw.WriteAttributeString("expand","true");

tw.WriteStartElement("notes");
tw.WriteEndElement();

tw.WriteStartElement("depend");
tw.WriteAttributeString("id","");
tw.WriteAttributeString("type","2");
tw.WriteEndElement();

tw.WriteEndElement(); // end task
tw.WriteEndElement(); // end tasks

tw.WriteStartElement("resources");

tw.WriteStartElement("resource");
tw.WriteAttributeString("id","1");
tw.WriteAttributeString("name","Pasan");
tw.WriteAttributeString("function","SoftwareDevelopment");
tw.WriteAttributeString("contacts","pasan_yasantha@yahoo.co.uk");
tw.WriteAttributeString("phone","0722 133 702");
tw.WriteEndElement();

tw.WriteEndElement(); //end resources

tw.WriteStartElement("allocations");

tw.WriteStartElement("allocation");
tw.WriteAttributeString("task-id","13");
tw.WriteAttributeString("resource-id","1");
tw.WriteAttributeString("load","100.0");
tw.WriteEndElement();

tw.WriteEndElement(); //end allocations

tw.WriteStartElement("vacations");
tw.WriteEndElement();

tw.WriteStartElement("taskdisplaycolumns");

tw.WriteStartElement("displaycolumn");
tw.WriteAttributeString("property-id","tpd3");
tw.WriteAttributeString("order","0");
tw.WriteAttributeString("width","75");
tw.WriteEndElement();

tw.WriteStartElement("displaycolumn");
tw.WriteAttributeString("property-id","tpd4");
tw.WriteAttributeString("order","1");
tw.WriteAttributeString("width","75");
tw.WriteEndElement();

tw.WriteStartElement("displaycolumn");
tw.WriteAttributeString("property-id","tpd5");
tw.WriteAttributeString("order","2");
tw.WriteAttributeString("width","75");
tw.WriteEndElement();

tw.WriteEndElement();

tw.WriteStartElement("previous");
tw.WriteEndElement();

tw.WriteStartElement("roles");
tw.WriteAttributeString("roleset-name","Default");
tw.WriteEndElement();

tw.WriteStartElement("roles");
tw.WriteAttributeString("roleset-name","SoftwareDevelopment");
tw.WriteEndElement();

tw.WriteStartElement("roles");
tw.WriteAttributeString("roleset-name","Operator");
tw.WriteEndElement();

tw.WriteEndElement(); //end project
tw.WriteEndDocument();

tw.Flush();
tw.Close();

.NET FRAMEWORK 3.0

About .NET Framework 3.0

The Microsoft .NET Framework 3.0 (formerly WinFX), is the new managed code programming model for Windows. It combines the power of the .NET Framework 2.0 with four new technologies: Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF), and Windows CardSpace (WCS, formerly "InfoCard").


Learn about .NET Framework 3.0 Technologies

Refernce : Microsoft

Tuesday, October 03, 2006

Reduce application development time

Do you want to reduce your application development time by 70%?

Then use IdeaBlade's DevForce Express 3.2

DevForce Express is the award-winning .NET productivity suite from IdeaBlade that extends the .NET Framework and accelerates application development. New advanced features in this release include support for in-memory checkpointing, paging, and asynchronous queries.

Download IdeaBlade's DevForce Express 3.2

Windows Vista Release Candidate 1

Now you can download Windows Vista Release Candidate 1 from the below links.

Please use these links to access the download:

English: http://download.windowsvista.com/preview/rc1/en/download.htm

German: http://download.windowsvista.com/preview/rc1/de/download.htm

Japanese: http://download.windowsvista.com/preview/rc1/jp/download.htm

2007 Microsoft® Office system Beta

Discover the latest refresh to the 2007 Microsoft® Office system Beta.New features of the Beta 2 include an updated user interface and better accessibility support.

Download Office 2007 Beta 2

Thursday, September 28, 2006

.NET 3.0 Road Show 2006

.NET Framework 3.0 (formerly WinFX) is the brand name for a set of modern technologies designed to be the next-generation Windows development platform. .NET Framework 3.0 will simplify and speed-up the application development for building connected systems without the need for developers to learn new programming paradigms.

.NET 3.0 will be released with Windows Vista in January 2007 and will also be available on Windows XP.

Visit

Lottery Scam E-Mails

Last week I received an email saying that I have won 100000 USD from a lottery.They have chosen me from my email ID.
If you reply to this email they will send you a form asking for your information and they will use your information do bad things.
So if you receive this kind of an email please becareful and don't believe what they say.

Read more

Monday, September 25, 2006

BRADBY SHIELD 2006 KANDY LEG

Our group (Royal College Group of 2001) arranged the participation of our group for the Bradby Shield which was held on 23rd of September in Kandy. The rugger match was played at Bogambara Grounds Kandy.

As planned we stated from Our college gate around 7am in the morning on that day and came to Kandy around 12.30pm.While we are coming to Kandy we had lot of fun. We came by a Air-conditioned bus so not got much tired when we came to Kandy. Our group made T-Shirts for the Bradby and we wore them to watch the match.

After coming we went here and there and came to the ground around 2.45pm.

The main match started around 4.30pm and Trinity team got ahead our school team. While the match is going there were some “Papare” bands playing music to make us entertained. There were lot of people gathered in the ground to watch the match.

The match ended by Trinity winning the match and we were sad that our school team didn’t perform well.

We left Kandy around 8.15pm and came to Colombo around 11.30pm on that day. Thanks for Dulip who is the chairman of our group and committee members for arranging our group participation for the match.

Friday, September 08, 2006

.NET User Group Meeting September 2006

This time also the user group meeting was held at the same place which is Microsoft Sri Lanka office. I went there around 5.45pm and the meeting got started around 6.15pm.

This time unexpected amount of members came to the meeting. I think more than 60 members came to the meeting and had to bring seats from here and there to provide seats to the crowd. I have been attending user group meeting since March of this year and I think this was the time the highest number of members came according to my knowledge (From the six meetings I have attended).

There were 2 presentations arranged for the meeting. Madawa did a presentation on DAO (Data Access Objects). In this presentation he gave us a better understanding of what DAO is and how to use this concept in the real world enterprise application development.
Also Prasanna did a presentation on Windows Mobile Application Development. In this presentation he showed us new cool features that comes with mobile 5.0 and he showed us how easily those can be implemented.

The meeting ended around 8.15pm.

Tuesday, August 08, 2006

.NET User Group Meeting August 2006

Last Wednesday I attended the .NET user group meeting for the month of August which was held in Microsoft Sri Lanka office. Early these meetings were held at Gateway Auditorium.
On that day there were around 40 members who came to attend to the user group meeting.

At this meeting Rajah did a presentation on New Features in Windows Forms 2.0 and Dinesh did a presentation on encryption of SQL Server 2005. I learn a lot from these two presentations.

At the end of the Dinesh's presentation he asked 3 questions based on his presentation and I answered one question and got exam voucher of Microsoft.

Tuesday, July 25, 2006

Future Minds Exhibition

Future Mind Exhibition was held at SLECC on 14-16 July. I promised Wela that I will come to stay in the stall on 16th July which was a Sunday.

I went to the SLECC around 1.30pm in the afternoon and stayed until the end of that day.This was the last day of the exhibition.



Our guys at the Red Hat stall.


From left to right : Charith,Fazmil,Wela,me,Razor

From left to right : me,Fazmil,Wela,Dinesh junior,Dinesh,Ludmal


This photoes were taken on the last day of the exhibition from Wela's camera.Thanks Wela for putting up these images on the .NET Forum.

Not much people came to the exhibition though this was a Sunday.We also went to the Red Hat stall and exchanged our MVP bags with their Caps.

Friday, May 19, 2006

Got through the exam

After styding for sevaral weeks May 25 th of 2006 I did my first exam on MCSD which was in ASP.NET. I did my exam at SLIIT Kollupitiya.

The exam started on 10AM and around I finshed exam around 11.30AM.There were 43 questions.The pass mark was 700 out of 1000. I got 962 marks out of 1000.

This was a very happy day for me as well as my parents. I don't have enough words to explain how happy was I.

Now I am MCP in ASP.NET. In the future I will complete the next 4 exams and become MCSD as soon as I can.

Wednesday, March 15, 2006

Annual Get Together 2006

Our school group's (Group of 2001) annual get together held for the 4th successive year, at the women’s international hall on the 12th of March 2006.

My self and my class mates went there around 7.30PM on that day.The get together started around 8.15PM.

Lot of our group members came on that day and had lot of fun.We received many souvenirs on that day.The night was celebrated with a buffet dinner and many more fun activities.

We left from the club around midnight.

Below are some photoes taken at the event.