windows-8.1

How do I eliminate rogue “counters” on my Windows Store main page?

末鹿安然 提交于 2019-12-02 05:04:09
I have a minimalistic main page - 4 buttons and a Bing Map. When I run the app, though, I see two rogue "counters" (don't know how else to describe them) in the upper left and upper right. Here's the one on the upper left: What's causing them, and how can I get rid of them? BTW, the black vertical strip on the left is "as designed" (no pun intended) - below the "counter" are my four buttons, stacked vertically (I deliberately gave the Bing Map only 80% of the page, not the 100% it greedily grabbed from the git-go). UPDATE For Ashok: Here's all there is to the XAML: <Page x:Class="Platypus

Delphi 7 - Screenshot without capturing form - Windows 8 - DWM.exe

心已入冬 提交于 2019-12-02 04:39:12
Friends, Need to screenshot of the all desktop WITHOUT MY FORM and load in TImage. Success in Windows XP, 7 - with just ALPHABLEND = TRUE + SCREENSHOT PROCEDURE. But same code does not work in Windows 8 - capture all screen INCLUDING THE FORM. I know the problem is related to AERO - DWM.EXE - success using pssuspend.exe (sysinternals) - suspending winlogon.exe and killing dwm.exe Someone could tell me how to capture all desktop without my form also in Windows 8? prntscr.com/314rix - SUCESS IN WIN7 prntscr.com/314tj7 - FAILED IN WIN8 prntscr com/31502u - SUSPEND WINLOGON.EXE and KILL DWM.EXE IN

DisplayMemberPath gives an error when I try to use it to display the value of my dictionary in a Combo Box

瘦欲@ 提交于 2019-12-02 03:45:57
Here is my Combo Box <ComboBox Height="40" VerticalAlignment="Stretch" x:Name="comboBox1" Grid.Column="1" FontSize="25"> </ComboBox> Here is my C# code var source = new Dictionary<string, double>(); source.Add("Item1", 0.4); source.Add("Item2", 0.3); source.Add("Item3", 0.1); source.Add("Item4", 0.1); var formateDSource = new Dictionary<string, string>(); foreach (var item in source) { formateDSource.Add(string.Format("[{0}, {1}]", item.Key, item.Value), item.Key); } comboBox1.ItemsSource = source.Values; comboBox1.DisplayMemberPath = "Value"; When I run my code I don't see anything in the

ADAL: W8.1 app trying to log user out

柔情痞子 提交于 2019-12-02 03:33:26
问题 I've got a proof of concept W8.1-app that allows to authenticate a user with an Azure Active Directory using the ADAL library. I've got the part of allowing the user to log in and accessing my resources working. However, it should be able to allow the user to log out, and allow another user to log in on the same device. I've found other questions, on SO and elsewhere, regarding a similar question, but on IOS or in a WPF-app. There, they suggested calling the <AuthenticationContext>.TokenCache

Universal App Windows Phone Orientation

为君一笑 提交于 2019-12-02 03:13:39
Recently I was developing a Universal app for both the Windows Phone and Windows Store. In that app, I was trying to fix the Orientation of the App to Landscape. But in WinRT based apps of Windows Phone 8.1, I failed to find any Orientation option. In the Silverlight apps, we can fix the Orientations as we want. But is there any way to fix the Orientation to Landscape mode in the Universal Apps? It will be very helpful if someone help me in this regard. Thanks in advance. :) Under WinRT you can have a look at DisplayInformation class , where you will find probably all you need. You can also

Anyways of running app without requiring Windows 8 Pro version

ぐ巨炮叔叔 提交于 2019-12-02 02:56:28
I have been using Windows 8.1 for creating Windows Store apps. Below is output of winver command. I have installed necessary updates to start developing universal Windows Store app using JavaScript. When I try to launch app on Windows Phone emulator, I am getting following error. Unable to start windows phone emulator It also suggesting to use Windows 8 pro version. Is there anyway of running this without requiring to throw more money on getting Windows 8 Pro version? Romasz Windows Phone Emulator requires Hyper-V which needs Windows Pro version. That's probably why you aren't able to start

ADAL: W8.1 app trying to log user out

淺唱寂寞╮ 提交于 2019-12-02 01:39:46
I've got a proof of concept W8.1-app that allows to authenticate a user with an Azure Active Directory using the ADAL library. I've got the part of allowing the user to log in and accessing my resources working. However, it should be able to allow the user to log out, and allow another user to log in on the same device. I've found other questions, on SO and elsewhere, regarding a similar question, but on IOS or in a WPF-app. There, they suggested calling the <AuthenticationContext>.TokenCache.Clear() and clearing the cookies by the using the following call: private void ClearCookies() { const

Java JOptionPane text unreadable

落花浮王杯 提交于 2019-12-01 23:59:20
问题 Here's a picture of what it ends up looking like. I don't think it's a problem with the code as it's copied straight from the tutorial website. I've reinstalled JDK, as well as run it in command line and Eclipse. Any possibilities? The code is import javax.swing.*; public class Swag { public static void main ( String[] args) { String name = JOptionPane.showInputDialog("What is your name?"); String input = JOptionPane.showInputDialog("How old are you?"); int age = Integer.parseInt(input);

Python zipfile dosen't release zip file

旧时模样 提交于 2019-12-01 22:37:32
I'm trying to use zipfile library on windows 8.1 and python 2.7.9. I just want to remove library.zip after zipfile.open() but os.remove() throws "WindowsError [Error 32]" and it seems zipfile doesn't release the zip file out of with block. WindowsError 32 means "The process cannot access the file because it is being used by another process." So, how can I remove this library.zip file? code: import os import zipfile as z dirs = os.listdir('build/') bSystemStr = dirs[0] print("[-] Merging library.zip...") with z.ZipFile('build/' + bSystemStr + '/library.zip', 'a') as z1: with z.ZipFile('build

Python zipfile dosen't release zip file

China☆狼群 提交于 2019-12-01 22:32:34
问题 I'm trying to use zipfile library on windows 8.1 and python 2.7.9. I just want to remove library.zip after zipfile.open() but os.remove() throws "WindowsError [Error 32]" and it seems zipfile doesn't release the zip file out of with block. WindowsError 32 means "The process cannot access the file because it is being used by another process." So, how can I remove this library.zip file? code: import os import zipfile as z dirs = os.listdir('build/') bSystemStr = dirs[0] print("[-] Merging