Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Daily WP Development News 6 July 2012

AddThis Social Bookmark Button

Converting StorageFiles (png) to a Byte[] in order to display as an Image in WinRT

AddThis Social Bookmark Button
source: When you are building Metro Applications it will be very common that your application will have image (.png) files stored in local isolated storage and that you will want to show these images to the users inside your application.  In this post i am going to walk you though how to access these stored files and how to show them inside your XAML application. Step 1: How to access the Storage File var packageLocation = Windows.ApplicationModel.Package.Current.InstalledLocation;  var assetsFolder = await packageLocation.GetFolderAsync("Assets");  StorageFile myImage = await assetsFolder.GetFileAsync("myFile.png"); .....Read more

Want to build a Windows 8 app? Here’s how… - MSDN UK Team blog - Site Home - MSDN Blogs

AddThis Social Bookmark Button
Want to build a Windows 8 app? Here’s how… - MSDN UK Team blog - Site Home - MSDN Blogs:

get your app ready with a bunch of support tools ranging from online training to Camps and App Excellence Labs.

have the Windows 8 Release Preview installed and running on your machine -
2) You have Visual Studio 2012 Express RC installed -

How to Capture Images w/ the WebCam in WinRT (C#) applications.

AddThis Social Bookmark Button
When building WinRT applications you will want to implement the ability to capture images/video’s from the onboard webcamera in order to use in your application.  Fortunately for you this is very easy to accomplish.  We will walk through how to do this in this post. Step 1: Enable access to the web camera The first thing you will need to do is to enable the ‘Webcam’ capability in your application.  If you do not do this you will see the following screen when trying to use the webcam API To enable this capability
do this Open the Package.appxmanifest Click on the capabilities tab Check the Webcam item in the list Step 2: Start to implement the Camera API, basic approach private async void CapturePicture() { var dialog = new CameraCaptureUI(); var file = await dialog.CaptureFileAsync(CameraCaptureUIMode.Photo); if (file != null) { // Do something useful w/ the file } } The code above is the least amount you...(Read whole news on source site)

If broad habitats in the UK were clustered…

AddThis Social Bookmark Button
Intrigued by Mark Easton’s question on Twitter, “How much of Britain is built on?”, and inspired the associated article, The great urban myth of Britain, I wanted to put the UK NEA‘s statement that “6.8% of the UK’s land area is now classified as urban” into some kind of context that actually made sense to [...]