windows-8.1

InAppBrowser (Apache cordova plugin) does not open in Windows 8.1

别说谁变了你拦得住时间么 提交于 2019-12-05 23:03:50
I am developing an app using visual studio tools for apache Cordova (Cordova CLI : 4.3.1) and AngularJS. It uses InAppBrowser plugin via ngcordova library. Here is my code: var url = "http://myurl.com"; var target = "_blank"; var options = { location: 'no', toolbar:'no', hidden: 'no' }; document.addEventListener('deviceready', function () { var browserRef = $cordovaInAppBrowser.open(url, target, options).then(function (event) { }, function (error) { console.log("Error: " + error.message); }); }, false); When i deploy the app on windows 8.1 (on my local machine), i can see on debugger that a

How to programmatically navigate in a FlipView with swipe animations

会有一股神秘感。 提交于 2019-12-05 22:47:11
问题 The Windows Dev Center states regarding the UseTouchAnimationsForAllNavigation property: The XAML FlipView control supports three modes of navigation; touch-based, button-based and programmatic. When a user navigates by touch, the FlipView items scroll smoothly into view. When you set this property to true, the same navigation animation occurs whether the navigation is touch-based, button-based and programmatic. I'm currently navigating from my page's code behind by assigning the SelectedItem

How to specify initial window size for Windows 8.1 app running on Windows 10

风流意气都作罢 提交于 2019-12-05 21:41:27
Is it possible to set the default window size for a Windows 8.1 app running on Windows 10? I know that this can be done for a UWS app using APIs introduced in Windows 10. However, converting the app to Windows 10 will take some time. In the meantime, I would like to be able to release a quick fix which would ensure that current Windows 8.1 app launches with the correct size. Does anyone know how to achieve this? You could use reflection to call part of windows 10 sdk at runtime within your windows 8.1 app. Take a look at Thomas Nigro blog, he does that for the vlc winrt app. 来源: https:/

How to copy a folder in a Windows Store App

放肆的年华 提交于 2019-12-05 21:28:26
How do you copy a folder and its contents in Windows Store Apps? I'm writing tests for a Windows Store App. The app does things with files, so a set of known files is needed. Ideally, any developer could run these tests without requiring that they do some manual setup. I assume that means test files would be checked into source control and then copied to the LocalState folder where tests could consume them (copy during ClassInitialize test phase). StorageFile has copy functions. It would be possible to to use these to recursively rebuild the folder to copy. However it's hard to believe that

Bad Swing UI scaling on high resolution (MS Surface)

允我心安 提交于 2019-12-05 20:20:02
问题 I'm currently working on a little Java application, that involves Swing GUIs. On my development PC everything looks fine but when I run it on my MS Surface, some icons seem to be too large for the components (or the components too small for the icons). Here's what I mean: Google research has lead me to conclude that this is due to Surface's high resolution and Win8's zooming to let some items appear a little larger. So I reset that zoom to 100% and it actually fixed the bad scaling.

SearchBoxControl has focus on app launching on Win8.1

*爱你&永不变心* 提交于 2019-12-05 19:44:59
I'm using the new SearchBox Control in my Windows 8.1 app, but everytime I launch the app the SearchBox has the focus and displays the search history. I've tried to set the focus on another control on my page, but it doesn't work. So how can I start my app without showing the search history? Thanks. Here's my guess. You are attempting to set focus to something else on the page, but there's actually nothing else on your page that can accept a programmatic focus. To test this, simply add a <Button /> to your page and set the focus to that. Buttons are perfect for this test, as would be a

Disable Internet Explorer 11 Auto Scaling Zoom to Viewport Width - IE11

你说的曾经没有我的故事 提交于 2019-12-05 17:44:45
Is there any way to prevent the "auto zoom to viewport width" (a.k.a. automatic scaling) feature in Internet Explorer 11? I want to force the browser to follow my max-width rule and prevent it from auto-scaling the page contents to the full width of the viewport. I'm seeing the issue in IE11 on Surface Pro 2 in both "desktop" and "metro" modes. The issue is discussed here and may be related to external displays, although I'm experiencing it with or without an external display attached, and the zooming occurs on both the Surface monitor and on external displays. This page in the Microsoft docs

Error PSRemoting using Session and CredSSP

不问归期 提交于 2019-12-05 14:37:48
I use Windows 8.1 Enterprise 64 bit and Powershell 4.0. I want execute powershell remoting and using authentication CredSSP. I open Console Powershell, run as Administrator, and execute Enter-PSSession command to connect to remote computer. But I get error about connection. PS C:\Documents and Settings\kiquenet> Enter-PSSession -ComputerName DC -credential devrsg.com\Administrator Anyways, I test command from Windows XP and Windows 7, and connection is OK. PS C:\Documents and Settings\kiquenet> Enter-PSSession -ComputerName DC -credential devrsg.com\Administrator [dc]: PS C:\Users

Check if user added new music on Windows Phone 8.1

人走茶凉 提交于 2019-12-05 13:40:28
I'm trying to find out if a user added new music to the Music folder on the phone since app was last used. I try to do this by checking the DateModified of the Music folder (which updates correctly on the computer when adding new music to the phone): async void GetModifiedDate () { BasicProperties props = await KnownFolders.MusicLibrary.GetBasicPropertiesAsync(); Debug.WriteLine("DATEMODIFIED: " + props.DateModified.ToString()); } Unfortunately this returns: DATEMODIFIED: 1/1/1601 1:00:00 AM +01:00 Am I doing something wrong or is there another quick way to check if user added new music?

Cannot create a directory named “Aux” or starting by “Aux.” on Windows 8.1

浪子不回头ぞ 提交于 2019-12-05 10:59:06
I just encountered a really weird bug on Windows 8.1. I can't seem to be able to create a folder named Aux or starting by Aux. . I tried on every disk, but I get the following message every time: Le nom du périphérique spécifié n'est pas valide ( The name of the specified device is invalid ). Why is that? Is there a specific/valid reason? Is it specific to my computer? I discovered this because I programatically created a folder named Aux and I can't delete it anymore. I guess I have to run a script or program to get rid of it. (As it usually happens with such scenario on Windows) aux , prn ,