windows-8.1

Sorting data in ListView

送分小仙女□ 提交于 2019-12-12 02:58:28
问题 I have a ListView in my XAML: <ListView Margin="10" Name="lvDataBinding"></ListView> In the code I have User class: public class User { public string Name { get; set; } public int Age { get; set; } public override string ToString { return this.Name + ", " + this.Age + " years old"; } } and code that binds the collection of Users to ListView: List<User> items = new List<User>(); items.Add(new User() { Name = "John Doe", Age = 42 }); items.Add(new User() { Name = "Jane Doe", Age = 39 }); items

How to change MediaCapture to Byte[]

自闭症网瘾萝莉.ら 提交于 2019-12-12 02:58:21
问题 How to change MediaCapture to byte[] in Windows Store App for Windows 8.1. From lib: Windows.Media.Capture.MediaCapture asd = new Windows.Media.Capture.MediaCapture(); Thans! 回答1: I assume you want to get a byte array from what the camera is seeing at the moment, although it's hard to interpret from your question. There is a sample on the Microsoft github page that is relevant, although they target Windows 10. You may be interested in migrating your project to get this functionality.

Links and ng-clicks in Bootstrap dropdown not working on Chrome 48 for Windows 8.1

你离开我真会死。 提交于 2019-12-12 02:57:41
问题 I've got a Bootstrap dropdown in my app's navbar with some links in it. Some links have ng-click triggers attached while others are just regular links. The following code works fine on all major browsers on Mac OS 10.11 as well as on Windows 7. On Windows 8 it works in IE 11, but not in Chrome 48 (latest). In Chrome 48, clicking a link in the dropdown causes the dropdown to close, but the ng-click or link href is not triggered. There are no console errors and I've confirmed that there are no

An error occurred during deployment plan generation. Deployment cannot continue

孤街醉人 提交于 2019-12-12 02:09:53
问题 I had been publishing a Lightswitch app to an Azure website and a linked SQL database. Publishing quit working with the following error in Lightsswitch. Error 1 An exception occurred when deploying the database for the application. An error occurred during deployment plan generation. Deployment cannot continue. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.5\Publish\v2.4\Microsoft.LightSwitch.Publish.targets 1565 10 I recreated the application and setup a new and

Is “Assigned Access” [Windows 8.1 feature] possible in Windows 8 app?

点点圈 提交于 2019-12-12 01:51:26
问题 I want to create an app which will be deployed on tablets as a kiosk in a mall. I searched around for creating app with some restriction like it will be always open, only authenticated uses can close with swipe gesture or Alt+F4. I got one solution but it's related to Win 8.1 and I can't wait till that. So what I want is the app will be always on. Normal users will use the app, they can't close it. App can be close by only authenticated users with password. Anybody have any ideas to do these

Access to serial port for windows store apps

早过忘川 提交于 2019-12-12 01:44:42
问题 I am looking for a solution to send an escape sequence to a serial port in a windows store app. Maybe my understanding of windows store apps is wrong. I don't want to run this app on a windows RT device, but on a normal windows 8 PC. I know, that windows RT devices do only support very less communication with connected devices, but not serial ports. 回答1: Well, as I know it's not possible to do something like that by using WinRT library. It's sandboxed and you can't access lots of features

Disable Hold Box on ie11 W8.1 Touch Device

被刻印的时光 ゝ 提交于 2019-12-12 01:38:52
问题 When using my Windows Touch Device, holding down on an area results in a an expanding box appearing which extends to about two centimetres squared. Letting go will then result in the right click menu appearing. The problem is that I want to disable the box and the menu from appearing. I have managed to prevent the context menu from appearing, but I am still left with the box. I believe the box is interfering with other functionality I have on the page. Any help much appreciated, Thanks UPDATE

UnicodeDecodeError in pip install flake8 on Windows 8.1

核能气质少年 提交于 2019-12-12 01:21:36
问题 I'm trying to install the flake8 module for Python (in order to use the SublimeLinter-flake8 package to Sublime Text 3) but get an error message on install (below). What am I doing wrong here? C:\Windows\system32>python -m pip install flake8 Collecting flake8 Exception: Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line 223, in main status = self.run(options, args) File "C:\Python27\lib\site-packages\pip\commands\install.py", line 280, in run

How to detect If AdRotator V2.1 is showing an Ad or an error occurred

放肆的年华 提交于 2019-12-12 01:07:49
问题 I want to update my UI based on the scenario when an Ad is being shown or an error occurred. I am using AdRotator v2.1. Looking at the source code it seems that the control would collapse if it could not serve an ad from various provider, and the IsAdRotatorEnabled would be set to false. But that property does not trigger an notification change. How can i detect if no ads are being shown? Enabled="{Binding AreAdsEnabled,Mode=TwoWay,FallbackValue=true,UpdateSourceTrigger=PropertyChanged}" 回答1:

How to make DownloadOperation from BackgroundDownloader resumable

邮差的信 提交于 2019-12-11 23:46:52
问题 I am adding in functionality to download a large file into my application using the BackgroundDownloader / DownloadOperation functionality. I am using a PushStreamContent in a Web Api controller to serve the data that's being requested using a GET operation. I have added in the Accept-Ranges header to the response that's received from the Web Api controller, however the BackgroundDownloader doesn't seem to be recognising and attempting to resume downloads. If I call DownloadOperation.Pause()