windows-store-apps-forums,building-windows-store-apps-with-c-or-vb-Related issues-Collection of common programming errors


  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi Experts,In  my WinRT app, i  need to get the state of Control key. I am using the following code.CoreVirtualKeyStates ctrl = Window.Current.CoreWindow.GetAsyncKeyState(VirtualKey.Control);But the state is always “None” instead of “Down” state. Please help me anybody.ThanksRamesh-Ramesh

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi,I have recently started writing a small Metro application using XAML and C# to help me learn the new APIs. I have encountered some fatal errors on what seem to be pretty basic functions.This is what my solution currently looks like. Shell (Metro application project)|– App.xaml|– MainPage.xaml Theme (Metro class library)|– Brushes.xaml Controls (Metro class library)|– CustomButton.cs The first thing I tried to do was add a SolidColorBrush in Brushes.xaml in the Themes p

  • msdn
    windows-store-apps-forums publishing-windows-store-apps
    My app was accepted under the Keep the Cash offer, and on MAY 3, I received the following Congratulations note that my app qualified for a reward:”$100 Virtual Visa® cardYou will receive an email within 10 business days providing further details on your Virtual Visa gift card. This offer will be fulfilled in the form of a Virtual Visa and is not redeemablefor cash. The Virtual Visa must be activated within 30 days of receiving the email activation code, will expire 6 months after issuance a

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi All,I’m getting the media failed event fired when ever I try to play an audio file from some of my Windows 8 machines. Other Windows 8 machines works well without any issues…The error I’m getting is:MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED : HRESULT – 0x8000FFFFHow/Where can I check this HResult code so that I can have a hint to the actual issue???Thanks,Rahul

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    I’m trying to implement license checking with the CurrentAppSimulator, by simply following the sample code from MSDN.The relevant code snippets are:AppLicenseDataSource.cs:namespace myApp.DataModel {class AppLicenseDataSource : INotifyPropertyChanged{public Windows.ApplicationModel.Resources.ResourceLoader loader = new Windows.ApplicationModel.Resources.ResourceLoader()public Windows.ApplicationModel.Resources.ResourceLoader loader = new Windows.ApplicationModel.Resources.ResourceLoader();public

  • msdn
    windows-store-apps-forums building-windows-store-games-with-directx
    I’m attempting to build a C Metro app that uses SwapChainBackgroundPanel.  I want to use Blend for XAML overlaysThe only example I have found so far that actually uses Blend is Simple3DGameXaml (the shoot at the rectangle targets app.)Looking at MainPage.xaml for the sample, it has a Page element, a bottom and top AppBar (not really relevant to the question), and a SwapChainBackgoundPanel.  The panel is placed as a child of the panel, just like a grid would be in a “normal WPF&quo

  • msdn
    windows-store-apps-forums publishing-windows-store-apps
    Hello, when i submit app into Store then i get this Failed with reason :Your app doesn’t meet requirement 3.6. Learn moreCommons reasons why apps fail this requirement: The app displays unexpected behaviors when the reviewer snaps and unsnaps the app.The app uses a button, gesture, or other user interface element to close the app.The app closes programmatically. The app doesn’t suspend and resume to a reasonable state. The app has an app bar, but the bar doesn’t show up with a bottom-up swipe. T

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi,I’m using a VariableSizedWrapGrid with two buttons inside. The first button is visible only in some situations so I hide it binding its Visibility to a viewmodel boolean property, using a converter to convert from bool to Visibility.The button is correctly collapsed but it still has the same size so I have an empty space in the grid.How can I hide the button and avoid the empty space?

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Error : DEP0700 : Registration of the app failed. error 0xC00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 25, Column 8, Reason: Element'{http://schemas.microsoft.com/appx/2013/manifest}VisualElements’ is unexpected according to content model of parent element ‘{http://schemas.microsoft.com/appx/2010/manifest}Application’.Expecting: {http://schemas.microsoft.com/appx/2010/manifest}VisualElements. (0x80080204)Should I upgrade the surface RT os to wi

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi,I’m building a Windows 8 Store app using c#/XAML using MVVM (no framework).  I’m using the CharmFlyoutLibrary for my application settings.  I have a parent/child settings configured. I have created a “getting started” page and I wouldlike to open the application settings flyout page/control open programmatically. I can get the Settings Pane to open easily enough. I have tried quite a few option for opening the application settings flyout directly but I can’t figu

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi Experts,In  my WinRT app, i  need to get the state of Control key. I am using the following code.CoreVirtualKeyStates ctrl = Window.Current.CoreWindow.GetAsyncKeyState(VirtualKey.Control);But the state is always “None” instead of “Down” state. Please help me anybody.ThanksRamesh-Ramesh

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi,I have recently started writing a small Metro application using XAML and C# to help me learn the new APIs. I have encountered some fatal errors on what seem to be pretty basic functions.This is what my solution currently looks like. Shell (Metro application project)|– App.xaml|– MainPage.xaml Theme (Metro class library)|– Brushes.xaml Controls (Metro class library)|– CustomButton.cs The first thing I tried to do was add a SolidColorBrush in Brushes.xaml in the Themes p

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi All,I’m getting the media failed event fired when ever I try to play an audio file from some of my Windows 8 machines. Other Windows 8 machines works well without any issues…The error I’m getting is:MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED : HRESULT – 0x8000FFFFHow/Where can I check this HResult code so that I can have a hint to the actual issue???Thanks,Rahul

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    I’m trying to implement license checking with the CurrentAppSimulator, by simply following the sample code from MSDN.The relevant code snippets are:AppLicenseDataSource.cs:namespace myApp.DataModel {class AppLicenseDataSource : INotifyPropertyChanged{public Windows.ApplicationModel.Resources.ResourceLoader loader = new Windows.ApplicationModel.Resources.ResourceLoader()public Windows.ApplicationModel.Resources.ResourceLoader loader = new Windows.ApplicationModel.Resources.ResourceLoader();public

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi,I’m using a VariableSizedWrapGrid with two buttons inside. The first button is visible only in some situations so I hide it binding its Visibility to a viewmodel boolean property, using a converter to convert from bool to Visibility.The button is correctly collapsed but it still has the same size so I have an empty space in the grid.How can I hide the button and avoid the empty space?

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Error : DEP0700 : Registration of the app failed. error 0xC00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 25, Column 8, Reason: Element'{http://schemas.microsoft.com/appx/2013/manifest}VisualElements’ is unexpected according to content model of parent element ‘{http://schemas.microsoft.com/appx/2010/manifest}Application’.Expecting: {http://schemas.microsoft.com/appx/2010/manifest}VisualElements. (0x80080204)Should I upgrade the surface RT os to wi

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hi,I’m building a Windows 8 Store app using c#/XAML using MVVM (no framework).  I’m using the CharmFlyoutLibrary for my application settings.  I have a parent/child settings configured. I have created a “getting started” page and I wouldlike to open the application settings flyout page/control open programmatically. I can get the Settings Pane to open easily enough. I have tried quite a few option for opening the application settings flyout directly but I can’t figu

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    I was wondering if there were any plans to support 3GPP and 3GPP2 video in MediaFoundation for Metro apps. I see that it’s enabled for WP7 and Silverlight developers, but there’s currently no love for the desktop. Is this going to change before the finalrelease of Windows 8?No matter where you go, there you are.

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    I see how you can wake the system in response to WiFi traffic over a socket from a background task during sleep mode. My question is if it is (or will be) possible to have a Bluetooth socket open in a background task capable of being triggered while thesystem is asleep in Connected Standby.

  • msdn
    windows-store-apps-forums building-windows-store-apps-with-c-or-vb-
    Hello,In my app I use HTTPS to connect to an external server. I don’t control the configuration of this server. Since a few days I have some requests that failed with this message:”Authentication failed because the remote party has closed the transport stream” (the callstack is below).I search a solution but a lot refer to the .NET managed stack not WinRT specially the”ServicePointManager.SecurityProtocol= SecurityProtocolType.Ssl3;” fix.I’m not expert in the SSL/TLs thing, i

Web site is in building