Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Code4Fun Code4Fun
  • Wallpaper Changer App & Gadget

    Like many of you, I’ve got galleries of photographs on my PC. I’d like my desktop background to rotate through them automatically as I go through my daily activities. Being too lazy to open control panel, change my background by hand, and then go back to work, I wrote an application and a Vista gadget to do the work for me.

  • Microsoft Robotics Studio and Lego Mindstorms NXT

    Code for an article at Coding4Fun written by Brian Peek of ASPSOFT, Inc..

    Microsoft Robotics Studio and Lego Mindstorms NXT

    Build a simple robot and control it using an Xbox 360 Controller

    Code is available in C#, Visual Basic and the MSRS VPL language.

  • Using Optimus Mini Three with .net

    Even though the device is connected to an usb port the communication is done through a (virtual) serial port. The protocol specification is available in the developer section on Art.Lebedev Studio's website. There's also some c sample code available which proved to be very useful to build this class. The document lists the following commands to send data to the device:

    • Switch the device on and off
    • Send image data for a specific key
    • Show sent image for a specific key
    • Change the brightness
    There're two additional commands available, to read and write the internal id of the device. We're not going to use them for this article. They could be used if you've multiple devices connected to differentiate them.

    All the commands we're sending have a length of 197 bytes, the last byte being the checksum. The response to a command consists of two bytes: a 0 to tell us this is a command confirmation and as second byte the checksum. Ideally that checksum matches the one of the sent command - if not the data was somehow corrupted and we've to send it again.

    And the device is not just waiting until we send it something, it will also send something to us: the keys which are currently pressed - of course, wouldn't qualify as keyboard otherwise. These messages are also 2 bytes long, first byte being a 1 and the second byte is the 1-based index of the pressed key. We can get them anytime and very often - as long as one or more keys are pressed they're repeatedly send. When commands are send at the same time we get a mix of key messages and command confirmations.

  • Synthesized Podcasts for your Zune and iPod using SAPI

    The guide takes you on your new speech-enabled adventure, as you'll learn to mix text with speech into a simple program that synthesizes XHTML transitional blog posts into the Wave format - for your iPod - using SAPI 5.3 and encodes them into the Windows Media Audio format - for your Zune - using Windows Media Encoder 9 Series API. In the end, you'll be able to make podcasts having just a standard plain text RSS 2.0 feed; plus, you'll be able to play them on at least two of the most popular media players available on the market.

    Bio

    Paul-Valentin Borza is in its second year of study at the Babes-Bolyai University of Cluj-Napoca, Faculty of Mathematics and Computer Science. Since 2005, he is involved in the Microsoft Student Partners - Microsoft Academic Program Romania. He can be reached through his web site at www.borza.ro.
  • Wiimote Controlled Car

    Code for an article at Coding4Fun written by Brian Peek of ASPSOFT, Inc..

    Wiimote Controlled Car

    Control an R/C car using a Nintendo Wiimote

    Code is available in C# and Visual Basic.

  • Screensaver Mashup of Facebook, Flickr and Twitter using Visual C#

    Flitter combines the functionality of Facebook, Twitter and Flickr using Visual C# to create a screensaver.

    You can view it over at Coding4Fun's blog.

  • Control Windows Media Center using a Windows Mobile 5 Device

    This article demonstrates how to use a smartphone running Windows Mobile 5 to remotely control a host machine running Windows Media Center.  I will describe how to create an add-in application that runs within Windows Media Center.  I will also describe how to create a Windows Mobile 5 application, and use it to communicate with the Media Center add-in using sockets over a wireless internet connection.  Finally, I will demonstrate how to use this implementation to manipulate Media Center using the Windows Media Center API.

    Article text is here.
    Code can be downloaded here.

  • Coding4Fun: WhoIsLooking ASP.NET Control

    This ASP.NET control displays a list of who is looking at a particular web page. The control uses Javascript and Ajax to update the list of viewers in real time.

    The download includes both C# and VB.NET source code and a test website for trying out the control.

  • Intro to XNA Part 3: Advanced sound and Text

    In this article, The ZMan changes the TinyTennis game to create variable pitch sound and finally adds the scores back in.

    This code accompanies this coding4fun article

  • Coding4Fun - SweetSpot - The Beginnings of a Glucose Meter Downloader

    This is the C# code to support the Coding4Fun Article "SweetSpot - The Beginnings of a Glucose Meter Downloader" by Scott Hanselman