Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group
Microsoft released Windows 7 last year which has lots of functionalities including a nice UI. Among those features one of the most user friendly feature is Pin/Unpin application to Taskbar. You can develop WPF or Windows Forms applications in which you can implement this feature. But do you know that this is also possible in Silverlight? Yes, Silverlight 4 has the power to talk with any other application using the COM API. You can read one of my earlier article [Silverlight 4: Interoperability with Excel using the COM Object].

Silverlight 4: Interoperability with Windows 7 Taskbar using COM

 

In this Article I will show you how we can talk with the Windows 7 Taskbar. Read the complete Article and provide your feedbacks or suggestions.

Published by on under .Net | Interoperability
image Microsoft launched their Expression Studio 4 today (7 June 2010), as expected. It includes Sketch Flow, Expression Encoder, Expression Web and Expression Design. This release comes with the Upgrade version. If you already have the licensed copy of Expression Studio 3, it will auto update to Expression 4 and you need no new license.

You can download it from Microsoft Expression Studio site.

Please note that, if you are developing in Silverlight for Windows Phone 7 and want to use Expression Blend, don’t install this version of Expression Studio. Continue working with the Expression Blend 4 Beta and the Windows Phone 7 CTP Tools for developers. Once the Windows Phone SDK releases, there will be service pack for Expression Studio.
Published by on under ExpressionBlend | ExpressionStudio
Sometimes we write the following code while working with EventHandler and that may create some problems. I will discuss this later on. Let us see the code:


                private void RaiseOperationComplete(EventArgs e)
                {
                    if(OperationComplete != null)
                    {
                        OperationComplete(this, e);
                    }
                }



In the above case, suppose two thread subscribed to the same OperationComplete handler and one unsubscribed the event. In such scenario the OperationComplete event will become null and for the next thread due to the event is null it will not execute. This happens mainly in multithreaded applications but you can't guarantee for single threaded application too.

So what to do? How can we make sure that our application will not come into such situation and work properly?

Published by on under .Net | Silverlight

Silverlight 4 has the capability of accessing the COM object using the COM API. You can access any program installed in your PC using those APIs in Silverlight. You can open Notepad, Word, Excel or Outlook from Silverlight application.

 

Here I will demonstrate you the step-by-step tutorial on opening an Microsoft Excel book followed by data sharing between the Silverlight application and the Excel Sheet. Here we will use a DataGrid which will load some customer information. Then we will pass the data to the Excel Sheet and then we will modify the data in the external application (i.e. inside the Excel sheet). You will see that, the modified data will reflect automatically to the Silverlight Application.

Published by on under .Net | C# 4.0
In this article, I am going to discuss with you regarding the Drag and Drop functionality inside a Silverlight ListBox control. This article will also cover the Drag and Drop operation between two ListBox control. We will use here the Silvelright 4 Toolkit to implement the feature.


Drag & Drop functionality is not present in Silverlight ListBox by default. Hence, there was a big problem implementing the feature. We had to write a huge code for this feature. But using Silvelright Toolkit you can do it very easily. You can download the Silverlight 4 Toolkit from the CodePlex Silverlight Toolkit site.

Published by on under .Net | Silverlight
Silverlight BusyIndicator is not a new thing in Silverlight. It was first added in Silverlight 3 Toolkit in November 2009 release (if I am not wrong). In this post I will describe about this for those who wants to know about it.

So, What is this Busy Indicator? Busy indicator is a tool which you can add in your Silverlight application to show a loading indication to your user while saving some sort of operation in database. Generally it is useful when you calling your WCF Service to store something in server or retrieving some data from server.

Published by on under .Net | Silverlight
You all know that Visual Studio 2010 is now available in its RTM version. There are lots of features available in Visual Studio 2010. In this tip, I will talk about the incremental search functionality available inside it, which is very useful in day to day life of coding.

So, what is the incremental search? Incremental search is a mechanism in Visual Studio 2010 by which you can search and focus on the searched keyword without any UI blocking from the user end. You don’t have to open the find dialog while searching for a specific keyword in your editor window. Interested to know how it works?

Published by on under .Net | Tips
In my last chapter i.e. "Silverlight Tutorials Chapter 2: Introduction to Silverlight Application Development" we discussed on how to create a new Silverlight project, the structure of the project solution and later in this chapter we discussed on UserControls and various ways of development. After reading that chapter you are now comfortable to create Silverlight application and UserControls for your application.

Today I am publishing the 3rd Chapter i.e. "Introduction To Panels". In this Chapter I will describe about different Panels available in Silverlight. After reading this chapter you will be familiar with various types of Silverlight Panels. As this tutorial is mainly targeted for Silverlight 4, hence you will find some panels unavailable in the earlier versions of Silverlight.


Published by on under .Net | Silverlight
Silverlight 4 now came up with the support of Command Binding. Using Command binding you can easily develop your Silverlight MVVM (Model-View-ViewModel) applications where your view will not know about data. In this article, I will describe you the Command binding feature in Silverlight 4 Step-by-Step.

In this example, I will create a Customer View which will load the customer information from the code behind once we click the button “Load Customers”. The button will have a command associated with it to load the records instead of loading on click event. This ensures that the view will have less code & no relation with the data.

Published by on under .Net | Silverlight
Hope, you read my first chapter of the Silverlight Tutorial “Silverlight Tutorials Chapter 1: Introduction to Silverlight”. In that post, we learned about the very basic informations on Silverlight, it’s System Requirements, pre-requisite to create a Silverlight application, XAP file, XAML file and hosting a Silverlight application.

In this chapter we will first discuss on how to create a new Silverlight project and the structure of it. Later in this chapter we will discuss on UserControls and various ways of development. After reading this chapter you will be able to create a HelloSilverlight application and UserControls for your application.

Published by on under .Net | Silverlight
Couple of days ago, I started working on writing Silverlight Tutorial for Beginners on request of Mr. Sheo Narayan (Web Master) from DotNetFunda.com. I was busy for last few days to publish it online. I was really excited for it. Today, I am announcing my first Chapter of the Silverlight Tutorial for the public view. It will be a continuous process to complete the full tutorial. Please keep an eye for the next publication.

Please don't forget to provide your comments or suggestions.

In this chapter of the tutorial, you will learn about the very basic information on Silverlight i.e. what is Silverlight, what is the System Requirements for installing Silverlight and the pre-requisite to create a Silverlight application. After reading this chapter you will come to know about XAML, XAP file, Application XAML and how to host a Silverlight application.
Published by on under .Net | Silverlight
Silverlight 4 now has support for installing out-of-browser application silently. If you are new to Silverlight Out-of-Browser application development, you can read the complete guide in “How can you implement the Silverlight 3 Out Of Browser feature?” Also have a look into the following article to get the basic understanding of Silverlight 4 Out Of Browser feature “Silverlight 4: How can I create customized OOB Window?

Hope, you read my previous articles on the Out of Browser application development and have confident building application. In those articles you have seen that I wrote code for installing the OOB application from browser window. Now imagine some scenarios where you want to install the Silverlight application (XAP) using your Installer silently without the user interaction. How can you do that? Silverlight 4 now came up with that feature for you. In this article I will describe it and after reading it you will be able to install your Silverlight OOB Application (XAP) silently in your local drive and can run it from the desktop or startmenu without opening the browser.

Published by on under .Net | Silverlight
Silverlight 4 is going to be launch today, the 13-April at 8:00 AM PST by Scott Guthrie. Come and join the Launch of Silverlight 4.

There he will provide updates on the progress made in Silverlight 4 and will provide the details of availability of the developer tools, runtime and other news. After the live event Channel 9 will be hosting interviews with Scott and other key members of the Silverlight and Expression teams. Don't miss the opportunity to see it online.
Published by on under News | Silverlight
It was a great start today in the morning when I checked my mailbox and found one mail from the webmaster of DotNetSpark.com congratulating me as the “Member of the month – March 2010” for my work contributed to the community. Here is the first couple of lines from the mail:
Dear Kunal,
Congratulations!! You are our monthly Winners for the month of March, 2010!!!
www.DotNetSpark.com proudly announces you as the monthly winner(March, 2010) for your sincere and tremendous contributions at
www.dotnetspark.com.
This is the consecutive second day of the month when I received such Award. Giving my thanks herewith to the DotNetSpark team for the honour given to me. Thank you.

Published by on under Achievements | Awards
It was the Sunday morning, when I received the mail from the webmaster of DotNetFunda.com mentioning the subject line “Winner of the month – March 2010”. I was really surprised that I have been selected as the Winner for contributing Articles to the DotNetFunda.com site. I am really very pleased that, my articles are helping people to learn more about .Net, Silverlight and WPF.

I am very thankful to all who encouraged me to write articles. Also, I will give a lots of thanks to the team who selected me as the Winner. Thank you DotNetFunda.

Published by on under Achievements | Awards

As you all know that, the Out-Of-Browser (OOB) functionality in Silverlight is not a new feature. It is available since Silverlight 3. Microsoft added the trusted application behaviour in Silverlight 4 Beta. In addition to this, they introduced one more additional functionality called “Chromeless OOB WIndow” i.e. “Customized OOB Window” in Silverlight 4 RC (Release Candidate). In this article, I will guide you to create a simple customized OOB Window Application in Silverlight 4 RC. After the end of this tutorial, you will be able to create a Customized OOB Window in Silverlight 4 which will look similar to this.

 

Read the Complete Article @ DotNetFunda.com

Published by on under Silverlight | Web
image

Today morning I came across one news that, one of my another article on “Tips & Tricks: Customizing Visual Studio 2010 Start Page” came as “Articles of the Day” in Microsoft’s official WPF site: WindowsClient.net. I am really thankful to the entire team who gave my articles such honour.

 

Read the Original Article @ DotNetSpark.com.

Published by on under Achievements | News