Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

CrossOver Rocks.....

I managed to grab a copy of CodeWeaver's CossOver software using their 28th October promotion campaign. For those who don't know about CodeWeaver, they are the people behind the FOSS project wine which enables users to run windows applicaiton on their Linux boxes. CrossOver is commercial counterpart of the wine. The gave away $70 worth CrossOver Professional version for free on 28 Oct as a pomotion.

I Installed Microsoft Office 2007 on my Fedora 9 box using CrossOver and it works fine. I managed to install Word, Excel and Powepoint, but had problems with installing Visio.

Unfortunately CodeWeaver's aren't going to do this kind of promotions in near future. So you'll have to use Wine if you didn't managed to grab a copy on 28th Oct.










 

Imagine Cup is back to UOM

Yesterday we had the final round of the Software Design category of the Imagine Cup Sri Lanka competition. There were six teams selected for the finals. Out of that six, three teams were from University of Moratuwa, two from UCSC and other one from SLIIT.

This years theme was "Imagine a world where technology enables sustainable environment", so all of the projects were about how we can save our planet Earth.

For the fourth convective time undergraduates from University of Moratuwa managed to win the trophy. This time it was a joint effort by both Faculty of Information Technology and Engineering. Team "Sasrutha" presenting the project "Haritha Prayathna" won the 1st place.  They will fly to France on July to participate for the global finals.

Like last time this year also 2nd place was won by team "Gagana" from SLIIT and 3rd place was won by team "Will Power" from University of Moratuwa, Faculty of Engineering.

Congratulations to the winners.

 

Imagine Cup 2008 Sri Lanka Finals

Get invited for Imagine Cup 2008 Sri Lanka finals It is your chance to get an invitation to participate for the Sri Lanka's premier IT event. Hurry up.

 

Microsoft Excel as 3D Game Engine??

Today I came across this wonderful article which shows how Microsoft Excel can be used to render 3D graphics. Sounds amazing isn't it.....

3D grapgics rendering in MS Excel

 

Maximum RAM supported in Windows XP

Recently I assembled a new computer with 4GB RAM. My motherboard supports up to 8GB RAM and Widows XP supports 4GB RAM so no problem.....

But when I open the System Properties, it shows only 3.23GB of RAM. Where did the rest go? OK, I'm using onboard VGA with 256MB memory, so part of the RAM will be allocated to that and will not be shown in System Properties. But even with that there is considerable amount of RAM is missing.

4GB RAM not showing in System Properties.

I wanted to know why it is. So I did an Google search and found out this. Reason is XP uses its 32bit address space not only to address memory but also to address some other components like System ROM , APIC(s),Integrated PCI devices, such as network connectors and SCSI controllers, PCI cards , Graphics card, etc... Because of this some part of the ram may not be accessible by the operating system since it ran out of address space.

 

2008 Sri Lankan Holiday List

There is only few days for the dawn of the new year, 2008. It is time to get organized for the new year. As with last year I thought of creating a Sri Lankan holiday list.

Outlook Holiday List

– – – – – – – – – Start Copy – – – – – – – – –

[Sri Lanka] 25
Tamil Thai Pongal Day(BPM),2008/1/15
Duruthu Full Moon Poya Day(BPM),2008/1/22
National Day(BPM),2008/2/4
Navam Full Moon Poya Day(BPM),2008/2/20
Mahasivarathri Day(BP),2008/3/6
Milad-Un-Nabi (Holy Prophet’s Birthday)(BPM),2008/3/20
Medin Full Moon Poya Day(BPM),2008/3/21
Good Friday(BP),2008/3/21
Day Prior to Sinhala & Tamil New Year Day(BPM),2008/4/12
Sinhala & Tamil New Year Day(BPM),2008/4/13
Bak Full Moon Poya Day(BPM),2008/4/19
May Day(BPM),2008/5/1
Vesak Full Moon Poya Day(BPM),2008/5/19
Day following Vesak Full Moon Poya Day(BPM),2008/5/20
Poson Full Moon Poya Day(BPM),2008/6/18
Esala Full Moon Poya Day(BPM),2008/7/17
Nikini Full Moon Poya Day(BPM),2008/8/16
Binara Full Moon Poya Day(BPM),2008/9/14
Id-Ul-Fitr (Ramazan Festival Day)(BP),2008/10/1
Vap Full Moon Poya Day(BPM),2008/10/14
Deepavali Festival Day(BP),2008/10/27
Il Full Moon Poya Day(BPM),2008/11/12
Id-Ul-Alha (Hadji Festival Day)(BP),2008/12/9
Unduvap Full Moon Poya Day(BPM),2008/12/12
Christmas Day(BPM),2007/12/25

– – – – – – End Copy – – – – – – –

Please follow the instructions given in my last post to add holiday list to outlook. Note that if you have last year’s list under Sri Lanka you will need to replace it with this year’s ones

Google Calendar

Click on the button to add the Holiday Calendar to your Google calendar.

 

Imagine Cup 2008 Launch at University of Moratuwa

Yesterday 12th December we had a grand event at the university for the launch of the Imagine Cup 2008 competition. Event was organized by the Microsoft Student Champs community at the Faculty of Information Technology.

ic2008_1 Event was not only about the Imagine Cup, there was the launch of the sourceFEED - which is the new online resource center developed by student champs. SourceFEED was a long requested thing by the faculty students, it provided access to lot of online learning material and Microsoft latest software products that the faculty get through MSDNAA. Launch of the sourceFEED was done by the university vice chancellor.

After the launch of the sourceFEED we had the launch of the Imagine Cup 2008. This is the 4th time that IC is happening in Sri Lanka. During last 3 years the competition was won by students from FIT. This year also our students are ready to give a big challenge to other IT institutes around the county to bring the cup for the 4th consecutive time.

We had a introductory presentation about the IC 2008 by Wela, who is the Microsoft Developer Evangelist. And then we had 2 brief technical sessions on building WPF applications   and another one on Silvelight applications. I did the presentation on building WPF applications using VS2008 and Expression Blend. It was a very introductory session about WPF, XAML and Blend. You can view the presentation I did here in Google presentations. Wela did the presentation on Silverlight.

Technorati Tags:
 

Boost security by disabling 10 Windows XP services

I came across this article at TechRepublic few days back about few windows services that we can disable and boost the security of our computers. Following are the services that you can disable without any problem.

  • ISS
  • NetMeeting Remote Desktop Sharing
  • Remote Desktop Help Session Manager
  • Remote Registry
  • Routing and Remote Access
  • Simple File Sharing
  • SSDP Discovery Service
  • Telnet
  • Universal Plug and Play Device Host
  • Windows Messenger Service

Some of these services may not even installed in your machine, specially some thing like ISS. Better check the services running in you machine and disable unnecessary ones. It can help you in two ways, one is that it will boost the security and other thing is that it will save your system resources  to do some thing useful.

To see list of all the services running in you machine go to Control Panel > Administrative Tools > Services

You can find the original article here >>

Technorati Tags: ,
 

FIT wins Imagine Cup again.....

It was an unbelievable atmosphere yesterday at Galadari Colombo as FIT guys and gals won the Imagine Cup Sri Lanka Competition for the 3rd Consecrative time. Yeh!.. that's right it was for the 3rd Consecrative time that FIT won this most prestiges software competition in Sri Lanka.
This time it was team "SARA" presenting the Application "ISECED", who did the magic for our faculty. And again it was the same wining combination as last 2 yeas, one girl and 3 guys;"Ruwindi", "Sanju","Amila", and "Anurudha".

They will fly to S.Korea to participate for the Imagine Cup 2007 global competition soon.
Good luck team and congratulations.

There is more good news, in addition to the championship FIT won the 2nd runners up as well. That was team Team "Sanhitha" presenting the application "Irrdhipada" who did that.

Congratulations to them as well.
And also there was one more team team from Faculty of Information Technology who participated for this year finals, team "Rawana" presenting the application "Virtual Desk". Even though they couldn't make it to the top 3 teams they also gave a good fight and there application was wonderful.


Congregational to Rawana as well.
 

How to create easy-to-use Outlook e-mail templates?

Do you usually send same type of outlook email message over and over again with just small changes to the content? So how do you do that? Type same thing all the time or copy and paste content from old message? I think most of the times you are using the copy and paste method. I also did the same thing till I found out how to create email templates in Outlook.
With few simple steps we can create a menu of email templates in outlook. So you never have to find old message, copy-paste-edit. Just select from the mail templates menu edit and send.

If you have configured outlook to use Word as default email editor you have to change that temporally. You have to use outlook email editor to create the templates. To do that;
1. Go to Tools | Options and click the Mail Format tab.
2. De select the Use Microsoft Word To Edit E-mail Messages check box (Figure A) and click OK.


To switch back to using Word as your editor, just go back to the Mail Format tab and reselect that option.

Creating Email Templates

Create a new email message as normally we do. Enter the text into the body of the message. If the message template will contain the same words in the subject line, fill in the Subject field as well. You can also fill in the To, Cc, and Bcc fields with addresses if you will always be sending the
message to some of the same people. After finishing it, go to File | Save As to open the Save As dialog box and choose Outlook Template (*.oft) from the Save As Type drop-down list.


Close new message window.(Click no when asked to save changes)

Creating the Menu

To create the menu, right-click on an Outlook tool bar and choose Customize from the shortcut menu to open the dialog box.


Now, click on the Commands tab, scroll to the bottom of the Categories list box, and choose New Menu. The New Menu item will appear in the Commands list box.


Drag the New Menu item to the Menu bar where you want menu to appear. Once the New Menu item appears on the Menu bar, right-click on the item and Replace the default name in the Name field with E-mail Templates and press [Enter].



Adding Templates to the Menu

To add your template as menu item to the newly created menu, from Customize dialog box, choose File from the Categories list box. Then, select Mail Message from the Commands list box and drag it to the E-mail Templates menu. When the menu opens, drop the Mail Message item on it.


Right-click on the item and replace the default Name field entry with the name of one of your templates. Then, click Assign Hyper link at the bottom of the menu and select the Open command. In the Assign Hyper link: Open dialog box, locate and select your template file and click OK.



Just repeat these steps to add any other templates you want on the menu. When you're finished, close the Customize dialog box. Now, anytime you need to compose an e-mail message that will include a specific version of email text, pull down the E-mail Templates menu and select the appropriate template.

Technorati Tags:
 

Internet Explorer 7 Keyboard shortcuts

If you are using Internet Explorer 7, here are some useful keyboard shortcuts that will make your life easy.

Basic tasks

[F11]

Toggle full screen mode

[Alt]

Toggle display of menu bar (if it's not set to display)

[Ctrl]=

Zoom in

[Ctrl]-

Zoom out

[Ctrl]0

100 percent zoom

[Ctrl][F]

Search for selected text on page

[Ctrl]N

Open current page in new window

[Ctrl]A

Select everything on page

[F5]

Refresh current page

[Ctrl][F5]

Refresh cache and current page

[Esc]

Halt downloading page

[Alt]D

Select text in Address bar

[F4]

Display addresses you've typed

[Ctrl][Enter]

Add www and .com to the beginning and end of text entered in Address bar

[Ctrl][Shift][Enter]

Add http://www to the beginning of text entered in Address bar

Navigation

[Alt]Home

Go to your home page

[Alt] Left arrow (or [Backspace])

Go to previous page

[Alt] Right arrow

Go to next page

[Tab]

Move forward through items on page

[Shift][Tab]

Move backward through items on page

Tabs

[Ctrl] Click

Open a link in its own tab in background

[Ctrl][Shift] Click

Open a link in its own tab in foreground

[Ctrl]T

Open new tab in foreground

[Ctrl][Tab] (or [Ctrl][Shift][Tab] to reverse)

Cycle between tabs

[Ctrl]W (or [Alt][F4]

Close current tab

[Ctrl] number

Jump to specific tab by number (1 through 8)

[Ctrl]9

Jump to last tab

[Ctrl][Alt][F4]

Close all but current tab

[Ctrl][Shift]Q

Display Tabs list

[Ctrl]Q

Toggle Quick Tabs view

Searching

[Alt][Enter]

Open search results in new tab after typing search text in Search box or Address bar

[Ctrl]E

Jump to Search box

[Ctrl] Down arrow

Open Search Provider menu (when you're in Search box)

Printing

[Ctrl]P

Open Print dialog box

In print preview…

[Alt][P]

Open Print dialog box

[Alt]U

Open Page Setup dialog box

[Alt]O

Set to portrait orientation

[Alt]L

Set to landscape orientation

[Alt]E

Toggle headers and footers on and off

[Alt]S

Change print size

[Alt]N

Show multiple pages

[Alt]1

View full page

[Alt]W

View page width

[Alt]C

Close Print Preview

Menu access

[Alt]M

Open Home menu

[Alt]R

Open Print menu

[Alt]J

Open Tools menu

[Alt]O

Open RSS menu

[Alt]L

Open Help menu

Favorites, history, feeds

[Ctrl]D

Add current page to Favorites

[Ctrl]B

Open Organize Favorites dialog box

[Alt] Up arrow or Down arrow

Move selected item up or down list in Organize Favorites dialog box

[Alt]C

Open Favorites Center

[Ctrl]I

Open Favorites Center with favorites displayed (Add [Shift] to pin the list open)

[Ctrl]H

Open Favorites Center with history displayed (Add [Shift] to pin the list open)

[Ctrl]J

Open Favorites Center with feeds displayed (Add [Shift] to pin the list open)

[Alt]Z

Display Add To Favorites menu

[Alt]I

Display all feeds in feed view

[Alt]M

Mark feed as read in feed view

[Alt]S

Jump to Search box in feed view



 

How to Debug Javascripts - Part1 (Internet Explorer)

If you are involved with web development then at some point you may wanted to debug Javascripts that you put in to your web pages. The problem is how to debug them. When I first started using Javascripts few month back I didn't knew a debugger to use with Javascripts. So what I did was to put alerts every where to find out the problem. But that was not a good method. So I did a research on Javascript debuggers. After few minutes of Google search I found few good tool that can be used to debug Javascripts. With this post I'll show you how debug in Internet Explorer, and later with another post I'll explain how to debug with Firefox.

With IE you can use Microsoft Script debugger and Visual Studio as debuggers.

You can download it form Microsoft website.
To use the debugger, first you have to enable script debugging. Go to tools- options- tab. Make sure that “Disable Script Debugging (other)” and “Disable Script Debugging (Internet Explorer) are NOT checked.




















Now you are ready to debug. Use View- View- Debugger- at next statement to run Debugger. This will break the execution on the next Javascript call and will open the debugger.

















Alternately, you can put a line like this in your Javascript code.
debugger;
It will create a breakpoint automatically.

















If any exceptions occurred in javascript execution IE will show a message asking whether to debug or not.










Select yes. Then it will display possible set of debuggers.




















Now you are debugging. Just step into as you do in any 0ther debugger.



You can use command window to to execute codes. From this little window you can easily check and re-assign values (at "run-time") to any of the variables that have been defined. Launch it from the View menu of the debugger or by clicking the button on the very right-hand-side of the toolbar.













I created a webpage which contains buggy Javascript. If you wish you can use that to test the debugging.
http://sandarenu.googlepages.com/javascriptdebugg
 

Synchronize your Goolge Calendar and Outlook Calendar

SyncMyCal is a simple plug in to MS Outlook which allows you to synchronize your Google calendar and Outlook calendar. Using this tool you can keep both your calendar up to date.

Key Features

  • Two-way calendar synchronization – Outlook to Google and Google to Outlook
  • Selective event synchronization through date range selection
  • Flexibility of publishing/not publishing private events information in Outlook Calendar to Google Calendar
  • Multiple Google Calendars can be connected to single Outlook Calendar and vice versa
  • Works with Outlook 2007

It has two versions SyncMyCal Lite and Pro. Lite version is free and it has all the features to get things done except Auto Sync and Synchronization Date Range Selection.
Download SyncMyCal here >>
 

Free Videos from LearnVisualStudio.net


LearnVisualStudio.net is a great site which provides thousands of videos on how to program in .Net. But you have to get subscribed to get access to their full set of videos. But occasionally they release free videos as well. You can get information about these free videos through email by subscribing. These are few free videos I received that way.

1) 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 This Free Video

2) 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 This Free Video

3) 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 This Free Video

4) 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 This Free Video

5) Understanding Web Application State
In this lesson, you will see how to maintain state in your ASP.NET 2.0 applications.
Not familiar with the term “state” as it’s used in web jargon?
Basically, the web is inherently a stateless environment … each “page” of a web site is independent. The trick is passing along certain information between each individual visit to a web page for a given user.
ASP.NET 2.0 has several different ways to accomplish this. In about 35 minutes we demonstrate and explain the major ASP.NET classes and various techniques you can use to provide your users a rich web-based experience.
Download C# Version
Download VB.NET Version

6) Debugging and Tracing your Website
In this lesson, you will learn how to debug and monitor your ASP.NET 2.0 Web applications.
Fortunately, Microsoft has made it easy to step through each line of code to observe how it's executing to ferret out difficult-to-find bugs. Skills you've developed in writing Windows applications will definitely help, but there are some more tricks and tips that you can use with live applications (i.e., web applications that you've already deployed).
We'll show you almost everything you'll need to know about debugging and monitoring the execution of your app in less than 30 minutes!
Download C# Version
Download VB.NET Version


7) 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

8) 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


 

Microsoft's 'Enchanted Office' Comic


Microsoft has created a comic story to teach the users the importance of Office 2007. It tries to convince the user the importance of Ribbons in the new Office interface and how it can improve the productivity in the office. It is titles as "The Enchanted Office: Once Upon a User Interface," and goes around the character of Madeline a CEO of a company.


To view the comic click here.
 

Add Sri Lankan holidays to your Outlook calendar

This is a simple method that enables you to add Sri Lankan holiday list to MS Outlook holidays. I first saw this at Meril’s blog. It only had information to add the holiday list to Outlook. But it is possible to add the same list multiple time creating duplicates. (It personally happened to me) After Googling, managed to find a method to remove those duplicates. I’m including that in this post as well.

– – – – – – – – – Start Copy – – – – – – – – –

[Sri Lanka] 26
Duruthu Full Moon Poya Day(BPM),2007/1/3
Tamil Thai Pongal Day(BPM),2007/1/15
Navam Full Moon Poya Day(BPM),2007/2/1
National Day(BPM),2007/2/4
Mahasivarathri Day(BP),2007/2/16
Medin Full Moon Poya Day(BPM),2007/3/3
Milad-Un-Nabi (Holy Prophet’s Birthday)(BPM),2007/4/1
Bak Full Moon Poya Day(BPM),2007/4/2
Good Friday(BP),2007/4/6
Day Prior to Sinhala & Tamil New Year Day(BPM),2007/4/13
Sinhala & Tamil New Year Day(BPM),2007/4/14
May Day(BPM),2007/5/1
Vesak Full Moon Poya Day(BPM),2007/5/1
Day following Vesak Full Moon Poya Day(BPM),2007/5/2
Adhi Poson Full Moon Poya Day(BPM),2007/5/31
Poson Full Moon Poya Day(BPM),2007/6/30
Esala Full Moon Poya Day(BPM),2007/7/29
Nikini Full Moon Poya Day(BPM),2007/8/28
Binara Full Moon Poya Day(BPM),2007/9/26
Id-Ul-Fitr (Ramazan Festival Day)(BP),2007/10/13
Vap Full Moon Poya Day(BPM),2007/10/25
Deepavali Festival Day(BP),2007/11/8
Il Full Moon Poya Day(BPM),2007/11/24
Id-Ul-Alha (Hadji Festival Day)(BP),2007/12/21
Unduvap Full Moon Poya Day(BPM),2007/12/23
Christmas Day(BPM),2007/12/25

– – – – – – End Copy – – – – – – –

Update the current holiday file

  • Exit Outlook if it is running.
  • In Microsoft Windows Explorer, locate the following file:
    C:\Program Files\Microsoft Office\Office11\1033\Outlook.hol
  • Open the file using notepad.
  • Add the contents of the above text (between Start Copy and End Copy) at the end of the Outlook.hol and save it.

Updating the Outlook calendar with customized events

  • Start Outlook.
  • On the Tools menu, click Options.
  • On the Preferences tab, under Calendar, click Calendar Options.
  • In the Calendar Options dialog box, under Calendar options, click Add Holidays.
  • Select the check box for your customized set of events and holidays, and then click OK. For this example, select the box labeled Sri Lanka.

Note It's possible that a set of holidays or events observed in your country/region has already been selected in the Add Holidays to Calendar dialog box. If you try to add the same country/region again, you see the message, "Holidays for country are already installed. Do you want to install them again?"
Click No. If you click Yes, the holidays and events are installed a second time, and you will see duplicate holiday and event entries in your calendar.

In case if you accidentally clicked Yes here is how to remove duplicate holidays.

  • Choose View | Arrange By | Current View | Events
  • Right-click any column heading, then choose Field Chooser.
  • In the Field Chooser, switch from the Frequently-used fields list to Date/Time fields, and then drag the Created date to the view to add it to the fields displayed.
  • Click on the Created column header to sort by that field.
  • You should now see two distinct sets of holidays, each in reverse chronological order. Click on the first holiday of the set you want to delete.
  • Use the scroll bar to view the last holiday of that set. Hold down the Shift key as you click on the last holiday. This selects all the holidays in that set.
  • Press Delete to remove them all from the Calendar folder.
  • Drag the Created column header out of the view to remove it.