DCSIMG
WPF - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » WPF (RSS)
WinRT Toast Notification From Desktop Application
The post title maintained Toast Notification but after reading this post we'll be able to perform API calls to WinRT from your Desktop application. As you know WinRT exposing API’s for three developer languages: C#, C++ and JavaScript, this means that from each language you’ll be able to perform WinRT calls. The idea is based on Windows Metadata File (winmd) that expose those APIs that can be consumed across a variety of technologies and languages. Download Demo Project So why not using those...
WPF WebBrowser – How To Disable Sound
Tweet Today I’m working on a editor application for JavaScript and HTML5 using WPF WebBrowser, when working with the browser control I noticed that each time I reload the page or click some links there is an annoying sound. Because my application is reloading the page very frequently I had to disable the WebBrowser sound. In order to do that I used CoInternetSetFeatureEnabled   (Enables or disables a specified feature control.), I’ve made a simple test application to demonstrate this feature...
Kinect Reception – Tech Stuff
Tweet In my previous post Kinect Reception–Introduction I’ve talked about Kinect Reception and What it is, in this post I’m going to talk more about How the Reception Application works. Using Kinect events I can see when user enters the frame, using two timers I can check if the user is just passing by or is standing in front of the camera. The below image describe the application flow, at the beginning the application will show random videos, when the Kinect Skeleton Event will raise then the Serious...
Kinect Reception–Introduction
Tweet Since Microsoft has released the Kinect.NET SDK I wrote many articles on that subject: Kinect – Getting Started – Become The Incredible Hulk Kinect – Calculator – Adjust Skeleton Movements To Mouse More on Kinect I think Kinect it very cool and I’m searching for more projects and good ideas for Kinect, couple of days ago I talked with my friend Guy Burstein and he came with an idea for Kinect application, he said what if people will enter the Microsoft Israel reception and instead of video...
Kinect-Could not load file or assembly 'INuiInstanceHelper.dll’
Tweet If you’re playing with Kinect you might have saw the following error messages: "Could not load file or assembly 'INuiInstanceHelper.dll' or one of its dependencies. The specified module could not be found." “The invocation of the constructor on type “Some.Window” that matches the specified binding constraints threw and exception.’ Line number ‘4’ and line position ‘9’.” I’ve tried to Uninstall Kinect SDK, perform restart and try to install it while I make sure all Visual Studio...
Create Your Own WP7 Deployment Application
CodeProject Couple of days ago Microsoft opened AppHub for Israel as well, I’ve started to write more game and applications for WP7 ( WP7 Submit Application - The [NeutralResourceLanguage] attribute is missing on the entry assembly ). While working on several applications I noticed that I want to see the application properties before deploying them inside my WP7 device, when working in Visual Studio 2010 It’s easy because you can deploy your project from Visual Studio himself but I’m also working...
Kinect – Calculator – Adjust Skeleton Movements To Mouse
CodeProject In my previous post Kinect – Create Buttons I’ve showed one approach how to create Kinect Buttons for Windows, over the next posts I’ll show more ways to accomplish that by moving windows Cursor based on Kinect Skeleton Right Hand Position. Why To Create Kinect Button? Why not using windows cursor and create brilliant hand or head ( ) movement to simulate Click, so we don’t need to create designated Kinect Buttons. Answers: You had to stand at least 1 meter from the computer screen and...
Sela Dev Days - MTM, Automation and Load Testing Lectures
CodeProject Yesterday I had the pleasure to give a Full day lecture about Microsoft Test Manager, Unit Tests, Web Test, Coded UI Test and Load Testing. We started with a short talk about ALM and ways to improve your development and Testing process using Agile, CMMI and Scrum, then we apply this to how should we work with Microsoft Test Manager with different methodologies (Scrum etc) to create better Test Coverage and better experience for Tester and Developer alike. After we played with Microsoft...
Kinect – Create Buttons
CodeProject In my previous posts about Kinect I’ve showed how to get started, how to change Angles and more cool stuff, but now it’s time to start working on the real things, how to enable Kinect to your environment, I’m talking about PC. You may say Kinect is not yet perfect and the precision of the Skeleton Tracking system isn’t 100% accurate, and if you have to stand at least 1 meter from the screen how you will be able to see something from that distance? even more how to perform a Click? (Raise...
Kinect – Getting Started – Become The Incredible Hulk
CodeProject In my last two posts I’ve talked about Kinect SDK from Kinect .NET SDK–Getting Started and Kinect – Getting Started – Control Camera Angle , but now it’s time to do some cool things with the Kinect Sensor. Now I’ll show you how to become The Incredible Hulk using Skeleton Tracking. Download Demo Project One of the big strengths of Kinect for Windows SDK is its ability to discover the skeleton of joints of an human standing in front of the sensor, very fast recognition system and requires...
Kinect .NET SDK–Getting Started
CodeProject Today Microsoft (16/06/2011) released the Kinect .NET SDK, I’ve seen it first from Guy Burstein and right away I had to download it and give it a try, and it’s Amazing!!! As you can see from the picture below I did a simple demo for getting started using Kinect SDK and I’ll go step by step on how to get start using Kinect .NET SDK for Video (NUI), over the next post I’ll also talk about Audio with Kinect. Download Demo Project Step 1 – Prepare your environment In order to work with Kinect...
Wifi Network Backup Manager Utility
After couple of years I was too lazy to do it, each time I format my computer or want to copy Wifi networks between my machine to another I faced a problem, there is easy way to copy network profiles so I’ve created a simple utility that allows you to Save and Load Wifi Network Profiles, using Native Wifi API through P/Invoke interop. [ DllImport ( "wlanapi.dll" )] public static extern int WlanGetProfile( [ In ] IntPtr clientHandle, [ In , MarshalAs ( UnmanagedType .LPStruct)] Guid interfaceGuid...
WP7 - Data Between Pages – Part 1
WP7 - Data Between Pages – Part 1 In my last post about WP7 I talked about The Mask Way– Rating Control and More , but before I’ll jump to more cool stuff let’s start from the basics. How to transfer data between pages? How to shared data for the entire WP7 application? And of course how to retaining data across instances? Download Demo Project This is the first post of two about Passing Data Between Pages in WP7. Query String Query string is the part of a Uniform Resource Locator (URL) that contains...
WP7 The Mask Way– Rating Control and More
WP7 The Mask Way– Rating Control and More In the last couple of months since Microsoft has release the WP7 I’ve started to build games and apps in XNA and Silverlight. Regarding building games, it’s different then building applications, especially in UI … and most of the developers don’t like dealing with UI, but UI doesn’t have to be so scary and I’ll start this post with a nice and simple technic I learned when I worked with Photoshop called “ Masking ”. The first example I’ll take from the first...
Metro Style Now Available For Download
Metro Style Now Available For Download Couple of weeks ago I post about a new tool I’ve built  Test Case Migrator Between Projects – WPF Metro , I gave this tool couple of Design Hours based on Microsoft Metro Style (Not Out Yet…). Since than I got lots of requests to publish this Style and also I got lots of compliments so here it is!   App.xaml   Full Project
More Posts Next page »