Table of Contents
Introduction
Background
Basic knowledge on the API
Prerequisite
Setting up Project
Configure Application for Out-of-Browser Support
Configure Application for "dynamic" keyword Support
Play with the XAML
Create the basic UI
Create the Template for drive selector
Create the Template for folder browser
Implementing Code
Create the basic classes
Create Dependency Properties
Implementing GetDriveInfo() method
Implementing GetFolders() method
Implementing GetFiles() method
Integration of API calls to the page
What Next?
End Note
Introduction
You all know that, Silverlight 4 has the feature to talk with COM APIs. In my earlier posts I already mentioned various Interoperability functionalities of Silverlight. You can see some articles I have written here. In this article, I will show you how Silverlight can read your local files, folders and drives. At the end of this Article you will be able to open any file/folder/drive and read their attributes. Here I will demonstrate by creating a small application like Windows Explorer and reading all your drives and their contents
Read more: dot net spark
Introduction
Background
Basic knowledge on the API
Prerequisite
Setting up Project
Configure Application for Out-of-Browser Support
Configure Application for "dynamic" keyword Support
Play with the XAML
Create the basic UI
Create the Template for drive selector
Create the Template for folder browser
Implementing Code
Create the basic classes
Create Dependency Properties
Implementing GetDriveInfo() method
Implementing GetFolders() method
Implementing GetFiles() method
Integration of API calls to the page
What Next?
End Note
Introduction
You all know that, Silverlight 4 has the feature to talk with COM APIs. In my earlier posts I already mentioned various Interoperability functionalities of Silverlight. You can see some articles I have written here. In this article, I will show you how Silverlight can read your local files, folders and drives. At the end of this Article you will be able to open any file/folder/drive and read their attributes. Here I will demonstrate by creating a small application like Windows Explorer and reading all your drives and their contents
Read more: dot net spark