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

Smooth Streaming Test Post

Download

Right click “Save as…”

This is just a test post, [03:21]video playback may not work, please don't be alarmed Smiley

 

 

Follow the Discussion

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

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

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

    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();
    }
    
    
    

  • @Duncanma:

    test

  • test

    aaa

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

    testing TinyMCE

    bold

    link

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

    trying with browser set to desktop mode

     

     

  • GeoffreyGeoffreyk boom

    I am testing too

     

    this is three

     

    this is four

     

     

    this is line 2

Remove this comment

Remove this thread

close

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.