windows-8

Win8: Registration of the app in the layout folder … failed

懵懂的女人 提交于 2020-01-03 14:13:08
问题 Noob warning. I'm really new to Windows dev tools. I've got the latest Win8 RC installed, and got VS 2012 RC for it as well. Now I'm trying to create a Metro-style application (C#), but running into problems when executing tests from VS. The error message is: Error : DEP0700 : Registration of the app in the layout folder "C:\<FOLDER>" failed. error 0x80070005: Failed to set access rights to \\?\C:\<FOLDER> Failed to activate Metro style unit test executor. Error : The parameter is incorrect.

App Shortcut without pinning to Start Screen in Windows 8 using C++

只愿长相守 提交于 2020-01-03 09:08:53
问题 Our company has an installer written in C++ that creates program shortcuts using IShellLink as described in: http://msdn.microsoft.com/en-us/library/windows/desktop/bb776891%28v=vs.85%29.aspx On Windows 8 all shortcuts created in the Start Menu will also show as titles on the Start Screen. What we're looking to do is programmically control which icons are shown on the Start Screen. In the following article it describes the option "System.AppUserModel.StartPinOption" as: To create add an app

Launching the Windows Store listing from Win RT / Windows 8 app

倾然丶 夕夏残阳落幕 提交于 2020-01-03 03:59:33
问题 On Windows Phone there's a marketplace review task. Is there any way to implement the equivalent functionality in WinRT apps? I realize that there's the "rate and review" button in the Charms bar, however, this is not what I need, as I want to integrate a button inside the app to launch the review UI. It may seem trivial, however, this is one of the most important requirements! This is not a duplicate of is there an equivalent of wp7's marketplacereviewtask for windows 8 / winrt / metro style

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

 ̄綄美尐妖づ 提交于 2020-01-02 18:55:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

扶醉桌前 提交于 2020-01-02 18:54:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

谁说我不能喝 提交于 2020-01-02 18:54:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

Reuse animations in Windows 8

▼魔方 西西 提交于 2020-01-02 08:39:08
问题 I am building Windows Store Application (Winrt, Metro, Windows 8 app). I try give images in gridview animation: after image is loaded from web and opened it populates its cell. I have storyboard for that: <Storyboard x:Name="PopupImageStoryboard"> <DoubleAnimationUsingKeyFrames EnableDependentAnimation="True" Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="image"> <EasingDoubleKeyFrame KeyTime="0" Value="100"/> <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="240"/>

Filtering a GridView in Windows 8

孤街醉人 提交于 2020-01-02 08:11:52
问题 I currently have a GridView where the ItemsSource is set to an ObservableCollection. Updates to the underlying data are reflected in the UI without any effort on my part. Things are working well. What is the cleanest way to apply a filter to the ObservableCollection so that only certain items are displayed? Ideally I don't want to actually remove items from the ObservableCollection, nor do I want to maintain two distinct collections because it will make keeping things in sync more challenging

Network checking in WinRT(C# implementation)

孤街浪徒 提交于 2020-01-02 07:52:08
问题 How we can check the status of network in windows 8 metro application. ie the availability of different networks(3g,4g, wifi etc) 回答1: Try this method, I think this is the simplest form of checking network availability in windows 8. http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/d8e76732-19d3-47b3-840f-70d87c75ce9f 回答2: I think this sample download help you.... 来源: https://stackoverflow.com/questions/11797133/network-checking-in-winrtc-implementation

Can/Why Does A Hard Drive Serial Number Change

我们两清 提交于 2020-01-02 07:03:54
问题 Our anti-piracy software identifies people according to their Hard Drive Serial. This I believe is a constant feature and will not change unless the user changes their primary physical drive - correct me if I am wrong? We use the WMI python module to obtain the users Hard Drive Serial Number. For 2 of our test computers the Hard Drive serial number has changed. But we haven't changed their hard drive at all. What could cause such a problem? Is our code that identifies the serial not