windows-10

Very slow (tortoise)SVN compare to base since win 10 Fall Creators Update [Local Repo]?

橙三吉。 提交于 2019-11-30 04:09:10
I've noticed an immense delay (just sitting there doing nothing) since upgrading to the latest version of windows while using tortoiseSVN to compare any file to its base version [TortoiseMerge] . I was on the fast track and got the fall creators update about a month ago and noticed this too so i reverted back and it went away. After it hit RTM I thought this was fixed but apparently I was wrong. What do I mean with very slow? Before fall creators update: <1 second After: A minute or 2, as long as it takes..and that's just for comparing 1 file. I just go read an article or something and wait

UWP problems with multiple views

只愿长相守 提交于 2019-11-30 04:03:41
问题 I am writing an app which should be able to run multiple views to edit different documents each in their own window. I've wrote some code which works, but I'm having some problems with it. The code I wrote is based upon the Multiple Views sample provided by Microsoft (https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/MultipleViews). I have mainly two problems. The first one is if I close the main view, that is the first window that was open when the application was

How to create and install X.509 self signed certificates in Windows 10 without user interaction?

ⅰ亾dé卋堺 提交于 2019-11-30 03:48:28
问题 The problem Create and install temporary certificates to sign code in my development environment. This has to be done with an unattended script (without user interaction). The legacy script Right now, I have this script that creates the certificates using the deprecated tool makecert: makecert -r -pe -n "CN=My CA" -ss CA -sr CurrentUser -a sha256 -cy authority -sky signature -sv MyCA.pvk MyCA.cer certutil -user -addstore Root MyCA.cer certutil -addstore Root MyCA.cer makecert -pe -n "CN=My

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

戏子无情 提交于 2019-11-30 03:09:18
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 container but rather a windows container the stuff about X11 server doesn't seem relevant. How would I

Visual Studio 2015 does not start, missing .Net Framework 4.6

你说的曾经没有我的故事 提交于 2019-11-30 02:58:35
问题 I created a virtual machine with Hyper-V and installed Windows 10 Technical Preview on it, due to necessity I had to install Visual Studio 2015 RTM with all features. No sooner said than done! After the setup process, I restarted, as usual, the machine and wanted to start Visual Studio, but it didn't work, telling me: ".Net Framework 4.6 is missing, please install or repair" I checked the installation. .Net Framework 4.6 is already installed. I also downloaded the .Net Framework 4.6 Preview

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

不想你离开。 提交于 2019-11-30 02:23:30
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 most built-in apps (e.g. calc, edge browser, etc..) so there must be away to scale it properly. Does

Java Thread.sleep() on Windows 10 stops in S3 sleep status

戏子无情 提交于 2019-11-30 01:23:06
问题 There's a desktop application that uses Thread.sleep() to achieve long (minutes or hours) delays. This same application has been working fine from Windows XP through (at least) Windows 7. The application calculates how far in the future it needs to do something, then hits a Thread.sleep(msToWait). This has been working fine, even if the system happens to go into S3 sleep state during the wait. As of Windows 10, though, the code after Thread.sleep() does not execute "on time" if the machine

redistributable offline .NET Framework 3.5 installer for Windows 8

我的未来我决定 提交于 2019-11-30 00:17:51
Our company was testing our product (compiled for .NET Framework 3.5) on Windows 8. We have discovered that there is no .NET Framework 3.5 on Windows 8 and there are two possibilities to resolve this issue: online installation install from Windows 8 installation DVD or ISO But, we need to have redistributable offline installer for everyone without internet and without Windows installation DVD. Is there a way how to resolve this issue? Thanks. UPDATE : This should apply to Windows 10 as well. Hammond22 Try this command: Dism.exe /online /enable-feature /featurename:NetFX3 /Source:I:\Sources\sxs

Windows 10 equivalent of LaunchAdvancedAssociationUI

馋奶兔 提交于 2019-11-30 00:11:03
Since Windows 10, the IApplicationAssociationRegistrationUI::LaunchAdvancedAssociationUI method does not work anymore. On Windows Vista, 7 and 8, it opens the Control Panel on the Set Program Associations page for specified application. On Windows 10, it does nothing. It's even documented in Microsoft documentation: Starting in Windows 10, this does not launch the association dialog box. It displays a dialog to the user informing them that they can change the default programs used to open file extensions in their Settings (Even the second part of the statement is no longer true in the current

How to make a Windows 10 computer go to sleep with a python script?

馋奶兔 提交于 2019-11-29 23:59:11
问题 How can I make a computer sleep with a python script? It has to be sleep , not hibernate or anything else. I have tried to use cmd but there is no command to sleep or I didn't find one. 回答1: You can use import os os.system("rundll32.exe powrprof.dll,SetSuspendState 0,1,0") If this command doesn't work for you (it actually puts your comp. in hibernation mode) you will need to turn hibernation off: Powercfg -H OFF To turn hibernation mode back on: Powercfg -H ON Alternatively, you can also use: