DCSIMG
Visual Studio 2010,WPF - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » Visual Studio 2010 » WPF (RSS)
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-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 – 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...
Test Case Migrator Between Projects – WPF Metro
Test Case Migrator Between Projects – WPF Metro This is a common question I keep hearing from customers: Question: How can we copy Test Cases \ Shared Steps from one Team Project to another? Answer:  You can manually duplicate item after item in visual studio but this isn’t a good solution if you have lots of Test Cases to copy. So, to solve this problem I built a tiny little tool to help you accomplish this task. This tool contains 4 steps: Getting Started: 1. Connection Connect to TFS, pick...
Extending Visual Studio Setup Project – Part 2
Extending Visual Studio Setup Project – Part 2 In my last post on that subject Extending Visual Studio Setup Project – Part 1 I showed how to create and use the basic features in Visual Studio Installer, this is the second part and more advanced. Download Demo Project Run External Application during Setup In this step I’ll show how to run an external application before the actual install process using “Installer Class”. Create new WPF Application project called – “SetupHelper” and add additional...
Extending Visual Studio Setup Project – Part 1
Extending Visual Studio Setup Project – Part 1 One of the thing I hear all the time when companies talks for building reliable Windows Installer (MSI) for their product is –> Visual Studio Setup Project is not enough and we need much much more, my first response is – Wait, VS Setup project is not like Advanced Installer , InstallShield but still can do a lot more outside the box. Setup projects are used to create Windows Installer (.msi) files, which are used to distribute your application for...
Sela - “Web Test Manager” Announcement in ALM Summit
Sela - “Web Test Manager” Announcement in ALM Summit As you may know – Sela is a gold sponsor in ALM Summit ( http://www.alm-summit.com/almsummit/sponsors.aspx ), during the summit we revealed our latest developments for TFS/VS 2010 and Microsoft Test Manager. WIMBI – Merge By Work Item Scrat – Quality Center 2 TFS 2010 Migration *NEW* - “Web Test Manager” – Web Access For "Microsoft Test Manager” ” Web Test Manager” – Will allow Testers, Developers and each and every one on the Team to Write...
TFS API Part 31 – Working With Queries – Part 2
TFS API Part 31 – Working With Queries – Part 2 In my last post TFS API Part 30 – Working With Queries I demonstrate a simple API example for getting Queries from TFS 2010, in this sample I’ll show how to run Queries and display the results, Deleting and Creating new Folder using TFS API. Download Demo Project Step 1: Add Results Using WorkItemStore object and call the Query method you can set the results directly to DataGrid. void item_MouseDoubleClick( object sender, MouseButtonEventArgs e) {    ...
TFS API Part 30 – Working With Queries
TFS API Part 30 – Working With Queries TFS 2010 comes with new abilities for Queries that allows you to define Hierarchy and Direct Links (Read More - Work Item Relations (Visual) ). This is the first post on that subject and this will show how to interact with TFS 2010 Queries – Filter, View and Create New using TFS 2010 API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: using Microsoft.TeamFoundation.Client; using...
More Posts Next page »