windows-8.1

In-app product - FormattedPrice with many decimal places

◇◆丶佛笑我妖孽 提交于 2020-01-25 17:35:24
问题 I implemented in-app purchases inside universal app and for testing I use my own XML file with list of in-app products. On Windows 8.1 it works very well but on Windows Phone 8.1 FormattedPrice property is returning price with many decimal places. Am I able to somehow fix it because it looks really strange? Sample: http://1drv.ms/1yVNhRw <Product ProductId="product2" ProductType="Consumable"> <MarketData xml:lang="de-de"> <Name>Product Title 2</Name> <Price>49.99</Price> <CurrencySymbol>€<

In-app product - FormattedPrice with many decimal places

穿精又带淫゛_ 提交于 2020-01-25 17:34:43
问题 I implemented in-app purchases inside universal app and for testing I use my own XML file with list of in-app products. On Windows 8.1 it works very well but on Windows Phone 8.1 FormattedPrice property is returning price with many decimal places. Am I able to somehow fix it because it looks really strange? Sample: http://1drv.ms/1yVNhRw <Product ProductId="product2" ProductType="Consumable"> <MarketData xml:lang="de-de"> <Name>Product Title 2</Name> <Price>49.99</Price> <CurrencySymbol>€<

w8 default tablet settings conflicts with WPF layout

江枫思渺然 提交于 2020-01-24 08:49:32
问题 I have a WPF desktop app. I've gotten reports from W8 users that the code completion window in our app is not aligned correctly. I investigated and found out that its a setting in W8 tablet settings that conflicts with the placement of popups in wpf Default is right handed and then the code completion popup looks like this When changed to left handed the code completion popup renders correctly like this Is there a way to programmaticly force the app to use left handed settings, or ignore it

How do you scale the title bar on a DPI aware win application?

天涯浪子 提交于 2020-01-20 16:57:26
问题 I am making my app dpi-aware per monitor by setting <dpiAware>True/PM</dpiAware> in the manifest file. I can verify with process explorer that this is indeed working or by calling GetProcessDpiAwareness. This is all working fine and I can scale anything in the client area fine in my code. However, my only problem is that if I drag my app from a system-dpi monitor to a non-system dpi monitor, the title bar and any system menu would either become too big or too small. This isn't the case for

User signature in universal windows 8.1 app

…衆ロ難τιáo~ 提交于 2020-01-17 11:37:53
问题 Is there any ability to sign the document on windows 8.1 mobile device? Something like a canvas where user will be able to draw your signature by hand or stylus. Is there any XAML control for this task or something else ? 回答1: I struggled with this for the best part of a day. It seems that the built-in inking control that used to be available in Windows Phone 7 and 8.0 was pulled out for 8.1 I used the techniques in the article pointed out by Chris W to make a control that can be added to the

Rhinos Could not load file or assembly System.Core

[亡魂溺海] 提交于 2020-01-17 08:47:07
问题 I'm trying some mocking frameworks for c#. I created an Windows Phone 8.1 project, then added an 8.1 Unit Test Project Installed Rhinos with the nuget package installed. Trying to make an simple stub test: public class MyTest { public int value() { return 23; } } [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { MyTest item; item = MockRepository.GenerateStub<MyTest>(); item.Stub(x => x.value()).Return(240); Assert.Equals(239, item.value()); } } But when I run the

BackgroundUploader Sample does not work on Apache Server with PHP

谁说胖子不能爱 提交于 2020-01-17 03:55:57
问题 I have to upload a video file from an windows phone 8.1 app. I am using the BackgroundTrasfer sample but for the server side there is just a aspx script. But I need PHP. I have found this PHP script <?php $target = "upload/"; $target = $target . basename( $_FILES['Filename']['name']) ; $ok=1; if(move_uploaded_file($_FILES['Filename']['tmp_name'], $target)) { echo "The file ". basename( $_FILES['Filename']['name']). " has been uploaded"; } else { echo "Sorry, there was a problem uploading your

Cannot install Visual Studio Professional and Community on Windows 8.1 Enterprise

做~自己de王妃 提交于 2020-01-17 03:43:12
问题 I have a problem installing VS Professional 2012 and VS Community 2013 on Windows 8.1. The installation app crashes right after I open it. Following installation tips I disabled anti-virus and firewall software and I installed all the available Windows updates, but nothing has changed. Furthermore, I disabled .NET 3.5 and enabled all features for .NET 4.5 following these tips. Also, I downloaded and installed .NET 4.5.2 and DirectX, but it didn't help either. Do you have any advice of what to

InstallShield LE is not working in vs2013 in windows 8.1

谁说胖子不能爱 提交于 2020-01-17 01:45:08
问题 I am working in Visual Studio 2013 on Windows 8.1 . I have windows service project, for that i want to create a setup project. I am trying to add install shield limited edition project. When i am clicking on OK button. Nothing happend, nnly setup1 named folder created in my solution folder. What should i do to fix this bug. 回答1: In the Visual Studio 2013, IDE showing "Enable InstallSheild Limited Edition", it means you have not installed InstallSheild yet. Download InstallShield from here.

c# Dragging images inside canvas in windows store app fails

寵の児 提交于 2020-01-17 01:30:30
问题 I'm fairly new to C# and programming in general. I'm building a dummy project to understand how drag and drop works. At first, I begun moving around rectangles, limiting their movements inside the canvas, and they moved just fine. After that, I tried to make it a bit more complex by adding PointerEntered/PointerExited and replacing the rectangles with images. Re-sizing the images when the events PointerEntered/PointerExited occur works, but when I try to drag my images nothing happens. I