Microsoft advertising/Adcontrol in a c++ game?

Hi everyone!,
I've made a game in c++ with the cocos2d-x game engine.
Now I want to add some ad in the game.
I've read the doc on MSDN (https://msdn.microsoft.com/fr-fr/library/advertising-mobile-windows-phone-ads-walkthroughs-81-xaml-markup(v=msads.20).aspx)
but the tutorial is for a c# program 
I wonder if it is possible to add some ad with the microsoft pub center inside a C++ program?
Did someone have ressource about it?
Thanks!

I found something similar but it's old VS and doesn't work, anyway this is my goal sort of.
bool[] usedPictures = new bool[pictures.Length];int iCount = 0;
Random random = new Random();
while (iCount < pictures.Length)
int attempt = random.Next(0, pictures.Length);
//Ensures you will only use an available picture
if (usedPictures[attempt] == false)
picBox[attempt].Image= pictures[iCount];
doorUsed[attempt] = true;
iCount++;

Similar Messages

  • How to solve 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names.

    Hi,
    I am developing windows store 8.1 app. I need to perform unit testing of my app . When I add the project (to be tested) to unit test
    library project by using Add reference I am getting these errors:
    Error
    5
     The .winmd file 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names. Type 'Microsoft.Advertising.WinRT.UI.AdControl'
    is already registered with the in-process server 'CLRHost.dll'.
    UnitTestLibrary
    Error
    6
     The .winmd file 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names. Type 'Microsoft.Advertising.WinRT.UI.AdSettingsFlyout'
    is already registered with the in-process server 'CLRHost.dll'.
    UnitTestLibrary
    Error
    7
     The .winmd file 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names. Type 
    I found a blog here . I tried it but i coudn't see the xml file in this path C:\Program
    Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\MSAdvertisingXaml\6.1\SDKManifest.xml
    I found the file in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\MSAdvertisingXaml\8.1 . But when i tried to update it is displaying an access denied  message  

    Hi Alok,
    Thank you for posting in MSDN forum.
    Based on your issue, to check if the issue is related to the specified unit test or the VS IDE issue. I suggest you can refer the following document to re-create a simple new unit test with windows store app and then add the windows store app as reference
    to the Unit test project check this issue.
    https://msdn.microsoft.com/en-us/library/windows/apps/jj159318.aspx
    (1)If you did not get same error message in the new unit test project, I doubt that maybe you did not reference the windows store app successfully. So please refer the above document to reference it again check this issue.
    If you still could not reference successfully, please share me the mainly code for the windows store and unit test project.
    Or you could share me your solution include the reference project and unit test project.
    You could upload your sample to the OneDrive and then copy link here.
    (2) If you get same error message in the new unit test, I suggest you could try to repair or re-install the VS IDE and then check this issue again.
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I add advertisement code into flash game?

    hi mates,
    just want to ask about loading advertisement code!
    How do you add the advertisement code (adsense) into flash games??
    my site Funny Games have over 5k games but they are getting from others sites thus I have no original files. How can I add more code into the current files?

    Unless the games were pre-made to allow you to specify some variables in the page code or some external file, you won't be having any luck... you cannot add code to the games unless you have the source files, which you apparently don't have.

  • Can't fetch Microsoft's advertising references

    Greetings,
    I'm having a problem which I'm finding unable to solve.
    I have a problem with Ad Mediation, I'm trying to add this feature to my app but I can't fetch references for microsoft advertising.
    I was not able to figure out any way how to make it work.
    I even reinstalled it.
    The error is: AM007: We couldn't add the requied references
    Thanks

    As pasted from the Q&A:
    I am using this inside of a UserControl, whenever I navigate forward and back to one of the pages that contain it, the page instances do not get released as discovered in the memory profiler.
    I am using Microsoft, Google, and AdDuplex as providers.
    I am 100% sure that this is what's keeping the page instance in memory as once I remove it, the problem is gone.
    Then...
    I have isolated the control entirely by removing it from a UserControl and placing it in one single place within my app. After navigating back from the page it is on, the reference to that page is kept and the memory leaks begin.
    I also removed Google completely and tried with just Microsoft and AdDuplex

  • AdControl is not 'clickable'

    Hi everybody,
    I published a universal game app which contains an ad using the Microsoft AdControl. Everything works fine with the Windows 8.1 version: If I tap or 'click' on the ad firefox displays the homepage associated with the ad. On the tablet the screen splits to
    show the homepage in the internet explorer.
    However if I 'click' on the ad banner in the Windows Phone 8.1 version of the app simply nothing happenes. I did enable "Internet (Client and Server)" in the Package.appxmanifest file.
    What can I do to get the internet explorer launched on my Nokia 1020?
    Many thanks in advance and holiday greetings from Germany,
    Jens

    Hi Olivia,
    you can very easily reproduce the error:
    (1) In Visual Studio 2013 Professional Update 3 create a new C++ DirectX- and XAML universal app "DirectXApp1". Note: I have it all in German so I am not sure about the exact translation of the template.
    (2) In the Reference Manager add "Microsoft Advertising SDK for Windows Phone 8.1 (XAML)".
    (3) Add the bold lines to "DirectXPage.xaml" of "DirectXApp1.WindowsPhone":
    <Page
        x:Class="DirectXApp1.DirectXPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:DirectXApp1"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:UI="using:Microsoft.Advertising.Mobile.UI"
        mc:Ignorable="d">
      <SwapChainPanel x:Name="swapChainPanel">
            <UI:AdControl x:Name="ad" AutoRefreshIntervalInSeconds="60"
                ApplicationId="b28b4c7f-2836-439f-9a52-ffd26c7553d3"
                AdUnitId="195987"
                IsAutoRefreshEnabled="True"
                VerticalAlignment="Top"
                HorizontalAlignment="Left"
                Width="320"
                Height="50"
                Margin="10,94,0,0"/>
            <TextBlock Text="Hello from XAML!"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Top"
                   FontSize="30" />
      </SwapChainPanel>
      <!-- Kommentierung dafür aufheben, wenn die App-Leiste in Ihrer Telefonanwendung verwendet wird.
      <Page.BottomAppBar>
            <CommandBar>
                <AppBarButton Icon="Play" AutomationProperties.Name="Sample Button"
                                AutomationProperties.AutomationId="SampleAppBarButton" Click="AppBarButton_Click"
    />
            </CommandBar>
        </Page.BottomAppBar>-->
    </Page>
    (4) Compile "Device / Release / ARM" and start the app on the device.
    (5) This is what I see on my device (Nokia 1020):
    (6) The ad will display on top of the 3D sample but - unfortunately - clicking it will
    not launch the internet explorer on the phone and it will
    not display the page of the advertiser.
    I very much appreciate your help at this time of the year...
    Merry Christmas and all the best for you in the new year '2015'!   :-)
    Best regards,
    Jens

  • Ads in unity game for WP8.1

    Hi guys , I made a 2D game in Unity 5 and I want to add Ads in the game but dont know how to do that.I am a bigginer :) 

    Steps to integrate Microsoft Advertising SDK to Unity project.
    1. Open Windows Phone project which is exported from Unity, add Microsoft Advertising references (please refer to https://msdn.microsoft.com/en-US/library/advertising-mobile-windows-phone-8-adcontrol-visual-designer(v=msads.20).aspx) 
    2. Open MainPage.xaml file, update the LayoutRoot as below.
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <DrawingSurfaceBackgroundGrid x:Name="DrawingSurfaceBackground" Loaded="DrawingSurfaceBackground_Loaded"/>
            <UI:AdControl Grid.Row="1" ApplicationId="test_client" AdUnitId="Image480_80" Width="480" Height="80"/>
        </Grid>
    3. In Solution Explorer, Open Properties\WMAppManifest.xml, in "Capabilities" tab, make sure following capabilities are chosen.
    ID_CAP_IDENTITY_USER
    ID_CAP_MEDIALIB_PHOTO
    ID_CAP_NETWORKING
    ID_CAP_PHONEDIALER
    ID_CAP_WEBBROWSERCOMPONENT
    4. Build and run in emulator or device, the ad should be shown.
    References:
    1. Test mode Values: https://msdn.microsoft.com/en-US/library/advertising-mobile-windows-phone-test-mode-values(v=msads.20).aspx
    2. Required Manifest Capabilities: https://msdn.microsoft.com/en-US/library/advertising-mobile-windows-phone-manifest-capabilities(v=msads.20).aspx

  • Microsoft Word 2012 scam app on store

    I just noticed a "Microsoft Word 2012" app on the app store while browsing AppShopper. I checked it on the store and it is obviously a scam. How did this app even make it to the store? I don't see how an app advertised as "All features of the MAC version on your device", but obviously does not  makes it onto the store. I see that they creatively spelled MAC in all capital letters, as in MAC address, for example, and not Mac.
    I also read on a app-dedicated website that not only this, but a "Cydia" scam app appeared on the store recently. Some readers responded to the article with the same concerns. Someone said that they are going to call Apple about this.
    Are these scam apps going to become a problem with the App Store? Are they being caught fairly quickly?

    Yeah, but that only works for apps that you've bought. Things like 'Microsoft Word' from 'Super Real Racing Games' for $9.99 is a pretty obvious scam, yet I can't report it.
    These articles do a great job of outlining the problem and the possible solutions:
    http://impending.com/2012/02/2012-the-year-scam-apps-killed-the-app-store/
    http://appadvice.com/appnn/2012/02/rampant-app-store-fraud-indicates-changes-in- apples-review-policy

  • AdControl error: HTTP error status code: NotFound (404)

    For over a week now, a Silverlight WP 8 app with an AdControl configured for "test_client" continues to report this error and thus no bing ad visible either while running from an emulator (8.1 512) or from a WP 8 device. If I change the AdUnit
    to use a PubCenter ID it works fine on the device and ads are displayed. The emulator connects to the Internet just fine via IE.
    Could the ad server not be responding to the "test_client"?
    Could someone let me know if it has worked recently for them? I tried contacting MS and no one seems to have an app configured with the test ad... I could give MS so many helpful suggestions. But looking at the hundreds of un-answered posts here - I
    suppose they're busy with Windows 10...and have they asked developers if they're willing to put up everything on the cloud? all the while people still waiting to see the 'start' button on Windows 9?
    here's the trace
    Ad Err: NetworkConnectionFailure,Microsoft.Advertising.Shared.AdException: HTTP error status code: NotFound (404) ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned
    an error: NotFound.
       at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Advertising.Shared.HttpRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Advertising.Shared.WebRequestWrapper.WebRespCallback(IAsyncResult result)
       --- End of inner exception stack trace ---
    I do love Windows - don't get me wrong - I'll check my 2nd dev system soon.

    Hi Ravi,
    Reward points if this helps
    The J2EE server might be overburdened and cannot accept the call. The 'Receive'servlet is not called. You will find further details on the HTTP status code definitions under "http://www.w3.org". Check the accessibility of the server by calling: http://<hostname>:<port>/MessagingSystem/receive/AFW/XI.
    The Listener Beans of the affected connection (AFW, Marketplace, BC,see above) were not registered or the log-specific Event Handler was not found.
    Check out this trouble shooting guide for SAP XI...Section 7.4.4.4 talks about exactly the same problem:-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Reward points if this helps
    Regards
    Pragathi.

  • Sun java script to support games sites

    which javascript do i need to support game sites such as pogo?
    i had sun javascript when i had windows 95, had very few problems.
    about a week ago ,i replaced win 95 with win98, since then , nothing but problems.pogo games especially rely on players to have sun javascript to be able to play the games.
    i know there is conflict between sun and microsoft, but why should we as customers of both to be left in a proverbial limbo?
    we cannot have the games without microsoft, and we cannot play the games witout sun javascript.
    are we just pawns to the computer industry because of greed?
    i do not understand why sun has not responded, when i inquired for the information i asked for, requesting which javascript i need to enjoy the puter games i play.
    should someone respond to this, please do so in terms a newbie can understand, computer language is way too cofusing for someone who was born over 60 years ago, and has only had a computer for about a year.
    confused no end here.

    matthew-martin wrote:
    Why SHOULDN'T the question be posed here on what you say is a JAVA forum? First of all pogo and java each are holdoing one end of the proverbial "stick". It doesn't matter who doesn't talk to who, btoh are at fault because neither wants to go through the trouble to facilitate the other. I myself was a happy pogo camper until Java (JRE) upgraded and at the same time IE8 beta 2 came out and also upgrades were made to IE7 also.
    So why shouldn't a little heat be put on SUN and it's java monster for upgrading BEYOND the capabilities of IE and pogo....and microsoft as a whole.
    Because the problem is POGO not Java.
    If you pump gas at the gas station and the gas is actually water do you expect the car manufacter to fix your car?
    And if they gave you the car for free would you expect them to fix it then?
    By the way if you want to pay Sun to fix your computer I am certain that Sun Sales would be happy to start negotiating a contract.
    bottom line sun...java...and their subsidiaries, as smart as they are.....figuratively made parts for a machine that hasn't been invented yet. That my friends is where the problem lies.
    Fact....older versions of JRE work better with many gaming communities, but the new ones are needed to support the big corporate programming contracts. Try running an older version for games...or even remove JRE from your pc and install the older MS VM instead.
    Then don't upgrade.
    Face it...we in the gaming community are just pee-ons and our complaints don't rate compared with the need to develope platforms which can be sold to the institutions with the deepest pockets.
    SUN/JAVA....you're getting a bad "rep".
    whatch...this post will be quaranteened in a heartbeat!You want to play POGO and because it doesn't work you going to stop programming in Java?
    Do you play games written in other languages? Have you read of the compatibility problems and upgrade problems with them? Do you expect all game programming to stop because every language has a problem with some people?

  • Bit of DO Sharing with Microsoft Windows

    Have you seen the Microsoft advertisements that use thekeyword "DO"                       ?  isn't that great !   -Windows sharing DO with lenovo Those Who DO. 

    knihT, Thanks for taking the time to share your thoughts! Have you upgraded to Windows 10 yet?

  • WP8.1 Silverlight App Ads, Obj ref not set to instance....

    I have an adcontrol on my WP8.1 Silverlight App. Whenever the app goes into landscape, I get the following error, captured in the adcontrol's "erroroccured" event. If my phone starts the app and the phone is in the portrait up position, this error
    does not occur, but if I turn my phone, after my items are repositioned, I get the error(Object reference not set to an instance of object).
    P.S. I am currently using this test unit:            Image300_50, test_client 
    Start Error------
       at Microsoft.Advertising.Mobile.UI.AdvertisingWebBrowser..ctor(Double controlWidth, Double controlHeight, Boolean isClickable, Boolean showProgressBar, WebBrowserPool objectPool)
       at Microsoft.Advertising.Mobile.UI.AdvertisingWebBrowser..ctor(Double controlWidth, Double controlHeight, String html, WebBrowserPool objectPool)
       at Microsoft.Advertising.Mobile.UI.BannerAdFrameManager..ctor(BannerAd ad, Int32 adWidth, Int32 adHeight, Size maxSize, StackPanel parent, WebBrowserPool objectPool)
       at Microsoft.Advertising.Mobile.UI.AdFrameManager.CreateAdFrameManager(IAdvertisement ad, StackPanel parent, EventHandler`1 richMediaActionEventHandler, Thickness expandedAdMarginPx, String rendererOptions, Double width, Double height, Double scale,
    Size maxSize, EventBroadcaster eventBroadcaster, WebBrowserPool objectPool)
       at Microsoft.Advertising.Mobile.UI.AdControl.VerifyAndDisplayAd(IAdvertisement ad)
       at Microsoft.Advertising.Mobile.UI.AdControl.RefreshAdInternal()
    End Error-------
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

    Hi Paul,
    I would like to reproduce your issue. Can you share the code or XAML how your ad was placed in your page?
    Thank you,
    Sean Zhang
    From Ad SDK team
    Seems I deleted that project when I started the new one.
    I was using the Canvas.SetLeft/SetTop methods and the RenderTransform(with RotateTransform) property of the ad control. It is also notable that I used the Canvas.SetZIndex method
    When the phone was shifted into a Landscape orientation, the ad would throw the error. If I started the app with the phone shifted into a PortraitUp position, there was no error.
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

  • AdMediatorControl blocked by the app bar

    I generated windows phone 8.1 app with universal with app studio and replaced generated AdControls with AdMediator.
    I tested everything with all simulator resolutions and with my physical device Lumia 1020 but then I get messages from Ad Duplex that my ad control is sometimes blocked by the app bar with 5" display on 1280x720 resolution.
    Any tips what could be wrong?
    How can I even test this with visual studio?
    MainPage.xaml
    <Page xmlns:WindowsPhone81="using:Microsoft.AdMediator.WindowsPhone81"
    x:Class="AppStudio.Views.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppStudio.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vm="using:AppStudio.ViewModels"
    xmlns:ads="using:Microsoft.Advertising.Mobile.UI"
    mc:Ignorable="d">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="0"/>
    <RowDefinition Height="*"/>
    <RowDefinition Height="80"/>
    </Grid.RowDefinitions>
    <Grid.ChildrenTransitions>
    <TransitionCollection>
    <EntranceThemeTransition/>
    </TransitionCollection>
    </Grid.ChildrenTransitions>
    <Hub x:Name="Container" Grid.Row="1" Background="{StaticResource AppBackground}" DataContext="{Binding}" HeaderTemplate="{StaticResource PageHeaderMargin}" SectionsInViewChanged="OnSectionsInViewChanged">
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="khl.ru новости" DataContext="{Binding MainViewModel.KhlRuModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/KhlRuDataSource.json, Type=vm:KhlRuViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource KhlRuList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="Facebook" DataContext="{Binding MainViewModel.FacebookModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/FacebookDataSource.json, Type=vm:FacebookViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource FacebookList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="Twitter" DataContext="{Binding MainViewModel.TwitterModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/TwitterDataSource.json, Type=vm:TwitterViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource TwitterList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="Youtube" DataContext="{Binding MainViewModel.YoutubeModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/YoutubeDataSource.json, Type=vm:YoutubeViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource YoutubeList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="KHL tagged @Instagram" DataContext="{Binding MainViewModel.KHLTaggedInstagramModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/KHLTaggedInstagramDataSource.json, Type=vm:KHLTaggedInstagramViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource KHLTaggedInstagramList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    </Hub>
    <WindowsPhone81:AdMediatorControl x:Name="AdMediator_MainPage"
    Id="AdMediator-ID-138351"
    Grid.Row="2"
    HorizontalAlignment="Center" />
    </Grid>
    <Page.BottomAppBar>
    <CommandBar Visibility="{Binding MainViewModel.AppBarVisibility}" ClosedDisplayMode="Minimal" Background="{StaticResource AppBarBackground}" Foreground="{StaticResource AppForegroundColor}">
    <AppBarButton x:Uid="TextToSpeechButton" Visibility="{Binding MainViewModel.SelectedItem.TextToSpeechVisibility}"
    Command="{Binding MainViewModel.SelectedItem.TextToSpeechCommand}">
    <AppBarButton.Icon>
    <BitmapIcon UriSource="ms-appx:///Assets/AppBar/TextToSpeech.png"/>
    </AppBarButton.Icon>
    </AppBarButton>
    <AppBarButton x:Uid="RefreshButton" Visibility="{Binding MainViewModel.SelectedItem.RefreshVisibility}"
    Command="{Binding MainViewModel.SelectedItem.RefreshCommand}">
    <AppBarButton.Icon>
    <BitmapIcon UriSource="ms-appx:///Assets/AppBar/Refresh.png"/>
    </AppBarButton.Icon>
    </AppBarButton>
    <CommandBar.SecondaryCommands>
    <AppBarButton x:Uid="AboutButton" Label="about" Command="{Binding MainViewModel.AboutCommand}"/>
    <AppBarButton x:Uid="PrivacyButton" Label="privacy" Command="{Binding MainViewModel.PrivacyCommand}"/>
    <AppBarButton x:Uid="ShareItemButton" Label="share item" Visibility="{Binding MainViewModel.SelectedItem.ShareItemVisibility}" Command="{Binding MainViewModel.SelectedItem.ShareItemCommand}"/>
    </CommandBar.SecondaryCommands>
    </CommandBar>
    </Page.BottomAppBar>
    </Page>
    Link to the app
     

    Have you tried to add a blank row?
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="0"/>
    <RowDefinition Height="*"/>
    <RowDefinition Height="80"/>
    <RowDefinition Height="5"/>
    </Grid.RowDefinitions>
    <Grid.ChildrenTransitions>
    <TransitionCollection>
    <EntranceThemeTransition/>
    </TransitionCollection>
    </Grid.ChildrenTransitions>
    <Hub x:Name="Container" Grid.Row="1" Background="{StaticResource AppBackground}" DataContext="{Binding}" HeaderTemplate="{StaticResource PageHeaderMargin}" SectionsInViewChanged="OnSectionsInViewChanged">
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="khl.ru новости" DataContext="{Binding MainViewModel.KhlRuModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/KhlRuDataSource.json, Type=vm:KhlRuViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource KhlRuList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="Facebook" DataContext="{Binding MainViewModel.FacebookModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/FacebookDataSource.json, Type=vm:FacebookViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource FacebookList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="Twitter" DataContext="{Binding MainViewModel.TwitterModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/TwitterDataSource.json, Type=vm:TwitterViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource TwitterList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="Youtube" DataContext="{Binding MainViewModel.YoutubeModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/YoutubeDataSource.json, Type=vm:YoutubeViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource YoutubeList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    <HubSection HeaderTemplate="{StaticResource HubHeader}" Width="360" Header="KHL tagged @Instagram" DataContext="{Binding MainViewModel.KHLTaggedInstagramModel}"
    d:DataContext="{d:DesignData Source=/Assets/Data/KHLTaggedInstagramDataSource.json, Type=vm:KHLTaggedInstagramViewModel, IsDesignTimeCreatable=true}"
    ContentTemplate="{StaticResource KHLTaggedInstagramList}" IsHeaderInteractive="{Binding HasMoreItems}" />
    </Hub>
    <WindowsPhone81:AdMediatorControl x:Name="AdMediator_MainPage"
    Id="AdMediator-ID-138351"
    Grid.Row="2"
    HorizontalAlignment="Center" />
    </Grid>
    Best Regards,
    Please remember to mark the replies as answers if they help

  • MSI KT3 Ultra-ARU video lock-ups

    Hello,
        I have a 3 month old MSI KT3 Ultra-ARU.  I am running Windows XP Professional and I am having a periodic lock-up where the screen will show blinking colored blocks and the system will freeze.  Sometimes just hitting reset will cure the problem.  Other times, hitting reset will create two vertical stripes of colored blocks scrolling down the screen.  I have used the board on two entirely separate systems (One with AMD Athlon 2000+, Gainward GeForce 4200, 512 MB Samsung 2700 DDR, Western Digital Expert HD (tried both IDE #1 and RAID controller) (Other System, Athlon 1800+, a different Gainward Geforce 4200, 256 Crucial 2700 DDR, an older Maxtor hard drive).  In either system, every once in a while, the system will freeze as described above (it has happened in Netscape 7.0, Microsoft Word 2000, America's Army game).  
         I have played around with the bios settings, reformatted hard drives, tried various revisions of the nvidia display drivers, swapped out video cards, etc.  Any ideas?  Do I have a bad board?  Do I need to flash the BIOS?  If the board is bad, what do I need to do to return it?
    Thanks,
    Matt Gumaer

    The second system has a 330 watt enermax power supply.  With the new system I put together, I put virtually the same board (MSI KT3 Ultra 2 with bluetooth and RAID), everything is the same as my first system (except the KT3 Ultra-ARU) and the stability is fine.  So, I'm reasonably confident its not the power supply.

  • Visual Studio takes long time to start up

    When starting Visual Studio on my machine it used to take a few seconds to start up and be ready to either open or create a new project. Recently however I am finding that it is hanging - stuck on "Updating the News Channel"  and "Connecting
    to " Visual studio Online. It remains unresponsive until these actions are completed.  I have a fast internet connection and a fast computer with solid state drive.  I have not experienced any issues browsing using IE or using other applications. 
    Is there any suggestion that can help improve this situation?
    This is the version and installed packages.  I am using Windows 8.1 Professional 64Bit
    Microsoft Visual Studio Professional 2013
    Version 12.0.31101.00 Update 4
    Microsoft .NET Framework
    Version 4.5.51650
    Installed Version: Professional
    LightSwitch for Visual Studio 2013   06177-004-0446034-02169
    Microsoft LightSwitch for Visual Studio 2013
    Team Explorer for Visual Studio 2013   06177-004-0446034-02169
    Microsoft Team Explorer for Visual Studio 2013
    Visual Basic 2013   06177-004-0446034-02169
    Microsoft Visual Basic 2013
    Visual C# 2013   06177-004-0446034-02169
    Microsoft Visual C# 2013
    Visual C++ 2013   06177-004-0446034-02169
    Microsoft Visual C++ 2013
    Visual F# 2013   06177-004-0446034-02169
    Microsoft Visual F# 2013
    Visual Studio 2013 Code Analysis Spell Checker   06177-004-0446034-02169
    Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
    Windows Phone SDK 8.0 - ENU   06177-004-0446034-02169
    Windows Phone SDK 8.0 - ENU
    Application Insights Tools for Visual Studio Package   1.0
    Application Insights Tools for Visual Studio
    ASP.NET and Web Tools   12.4.51016.0
    Microsoft Web Developer Tools contains the following components:
    Support for creating and opening ASP.NET web projects
    Browser Link: A communication channel between Visual Studio and browsers
    Editor extensions for HTML, CSS, and JavaScript
    Page Inspector: Inspection tool for ASP.NET web projects
    Scaffolding: A framework for building and running code generators
    Server Explorer extensions for Microsoft Azure Websites
    Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
    ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
    For additional information, visit
    http://go.microsoft.com/fwlink/?LinkID=309563
    ASP.NET Web Frameworks and Tools 2013   5.2.21010.0
    For additional information, visit http://www.asp.net/
    Common Azure Tools   1.3
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
    GenerateUnitTest   1.0
    Generates unit test code for methods in classes under test.
    Microsoft Advertising SDK for Windows Phone 8  
    Microsoft Advertising SDK for Windows Phone 8
    Build
    Microsoft Azure HDInsight HQL Service   1.0.0000.0
    Language service for Hive query
    Microsoft Azure HDInsight Tools for Visual Studio   1.0.0000.0
    An integrated development environment for HDInsight application development.
    Microsoft Azure Mobile Services Tools   1.3
    Microsoft Azure Mobile Services Tools
    Microsoft Azure Tools   2.5
    Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.5.21104.1601
    Multilingual App Toolkit   3.1.1250.0
    Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration.
    http://go.microsoft.com/fwlink?linkid=245767
    Node.js Tools   1.0.30109.03
    Adds support for developing and debugging Node.js apps in Visual Studio
    Node.js Tools - Profiling   1.0.30109.03
    Profiling support for Node.js projects.
    NuGet Package Manager   2.8.50926.663
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit
    http://docs.nuget.org/.
    Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
    Microsoft Office Developer Tools for Visual Studio 2013 ENU
    PowerShell Tools   1.3
    Provides file classification services using PowerShell
    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    Python Tools for Visual Studio   2.1.21008.00
    Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
    Python Tools for Visual Studio - Django Integration   2.1.21008.00
    Provides templates and integration for the Django web framework.
    Python Tools for Visual Studio - Profiling Support   2.1.21008.00
    Profiling support for Python projects.
    SQL Server Data Tools   12.0.41012.0
    Microsoft SQL Server Data Tools
    Visual Studio Tools for Unity   1.9.8.0
    Visual Studio Tools for Unity
    Web Essentials 2013   2.5.3
    Adds many useful features to Visual Studio for web developers.
    Windows Phone 8.1 SDK Integration   1.0
    This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
    Workflow Manager Tools 1.0   1.0
    This package contains the necessary Visual Studio integration components for Workflow Manager.

    Hi Sal_S,
    >>Recently however I am finding that it is hanging - stuck on "Updating the News Channel"  and "Connecting to " Visual studio Online. It remains unresponsive until these actions are completed.
    What does "Updating the news Channel" mean? You mean that open the VS IDE, and then some links or videos showed in the start page.
    Maybe you could change some settings in your VS IDE under TOOLS->Options.
    As you said that the VS hanging when it connected to VSO, one idea is that you could post an issue to the VSO forum:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=TFService
    In addition, for the performance issue, we would think about many elements.
    For example, the machine configurations, run the VS for a long time(we often restart the VS), the temp files(clean them), or the add-ins or extension tools (you could disable them), the third party processes in your task manager which make the CPU is high
    or others.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • So... how much RAM can my Macbook actually take? How to upgrade?

    Hi all. I have a Macbook I purchased around May of 2011. It's the last of its kind to be released before the Macbook was discontinued in July of 2011. I have Snow Leopard and I'm considering upgrading to Mountain Lion because I heard that World of Warcraft no longer supports Leopard, and Snow Leopard is next in line to be dropped. Problem is I only have 2GB of RAM, and while it's treated me well so far, I'd like to upgrade. I've read that my Macbook can take only 4GB through Apple, but I've heard it can take 8GB from other sources. Can I take the safe route and only install 4GB and be okay? I only use my Macbook for web surfing, iTunes, Microsoft Word, and occasionally WoW or games on Steam. So far I can play WoW and Flash games without any issues with 2GB of RAM, but I don't know if that will change when I upgrade to Mountain Lion.
    I know where to buy the proper RAM, but I don't feel comfortable installing it myself. I know Apple won't install third party RAM, so that's out unless I buy Apple (and I wouldn't mind, but I don't know how much it costs.) Where can I take it? Will Geek Squad at Best Buy do it? Or should I just buy from Apple and have them install it? Should I take the "safe" route and get 4GB of RAM or try 6GB? Will 6GB hurt my computer?

    The last MacBooks produced can use 8 GB RAM and you can upgrade them to the latest version of OS X. Purchase memory from OWC / MacSales or Crucial.
    Installing memory is a do it yourself project but if you are not comfortable with that then have an Apple Authorized Service Provider do it for you. Next best choice is to have a competent computer repair shop perform the installation.
    I wouldn't have Best Buy wash my car.

Maybe you are looking for