windows-8.1

Anyways of running app without requiring Windows 8 Pro version

℡╲_俬逩灬. 提交于 2019-12-20 05:32:14
问题 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? 回答1: Windows Phone

System.Net.Webclient not working 'WebClient' could not be found

笑着哭i 提交于 2019-12-19 17:18:08
问题 I am trying to work with WebClient but it is giving me errors so I check in several forums (included this one) and they where telling to put In the top of the file: using System.Net And after where I want use the WebClient: WebClient webClient = new WebClient(); webClient.DownloadFile ("http://mysite.com/myfile.txt", @"c:\myfile.txt"); And I get this error: The type or namespace name 'WebClient' could not be found (are you missing a using directive or an assembly reference?) In the other

How to create custom cursor in javaFX?

此生再无相见时 提交于 2019-12-19 12:23:42
问题 I am trying to create custom cursor in javaFX. Here is my code: Image image = new Image("mycursor.png"); Pane pane= new Pane(); pane.setCursor(new ImageCursor(image, image.getWidth() / 2, image.getHeight() /2)); Is the creation of cursors for windows 8.1 does not work? 回答1: Checkout the ImageCursor.getBestSize() methods and ImageCursor.getMaximumColors() and see what they return, then try a custom cursor image which matches the best size and maximum colors. Most likely this will be a 32x32

Windows Store WebView rendered html size

谁说我不能喝 提交于 2019-12-19 11:58:22
问题 I have a strong need to calculate/get the rendered html size in WebView. Is there a way to achieve this? In Objective-C i could pass a HTML string to the WebView and available size, and it returned the desired Size. Is there something similar to this in Windows Store WebView? For example: WebView webView = new WebView(); webView.NavigateToString(html); webView.ContentLoaded+= webView_ContentLoaded(,); webView_ContentLoaded(,) { //Height=99999999 - does the trick, like available height is

What to Use to Pick Multiple files (Media files) and retrieve them in a StorageFile collection at custom/desired index?

元气小坏坏 提交于 2019-12-19 11:45:13
问题 I have a list in which i retrieve multiple mp3 files. Now when i want to add files again, i pick files from picker but they overwrite the previous files in IReadOnlyList filesList i want that if i choose files again...then they should go to the next index of filesList Ex: First time i pick 3 files and they go to filesList[0], filesList[1], filesList[2]. Now I again click on addmusicbtn to pick files and i pick 2 files. Now what i want is to get these files on filesList[3] and filesList[4].

Running a process and getting the “Windows protected your PC” message

喜夏-厌秋 提交于 2019-12-19 10:21:55
问题 I am running this code and I am getting the "Windows protected your PC" message. Is there a way to tell Windows that this is a safe program and allow it to continue? The message also states "Windows SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk." private void runProcess(string exeLocation) { var process = Process.Start(exeLocation) // I get error here process.WaitForExit(); } 回答1: This feature is built to protect users. Running other

How to change TextBox placeholder text color for a specific element, not global

醉酒当歌 提交于 2019-12-19 06:46:36
问题 MSDN lists the styles and templates for the TextBox class here. I can override these theme resources by creating a ResourceDictionary in App.xaml like this: <Application.Resources> <ResourceDictionary> <ResourceDictionary.ThemeDictionaries> <ResourceDictionary x:Key="Default"> <SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="Yellow"/> </ResourceDictionary> </ResourceDictionary.ThemeDictionaries> </ResourceDictionary> </Application.Resources> but this will affect every TextBox

Qt Creator 2.8.1 + MSVC 2013 Express = No compiler can produce code for this Qt version

我与影子孤独终老i 提交于 2019-12-19 05:33:19
问题 This question was asked on this thread, but is was closed as "off topic", which is confusing to me. This not a question looking for an opinion. This is a legitimate issue with concrete details and no doubt has a concrete answer. I'm setting up a new windows 8.1 laptop. I've installed MSVC 2013 express (Windows Desktop version). And I've installed Qt 5.1.1. In Qt Creator when I go to Tools -> Options -> Build & Run -> Compilers and hover the mouse over the auto-detected compiler: "Microsoft

Windows Phone 8 Emulator not launching. Error code 0x80131500

只谈情不闲聊 提交于 2019-12-18 18:55:49
问题 I have problem with Visual Studio 2012 (OS: Windows 8.1 Preview) Create empty project (Windows Phone App) Press F5 to start debugging. And I get 0x80131500 error code, with no detailed description. Only this: Deployment of application to device failed. Output: 1>------ Deploy started: Project: PhoneApp1, Configuration: Debug Any CPU ------ 1>Deploying C:\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\Bin\Debu\PhoneApp2.xap... 1>Connecting to Emulator WVGA 512MB... 1>Deployment of application

How to maximise a Windows 10 Universal Application's window to full screen when running on a desktop?

若如初见. 提交于 2019-12-18 16:49:56
问题 When building a universal application using Windows 10 (or Windows 8.1 WinRT), is it possible to force the application's main window to maximise on launch? This is obviously natural behaviour for the application when running on a mobile device but not when running on the desktop. This is certainly possible using WinForms: How do I make a WinForms app go Full Screen How to display a Windows Form in full screen on top of the taskbar? But I haven't so far managed to find anything in the