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

Duncan Mackenzie

Duncan Mackenzie Duncanma "yeah that's awful close, but that's not why I'm so hard done by"

Niner since 2006

Developer for the Channel 9 team, formerly worked on MSDN as a developer, content strategist and author.

See more posts…

  • Announcing MSDN Profile Integration

    @Maddus Mattus:Thanks for letting us know about the links, we are getting that fixed, hopefully resolved during the day tomorrow.

    As for turning it on by default, that wasn't the original plan, but we decided that very few people would notice the option and enable it if we left it off to start with. And since we are a Microsoft site, and the contents of your MSDN profile are all publically visible across a set of other Microsoft sites, that linking this together for everyone by default would be nothing but a positive for our users. Having said that, if someone doesn't want this, it is very easy to turn off without even having to go to your profile page... the toggle button is right in the hover box.

    Let me know what you think about the feature and this decision, either here or via email, thanks

  • Channel 9 now has a Windows 8 app!

    @DeathByVisualStudio: It wasn't that hard I think to get the mouse wheel scrolling working (it is horizontal scrolling that was needed. I think you would get vertical scrolling for free as expected), but we didn't notice until after this version was published.

  • TWC9: VS Ultimate Roadmap, MVC/Web API/Razor Open Source, WP SDK 7.1.1 and more

    @Kiko:I've updated the MP4 for the current episode (the one after this) to use a new style of MP4 encoding that I'm hoping will solve your problem. Is it possible to check if this file works for you? http://media.ch9.ms/ch9/ec79/2142e550-6e84-4d7b-bdc0-bfb5f551ec79/MP4Test2.mp4

  • TWC9: VS Ultimate Roadmap, MVC/Web API/Razor Open Source, WP SDK 7.1.1 and more

    @Kiko: Which file (the MP4, MP4 Medium, MP4 High Quality)? And are you streaming it (clicking on the link on the site) or downloading it and then trying to play it? And what version of the Android OS are you using?

  • Smooth Streaming Test Post

    GeoCoordinateWatcher myWatcher = new GeoCoordinateWatcher();
    private void button1_Click(object sender, RoutedEventArgs e)
    {
    
    // Added lines of code
    myWatcher.PositionChanged += new EventHandler<GeoPositionChangedEventArgs<GeoCoordinate>>(myWatcher_PositionChanged);
    myWatcher.Start();
    
    myLongitudeTextBlock.Text = myLatitudeTextBlock.Text = myPositionTextBlock.Text = "";
    }
    
    void myWatcher_PositionChanged(object sender, GeoPositionChangedEventArgs<GeoCoordinate> e)
    {
    var myPosition = myWatcher.Position;
    myWatcher.Stop();
    
    double latitude = 0;
    double longitude = 0;
    
    if (!myPosition.Location.IsUnknown)
    {
    latitude = myPosition.Location.Latitude;
    longitude = myPosition.Location.Longitude;
    }
    
    myLatitudeTextBlock.Text = string.Format("Latitude: {0}", latitude);
    myLongitudeTextBlock.Text = string.Format("Longitude: {0}", longitude);
    
    
    myTerraService.TerraServiceSoapClient client = new myTerraService.TerraServiceSoapClient();
    client.ConvertLonLatPtToNearestPlaceCompleted += new EventHandler<myTerraService.ConvertLonLatPtToNearestPlaceCompletedEventArgs>(client_ConvertLonLatPtToNearestPlaceCompleted);
    client.ConvertLonLatPtToNearestPlaceAsync(new myTerraService.LonLatPt { Lat = latitude, Lon = longitude });
    //throw new NotImplementedException();
    }
    
    void client_ConvertLonLatPtToNearestPlaceCompleted(object sender, myTerraService.ConvertLonLatPtToNearestPlaceCompletedEventArgs e)
    {
    myPositionTextBlock.Text = e.Result;
    //throw new NotImplementedException();
    }
    
    
    

  • Camera Fundamentals

                //using (ColorImageFrame colorFrame = e.OpenColorImageFrame())
                //{
                //    if (colorFrame == null)
                //    {
                //        return;
                //    }
    
                //    byte[] pixels = new byte[colorFrame.PixelDataLength];
                //    colorFrame.CopyPixelDataTo(pixels);
    
                //    int stride = colorFrame.Width * 4;
                //    image1.Source =
                //        BitmapSource.Create(colorFrame.Width, colorFrame.Height,
                //        96, 96, PixelFormats.Bgr32, null, pixels, stride);
    

  • Smooth Streaming Test Post

    ';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//-->">'>

  • TWC9: Win8, VS11, Metro, Windows Phone SDK v7.1.1, TouchDevelop and more

    @mfisher: what file are you downloading?

  • Minute of Mango: Custom Ringtones

    @BrentMorrisRTP: There is for me, using the released version of Zune (v4.8 I think). What you may find is that the list of GENREs only includes what it can find in your collection. You can enter a custom value though, instead of just picking from the list, so if you type in "Ringtone" on one file, that will show up in the list from then on.

  • Operators, Expressions and Statements Duration - 07

    @Lotfinejad: They are all working for me... which specific link is failing for you? Two troubleshooting ideas:

    1. Can you do a tracert to video.ch9.ms to see what the results are?
    2. Can you try hitting the same link, but media.ch9.ms instead of video.ch9.ms?

    Thanks

See more comments…