Multi-touch Madness Slides and Code

Posted January 13, 2010 9:52 AM Categories: .NET | Events | Multitouch | Surface | TVUG | Windows 7

image

Thanks to everyone who attended my TVUG session last night!  I have uploaded the slides and code for this session which can be downloaded here.  Note that you’ll need Visual Studio 2010 Beta 2 for most of the samples, and you will need to have the Surface Workstation SDK SP1 installed if you wish to run that sample.

Comments and questions are welcome, as always.  Thanks!

Multi-touch Madness at Tech Valley .NET Users Group

Posted January 8, 2010 2:44 AM Categories: Events | TVUG | Surface | Windows 7 | Silverlight | WPF | Multitouch

image For my fellow Capital District folks, I’ll be giving a session to the Tech Valley .NET Users Group (TVUG) this Tuesday, January 12, 2010 at 6:30pm all about everything you’ve ever wanted to know about multi-touch in Windows 7 and beyond!  Here are the details….

Multi-touch Madness!

Where: Versa Trans Solution, Latham, NY
When: Tuesday, January 12, 2010, 6:30-9PM
Who: Brian Peek, Microsoft MVP - C#

Overview: Multi-touch technology is popping up everywhere, most recently in Windows 7 and various .NET technologies.  Windows 7 has been designed from the ground-up with multi-touch in mind, and the newest versions of WPF and Silverlight are multi-touch capable as well.  In this session I will take you through the 4 biggest areas of Microsoft multi-touch technology: Windows 7, WPF4, Silverlight, and Surface.  You will learn how to make your applications multi-touch aware and capable using each of these platforms, and learn where multi-touch is heading in the future with regard to Microsoft development.

Slides and source will be posted to my site and/or the TVUG site after the session.

Hope to see you all there!

Windows 7 Launch Party in NYC

Posted October 23, 2009 6:05 PM Categories: Personal | Computing | Gaming | Events | Windows 7

win_logo I had the extreme pleasure of being invited to and attending the Windows 7 Launch Party in New York City on October 22nd.  I went down to the city with fellow MVP Bill Pytlovany, author of the popular WinPatrol security software.  You can watch a video of the entire launch below or at the official Windows 7 press site.  Be sure to watch to the end to get a glimpse of some super-awesome hardware that takes advantage of all Windows 7 has to offer.

All in all, It was quite a day, from getting a picture with Steve Ballmer himself to meeting segment producer and occasional on-screen Late Show with David Letterman character Brian Teta who was amazed I recognized him.  Mr. Ballmer was just on his way out of the bathroom only 15 minutes before show-time when Bill and I accosted him and begged for a picture.  Frazzled though he was, he agreed and Bill snapped this...

Ballmer and I

There were plenty of awesome pieces of hardware to play with, including a ton of high-power and super-light laptops, multitouch laptops, multitouch desktop monitors, all-in-one touch-screen PCs, and even an amazing setup of nVidia’s 3D Vision running Batman: Arkham Asylum on a large monitor, which I swear is the best consumer-level 3D experience I’ve ever seen, complete with wireless shutter glasses.  You may see a Coding4Fun article about those in the future, assuming I can convince someone to send me a set.  Again, be sure to watch the launch video above to the end to see a demo of many of these items and get a feel for what hardware is available now and in the near future.

And on the way out, everyone was given a goodie bag of Windows 7 items, including a copy of Windows 7 Ultimate Signature Edition, “signed” (i.e. embossed) by Steve Ballmer.

Goodie bagBadge and booksPuzzle and Playing CardsI'm a PC shirtLarge Win7 posterWin7 Ultimate Signature Edition

A fantastic day and I’m certainly glad I made the trip down to the city to take part in this.  I thank Microsoft and the MVP program for the invite and Bill for heading down with me and getting the pic of Ballmer and I.  I'm already looking forward to the next Windows launch.  :)

Windows Virtual PC and the Microsoft Device Emulator

Posted May 1, 2009 11:39 AM Categories: Windows 7 | Device Emulator | Virtual PC

Windows 7 (as of RC1) now supports a pretty spiffy new feature known as Virtual Windows XP or Windows XP Mode based on what article you read.  At its core, it is a new version of the Virtual PC product, now named Windows Virtual PC, installed closer to the OS, combined with a Windows XP hard disk image which allow you to run legacy applications under Windows XP on your Windows 7 machine in a pretty seamless way.

If you install the Windows Virtual PC add-on to Windows 7, you must first uninstall Virtual PC 2007.  By doing that, you remove the special network driver that is also required to use the Microsoft Device Emulator on the network.  The device emulator is typically used for Smart Device development.

So the puzzle:  The Device Emulator doesn’t work with the new Windows Virtual PC driver, and you can’t install the old version of Virtual PC 2007 and expect the new Windows Virtual PC to keep working.  What to do?

The answer is to extract the Virtual PC 2007 network service drivers out of the MSI package and manually install them in Windows 7.  So far this has provided the expected result for me:  Windows Virtual PC runs happily, and the Device Emulator now connects to the network.  So how do we do this?  Thanks for asking.  Here is a step-by-step guide to make this go.  Note that this is very much a “works on my machine” experience.  If it burns your house down, don’t hold me responsible.  Note that you should have a valid and complete backup before attempting this on your machine just in case…

  • Download the Virtual PC 2007 SP1 installer executable
  • Rename the installer from setup.exe to something else, such as vpc.exe
  • Open a cmd prompt, navigate to the setup executable, and run (assuming you renamed the file to vpc.exe):
    • vpc.exe /c
  • This will extract the executable to an MSI file at located in the %temp% directory
  • Change to the temp directory by running:
    • cd %temp%
  • In this directory, extract the MSI by running:
    • msiexec /a Virtual_PC_2007_Install.msi /qb TARGETDIR=c:\vpc
    • Of course, feel free to replace that directory with one of your choosing
  • This will extract the MSI file to c:\vpc (or the one you entered)
  • Open the Network and Sharing Center and select Change adapter settings
    adapter
  • Right-click the network adapter you have connected to the internet and select Properties
  • Click the Install… button
    install
  • Make sure Service is selected and click Add…
    type
  • Click Have Disk…
    disk
  • For x86 machines, navigate to:
    • C:\vpc\Program Files\Microsoft Virtual PC\Utility\VMNetSrv\
  • For x64 machines, navigate to:
    • C:\vpc\Program Files\Microsoft Virtual PC\Utility\VMNetSrv\x64
  • Select Virtual Machine Network Services and click OK
    vmns

At this point the driver will be installed and attached to that network adapter.  If you have the need to attach this to multiple adapters, simply repeat the steps above to install the service on each adapter required.

Once the driver is installed, you can then link the Device Emulator to the chosen adapter and connect to the network as always, as well as connect to the network in the new version of Virtual PC.

Let me know how it works for you!

My Info

  • View Brian Peek's profile on LinkedIn

Sponsored Ad

My Book

Sponsored Ad