windows-10

How to output to console in UWP on Windows 10?

半世苍凉 提交于 2019-11-29 00:54:31
Is there a way to write to console / command prompt / powershell (like Console.WriteLine() ) or anything similar in UWP apps? If console is unavailable is there a proper alternative that I can use instead to write to the screen large amounts of text? I, of course, can make a XAML control and output to it, but it doesn't seem to be convenient in comparison to simple Console.WriteLine() . There is also very old discussion on WPF console , but nothing seems to work from there (at least, I couldn't find Project-Properties-Application tab-Output Type-Console Application and Trace.WriteLine("text")

Visual Studio 2015 hangs when create/open a Cordova project

限于喜欢 提交于 2019-11-29 00:47:27
问题 I used Visual Studio 2015 to develop mobile app with Cordova. Before I upgraded to Windows10, I was using Windows 7 and it worked perfectly fine. After I've upgraded to Windows10, whenever I open a Cordova project or create a Cordova project the Visual Studio hangs (not responding). I have tried to reinstall the Visual Studio but it still hangs. Anyone has faced this problem before? Thanks 回答1: Here is the solution for this problem in VS 2015. This issue if you have Windows 10 and latest

Displaying GUI Application in Docker Container on Windows 10 Host Without Linux Servers

北慕城南 提交于 2019-11-29 00:45:40
问题 I'm trying to dockerize a Windows 10 GUI application with a Windows 10 host, in a container that has microsoft/nanoserver as the base. Currently I have the application installed in the same directory as my dockerfile, I add it to my docker context and run it no problem, except that the GUI never displays. It seems that to display the GUI I would have to use a server (like in this case: Windows 10 Docker Host - Display GUI application from Linux Container) but because I'm not using a linux

How to check Isolated Storage of Windows 10 mobile emulator?

送分小仙女□ 提交于 2019-11-29 00:39:50
I am currently working on Windows 10 and my requirement is to check isolated storage of Windows 10 Mobile emulator. With Windows Phone 8/8.1, its possible using IsolatedExplorerTool which we can use using Command Prompt. Can anyone suggest, how I can achieve the same for Windows 10 Emulator ? The IsolatedStorageExplorer tool (ISE) for WP8.1 works just fine with W10m apps (you will find it at C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Tools\IsolatedStorageExplorerTool ). You probably know how to use it, but just in case someone needs some explanation: You will have to run it from

Task Scheduler failed to start. Additional Data: Error Value: 2147943726

放肆的年华 提交于 2019-11-28 23:40:24
问题 I am using windows 10 task scheduler to run tasks that require me using my personal user account (its necessary to use my user and not system user because of permission issues - I am part of an organization). In windows 7 computers everything worked fine but as we upgraded to win 10 I cant run the tasks without using the System user (as mentioned before it doesn't work because of permissions). I get the following error Additional Data: Error Value: 2147943726 all I found online was an advice

Disabling HTTP/2 / SPDY in HTTP.SYS and IIS in Windows 10

筅森魡賤 提交于 2019-11-28 23:35:04
When testing on Windows 10 we were seeing lots of browser incompatibilities that I hadn't seen before with earlier Windows versions. Some browsers would work, but others would report ERR_SPDY_PROTOCOL_ERROR. My quick search for this problem showed I was not alone. My app uses WWSAPI and HTTP.SYS with HTTPS (TLS). Does anyone know how to disable SPDY / HTTP/2 in WWSAPI (which is using HTTP.SYS) on Windows 10? I'd also love to get a full up-to-date Windows 10 list of registry settings for HTTP.SYS. See below for my answer to this. Hope this helps others too. Mark EDIT: disabling HTTP/2 will

BitBlt screen capture not working on Windows 10

只愿长相守 提交于 2019-11-28 23:18:05
I'm using this code to capture a process window in the background: IntPtr = Process.GetProcessByName("memu")[0].MainWindowHandle; RECT rc; GetClientRect(hwnd, out rc); IntPtr hdcFrom = GetDC(hwnd); IntPtr hdcTo = CreateCompatibleDC(hdcFrom); int Width = rc.right; int Height = rc.bottom; Bitmap bmp = null; IntPtr hBitmap = CreateCompatibleBitmap(hdcFrom, Width, Height); if (hBitmap != IntPtr.Zero) { IntPtr hLocalBitmap = SelectObject(hdcTo, hBitmap); BitBlt(hdcTo, 0, 0, Width, Height, hdcFrom, 0, 0, CopyPixelOperation.SourceCopy); SelectObject(hdcTo, hLocalBitmap); DeleteDC(hdcTo); ReleaseDC

AutoHotkey in Windows 10 - Hotkeys not working in some applications

孤人 提交于 2019-11-28 23:14:17
A simple script like a::msgbox hi! used to work fine under Windows 7. Now that I upgraded to Windows 10, it isn't working when certain windows are active. Specially LButton -Hotkeys can mess up everything, leading to the situation where you actually need Task Manager. Here is a small list of applications in which hotkeys are not recognized anymore: (instead, as of the above script, a simple a is sent) Team Speak 3 Everything Fraps Where it does work: (examples) Editor Skype Windows Apps in general Ahk help Open Office (most programs) Can someone reproduce this? What's wrong with AutoHotkey in

There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. windows 10

百般思念 提交于 2019-11-28 23:12:57
I just got laravel homestead to run yesterday using powershell. Now, it won't even run. I just suspended vagrant and turned off my pc. Now it's just giving me this error: Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'laravel/homestead' is up to date... ==> default: Clearing any previously set forwarded ports... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["modifyvm", "b21f2dd0-7f73-4d0f-b1e0-0f82ecdda1fe", "--natpf1", "delete", "ssh", "--natpf1",

Altering Win10 virtual desktop behavior

瘦欲@ 提交于 2019-11-28 21:53:42
I love that windows now has virtual desktops built in, but I have some features that I'd like to add/modify. (force a window to appear on all desktops, launch the task view with a hotkey, have per-monitor desktops, etc) I have searched for applications and developer references to help me customize my desktops but have had no luck. Does have any idea where I should start? Programmatic access to the virtual desktop feature is very limited, Microsoft has only exposed the IVirtualDesktopManager COM interface. Not nearly enough to accomplish anything useful. I've written some C# code based on the