Showing posts with label Playing Media Files in .Net Compact Framework 2.0. Show all posts
Showing posts with label Playing Media Files in .Net Compact Framework 2.0. Show all posts

Monday, October 05, 2009

Editing NTFS Drive Contents on Mac OS

In Mac OS if you mount a disk formatted in NTFS file system, you will be able to view the contents and even to copy contents from that disk (Read) but you will not be able to save, delete or paste (Edit) anything.
To enable editing in the disk you will be needing to install the NTFS driver.
If you are searching for a driver, download NTFS-3G Stable Read/Write Driver from NTFS-3G.

Thursday, February 08, 2007

Visual Studio 2005 not adding reference dlls to the deployment project

Recently I did face a problem when I created the setup for my Pocket PC application. My application had several projects and each project is supposed to add a dll to the setup. The problem was when I build the project it didn't add the reference dlls to the setup but only added the main application.

Later I found the solution for this which was to remove the main project output from the deployment project then go to debug mode and add the main project back again to the deployment project. The when the project is rebuilt all the dlls will be included properly.

Monday, October 02, 2006

Playing Media Files in .Net Compact Framework 2.0

I have seen many people asking how to play media files in device applications. Here I am playing media files using Windows Media Player.



This is the ProcessHandler class which imports Coredll Dll and uses it's CreateProcess to create a seperate process with the required application.


This is the main form which has a button to start the Player, then it will ask the user to browse for a media file to play.


The ProcessHandler.CreateProcess function can be used to start any application which is installed in the device by simply replacing the 'WMPlayer' by the required application qualified name (IExplorer).