Microsoft ads comes to Youtube

30 12 2007

Yes, its late, but not too late πŸ˜‰

Windows Vista and Liv@youtube


SystemIcons.Shield Icon

18 12 2007

Daniel Moth has blogged about the new SystemIcons.Shield icon added to the set of System.Drawing.SystemIcons collection. This new Shield icon can be used to display whenever an admin task is required to be carried out. You would be familiar with this icon if you are using Vista. For example – If you open the Indexing Options dialog box in Vista,


You can see the Advanced button has the Shield icon in it which indicates that it would be an admin task.

You can refer to Daniel’s post on how to add the Shield icon to Windows Forms application

If you want to add to an Image control in a WPF application, all you have to do is set the Image‘s Source property to a BitmapSource. You can create the BitmapSource object from an Icon as shown below πŸ™‚

BitmapSource source = System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon
     Int32Rect.Empty, System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions());

this.MyImage.Source = source;

And you can see something similar,


Using ExtendGlass

16 12 2007


Few months back I wrote about my small library which helps to enable Glass effects in your WPF applications. Today lets see how we could really make use of it in order to get displays like – a portion of your window has glass effects and the rest dont. Best example to take is Windows Media Player


You should be aware that the WMP has the glass effects enabled at the bottom as seen in the above screenshot.

So how does our sample application going to look like? Below is the screenshot πŸ™‚


Not so bad, but we did achieve to have the upper portion without glass and rest with glass πŸ˜‰

So, what needs to be done to get something like this? Very simple,

1) Decide the margin M for which you are going to enable glass
2) Clip the part of the window W which you don’t want to enable glass to that margin M
3) Give a good background to that part of the Window W

In my above sample, below is the code where I enable the glass interface,

private void Window_SourceInitialized(object sender,EventArgs e)


      Thickness margin = new Thickness();

      margin.Top = 0;

      margin.Left = 20;

      margin.Right = 20;

      margin.Bottom = StackPanelTop.Width;

      ExtendGlassFrame extendGlass =

                new ExtendGlassFrame();

      extendGlass.Extend(this, margin);


Notice that I have set my bottom margin to my StackPanel’s width property. Its just some funky logic placed there πŸ˜‰

And the XAML looks like,

<StackPanel Name="StackPanelTop" Margin="20,0,20,50" Grid.Row="0"
        Background="Lavender" Height="100" Orientation="Horizontal" >
        <Button  Content="No Glass" Background="AliceBlue" Width="80" Height="25"
                HorizontalAlignment="Center"  Margin="9,0,0,0"/>
        <Button  Content="No Glass" Background="AliceBlue" Width="80" Height="25"
                HorizontalAlignment="Center" Margin="10,0,0,0"  />
 <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
       <Button  Content="Transparent!" Background="Transparent"
               Width="80" Height="25"/>
       <Button  Content="Transparent!" Background="Transparent"
               Width="80" Height="25"   Margin="10,0,0,0"/>

So, its some funky logic used here, but I wanted to show that having some logic for your User Interface, you could easily create wonders πŸ˜‰

My Office Live Workspace

15 12 2007


Yes, finally I received my mail yesterday that my Office Live Workspace is ready!

It wasn’t the same what I had expected. The first and foremost thing I expected was,

1) Online creation, editing of MS Office Word documents, Excel sheets and Office Presentations

If you think that is what you would get with Office Live, then you are wrong. Rather, MS Office Live Workspace is a place toΒ  upload your MS Office files, share them with your friends, and allow your friends too to edit them if needed. From thtir website,

Office Live Workspace is your online place to store, access, and share 1000+ documents.Β  Use it to distribute meeting notes, work together on group assignments, or simply store documents that you can access from any computer.


As you can see in the above image, you can have multiple workspaces and have documents,presentations etc., in them

If you ask me, what is there in creating workspaces, then you are wrong. There are many templates for workspace available for you to start with


So, if you choose Meeting Workspace


You can see the template created some documents, presentation and also to-do list πŸ™‚

All is nice so far. How do I edit these? Microsoft has released an Office Live plugin which enables the MS Office Suite to work with Office Live. You can grab it here . If you are using Vista, don’t forget toΒ  install the Offie Live Workspace update for Vista

Once you install the plugin, you can see the Office Live addition to the menu


You have to login to open or edit or save to Office Live workspace. The open dialog box takes you directly to workspace πŸ™‚


You canΒ  browse your workspace and open the documents you want

It works well with both Firefox and Internet Explorer 7. Please note that my screenshots were taken from Firefox πŸ˜‰

Please note that this is not similar to Google Docs or Zoho . This is integration of Office to the Online world. I am not a fanboy of creating documents online while surfing and I know my internet connection is not to be believed at all times. Yes, Yes, there is automatic saving, but still you don’t get the real thing that you get while working at your system offline.

Microsoft Office is a great productivity tool (especially Office 2007 suite) and this is a great addition to have with it πŸ™‚

You asked for it, and here it is :)

12 12 2007


As I had posted earlier that Vista SP1 RC will be available to everyone for download, Microsoft released it today πŸ™‚

You can grab the RC Windows Update script here

Believe it or not, Windows Update has been the best and easiest way to get Vista SP1. We beta testers have had good success installing SP1 Beta releases and RC via WU.


You may be required to install at least 3 updates before the Service Pack. After installing those pre-requisites, restart your machine (if required), wait for at least 10 mins or so and then check for updates again. You should be prompted for Service Pack update.


To discuss regarding SP1 and to submit bugs, please visit here

Integrating Microsoft Student Partners and .NET User Groups

12 12 2007

New Zealand is well known for its excellent .NET User Groups. And there are lot of activities going with the user groups especially in Auckland, Wellington and Christchurch. Down here in Dunedin, though the frequency of sessions is not regular, we do have/had good and exciting sessions.

The only thing I saw missing was involvement of Microsoft Student Partners. Yes, each University in New Zealand have Microsoft Student Partners and Microsoft Student Champions promoting, learning and supporting Microsoft Technologies. To be more clear, its not an advertising campaign by the Students, but a great opportunity for Students to get to know more about Microsoft Technologies and also have a good interaction with the local Microsoft Community.

So I discussed this with my Academic Advisor Ryan Tarak and also with Darryl along with Dunedin .NET User Group organizers – Beric and Nathan. The main point was, we Student Partners take regular sessions in the Universities on latest Microsoft Technologies, so why don’t we make this as regular .NET User Group sessions and involve students too. This was not happening, rather, the user group sessions where mostly people from local industrial people and enthusiasts.

Darryl, Beric and Nathan gave us the opportunity to merge Microsoft Student Partners and Dunedin .NET User Group and now we could see more participation of students in sessions. And the presence of industrial people boosts students to meet them, discuss regarding current trends, job opportunities etc.,,

This has been one of my goals after being elected as Microsoft Student Partner and am happy that I was able to do it along with other Microsoft Student Champions here. I also highly encourage MSPs in other cities to interact with their local .NET User Group and see what can be done.

Are you ready for the Road Trip :)

11 12 2007

winvista-button_rgb.jpgvs08_v_rgb_web.jpg ms_net_rgb_web.jpg

Daryl has announced the 2008 Summer Road Trip here in New Zealand showing off the cool products namely,

1) Windows Server 2008

2) Visual Studio 2008

3) SQL Server 2008

along with Chris Auld and Jeremy Boyd

And for Dunedin, its on Feb 18th πŸ™‚

I have already registered for the trip, why don’t you too πŸ˜‰