windows-8

How can I get the Windows 8 Phone emulator to run via VirtualBox?

蹲街弑〆低调 提交于 2019-12-19 02:47:08
问题 First I'm not sure my computer can handle the VirtualBox and Windows 8 phone emulator because there is no button for the run emulator. Is there a certain requirement I need to run the emulator for Windows Phone 8 and VirtualBox? 回答1: Copy the Flash.vhd from an installed Windows Phone 8 SDK and use it as the virtual disk in VirtualBox with the guest configured for Windows 8. It works for me with a Mac host, but I have an invisible mouse pointer so interaction is difficult. 回答2: The hardware

Selected Items using MVVM in WinRT

别说谁变了你拦得住时间么 提交于 2019-12-18 20:48:07
问题 I'm struggling to find a way to bind the SelectedItems property in a ListView to the view model. Previously I used this: http://www.codeproject.com/Articles/412417/Managing-Multiple-selection-in-View-Model-NET-Metr which no longer works in the RTM release. Any help is much appreciated! Thanks in advance :) 回答1: You could look at the ListViewExtensions.BindableSelection from the WinRT XAML Toolkit on CodePlex. 回答2: Turns out binding to the attached property was failing because the type of the

Windows.Security.Cryptography and Windows Phone 8 SDK?

限于喜欢 提交于 2019-12-18 19:43:31
问题 today i installed the new windows phone 8 sdk (w8phone sdk)... tried to include some of my base classes from windows 8 apps... same core they say... but whoops? no Windows.Security.Cryptography ? I used the SymmetricKeyAlgorithmProvider for end-to-end encryption of serialized data with WCF Services. (http://msdn.microsoft.com/en-us/library/windows/apps/xaml/br241537.aspx) Seems using .NET Framework Encryption is quite proprietary to the platforms/devices. Anyone some advises for same

Installing Visual Studio 2012 Ultimate on Windows 8

China☆狼群 提交于 2019-12-18 18:49:11
问题 While trying to install the visual studio 2012 ultimate trial on Windows 8 Release Preview I got the following error message The .Net Framework installed on this machine does not meet the minimum required version: 4.5.50709. So I tried installing the required .net framework version, but that gave me the following error Microsoft .NET Framework 4.5 is already a part of this operating system. You do not need to install the .NET Framework 4.5 redistributable. I am running the windows 8 release

Verifying windows 8 purchases (receipts) using PHP

北战南征 提交于 2019-12-18 17:00:54
问题 I need to verify in-app purchases made in Windows 8 applications server-side using PHP. MSDN's documentation page has an example only in C#. Right now I've spent a whole day by searching for a way to do it in PHP. No success. All over the internet there are only .NET examples on this topic. I've found some partial information about signed XML and x509, some libraries (xmlseclibs - useless, uses openssl_* functions which do not support sha256; phpseclib - looks promising but their

How to set default browser in windows 8 using C#?

只谈情不闲聊 提交于 2019-12-18 16:53:15
问题 We all have been easily able to do this prior to Windows 8 (in XP/VISTA/WIN7) with few changes in Registry and it was done. With Windows 8 it's not that easy (I'm yet to figure it out how). Windows 8 too has few registry settings to be changed mentioned below, but along with this it also stores a unique Hash for every computer. Can any body help me to possibly create this hash for every computer or with some API provided by Microsoft to set default browser ('SetAppAsDefaultAll' does not work)

Opening a URL in the default browser in a Windows 8 desktop application

我们两清 提交于 2019-12-18 14:53:52
问题 I am using System.Diagnostics.Process.Start from a desktop application to start the default browser to visit a link, as below. This is using C# with .NET 4.0 on Windows 8 Pro RTM. System.Diagnostics.Process.Start(new ProcessStartInfo { FileName = @"http://www.google.com", UseShellExecute = true }); This works fine under Windows 7, but under Windows 8 I am getting an exception that can be reproduced in LINQPad. The exceptions are: UseShellExecute = true gives Win32Exception: Class not

How do you get Angular.js to work in a Windows 8 store app?

女生的网名这么多〃 提交于 2019-12-18 14:48:35
问题 The app runs but Angular data objects are not recognized. Here is the JavaScript error I am getting: Exception was thrown at line 1059, column 11 in ms-appx://28934b41-4dd2-4414-b9a9- a73c11c1b743/js/angular.js 0x800a139e - JavaScript runtime error: No module: ngLocale Exception was thrown at line 4473, column 9 in ms-appx://28934b41-4dd2-4414-b9a9- a73c11c1b743/js/angular.js 0x800a139e - JavaScript runtime error: HierarchyRequestError The program '[5112] WWAHost.exe' has exited with code 1

Using CurrentDomain.SetData(“APP_CONFIG_FILE”) doesn't work in PowerShell ISE

吃可爱长大的小学妹 提交于 2019-12-18 13:24:12
问题 I'm attempting to use a .NET 4.0 assembly in PowerShell ISE, and trying to change the config file which is used via: [System.AppDomain]::CurrentDomain.SetData("APP_CONFIG_FILE", $PathToConfig); [Configuration.ConfigurationManager]::ConnectionStrings.Count always returns "1", and "[Configuration.ConfigurationManager]::ConnectionStrings[0].Name" always returns "LocalSqlServer", and that ConnectionString name is not in my ".config" file. Note that executing the PowerShell script from a

Is there a global exception handler in Windows store apps?

泄露秘密 提交于 2019-12-18 12:53:07
问题 For unhandled exceptions, at least, I'd like to be able to catch the details and write them out to a file for potential subsequent "debugging forensics." There is no "OnTerminating" event in Windows store apps; is there a suitable place/way to accomplish such? UPDATE See my comment below. Here is an addition that won't fit below: Even when removing the xaml snippet, I still get that err msg, and even after Cleaning and Rebuilding...??? 2-clicking the err msg just takes me to the top of App