Writing your First Windows Phone 7 Application - Day 1 - Part 3

Download this episode

Download Video

Description

This video demonstrates how to use Visual Studio 2010 Express for Windows Phone to add Silverlight controls to a new project. It also covers how to write C# code that executes and displays a simple message on the phone emulator's screen when a user clicks a button in your application. Later, Bob will answer the questions, "why did we do that?" and "how does this work?" in order to give you a deeper look into the significance of each step he took along the way.

Download Source Code in c# 

Download Source Code in VB.Net

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Eric_​Jones_dot_c​om

      Great Video series so far. Please, please keep the videos coming.

    • User profile image
      Mintydog

      Very good video, thank you. I'm a beginner to Silverlight and Windows Phone 7 and videos like this are a great way to get stuck in.

    • User profile image
      GonzoJr

      If you get an error about screen unlocking, you may have installed a real WP7 to sync on your dev machine.

      You'll have to register for a dev account on the App Hub; $99.  Then using the tools on your dev machine register your actual phone using the following link.
      http://msdn.microsoft.com/en-us/library/ff769508(VS.92).aspx">http://msdn.microsoft.com/en-us/library/ff769508(VS.92).aspx

       

      Also try to point the Visual Studio debug/run project to the emulator using the tool located under the phone dev folder. "Application
      Deployment" tool located in C:\ProgramData\Microsoft\Windows\Start
      Menu\Programs\Windows Phone Developer Tools 



    • User profile image
      Mustapha

      I'm very glad to see all this stuff free. This could be the generation for man's technological breakthrough. Please keep it up.

    • User profile image
      Jesse

      Where can I download all the videos together, instead on downloading individual links.
       
      _Jesse

    • User profile image
      Jat

      very nice ...all things clear like rainy water

    • User profile image
      Lance Seidman

      I am glad I am watching these videos to learn how to do it... Trying to make some app's!

    • User profile image
      Juan

      @GonzoJr:Where in Visual Studio can I configure the emulator so that it allows me to debug the application?

    • User profile image
      cage

      Hi,
      As I run the application, im getting an error " Zune software is not installed". so i tried to install it, now its saying "zune software is not launched" I dont see the connection between the zune software and windows phone development software working together.  need help! 

    • User profile image
      maverick

      when i full screen the video, the text is becoming blurred and 'm unable to read it. could you please do something about it? thank you.

    • User profile image
      cage

      hahaha, i am such a dork...all i needed to do was click window simulator...DUH!, runs good now.

    • User profile image
      AdamWheatley

      When debugging, I get an error that says, "RPC server is unavailable." I checked in services and it's running. I'm using Vista. Any ideas?

    • User profile image
      minompi

      Great starting video! Thanks a lot

    • User profile image
      minh luu

      for heaven's sake, please upload a 480p of your streaming tutorial video! i can't make out anything on that tiny video screen. i don't want have to wait to download the video to see it properly. thank you.

    • User profile image
      Sarah

      [quote]
      Feb 09, 2011 at 2:40 PM
      When debugging, I get an error that says, "RPC server is unavailable." I checked in services and it's running. I'm using Vista. Any ideas?
      [/quote]
      I'm having the same problem!

    • User profile image
      Gama

      um so I saw that Cage had the same error as I did when I tried to debug the application, [quote] As I run the application, im getting an error " Zune software is not installed". so i tried to install it, now its saying "zune software is not launched" I dont see the connection between the zune software and windows phone development software working together. [/quote] and Cage answered his own question later saying [quote] hahaha, i am such a dork...all i needed to do was click window simulator... [/quote] I don't see any "window simulator" button or program whatsoever, so what exactly do I do to fix this error?

    • User profile image
      Gama

      so um...nevermind I figured it out haha

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.