windows-10

AWS EC2 Windows 10 can't access metadata

折月煮酒 提交于 2019-12-03 18:07:41
问题 What could explain why an EC2 instance running Windows 10 does not consistently have access to its own metadata or userdata? I know the userdata is set correctly because the exact same script was used for about thirty launches of t2.nano and c4.xlarge instances: the t2.nano never encountered any issue reading the metadata, but out of three attempts with a c4.xlarge only one had access to it. The script only differed by the name of instance (as per git history at least). I followed the

Cannot select Target Framework 4.5 in Visual Studio 2015

百般思念 提交于 2019-12-03 18:05:25
问题 I have uninstalled my localized(german) .net version to get english exception messages. Afterwards i've installed the latest .NET 4.6.2 framework on my windows 10 development pc. Then i've openend my solution which contains projects that target .NET Framework 4.5 and noticed that they couldn't be loaded anymore because this version is not installed. Then visual studio suggested to use a different version and change it later. When i've done it i couldn't change to the desired framework version

C# WPF Windows 10 (1803) TouchKeyboard unreliable Issue (Prism ClickOnce)

你说的曾经没有我的故事 提交于 2019-12-03 17:18:30
I am trying to fix an issue we are having with the Onscreenkeyboard in our C# Prism WPF app targeting .Net 4.5.2 deployed via ClickOnce, running on Windows 10 version 1803. Our app has a TimeOut function that triggers an event and in that event I would like to either Toggle the visibility of the keyboard or close it if it is open. The Close() function in the below class does not work sometimes, I see in the logs(not displayed in below code) the app finds the handle (which is>0) and issues close command on it but the keyboard does not close. This question is related to the 2 questions mentioned

Python Numpy Installation Windows 10 64-bit

别等时光非礼了梦想. 提交于 2019-12-03 16:53:03
I know that there have been multiple posts on numpy and pyserial installation in python on stack overflow, but somehow none of them seem to work for me. Possibly, i am not able to clearly understand what i have done and am stuck I will list down the things i did that i think are relevant to solving the question. A request- Please help me reach a solution before marking my question as a repeat. Things you need to know- 64bit, Windows10, Python3.4, Python2.6.1, Python 2.7 Things i tried- 1) used the Official git repository for NUMPY -> tried to install it using the command prompt as:- C:\Desktop

How to detect if Windows 10 is in tablet mode

本小妞迷上赌 提交于 2019-12-03 16:36:48
I'm trying to find a method to detect if Windows 10 is in tablet mode or not. Please note, this is not about querying whether the user has a Tablet PC or not - that can be solved with GetSystemMetrics(SM_CONVERTIBLESLATEMODE) . In my case the above function always returns 0 - whether Win10 is in tablet mode or not. This thread without an epilogue seems to suggest that there is no WinAPI call that could detect Tablet mode. I hope that isn't the case, since there are different WM messages posted by the OS if it's in tablet mode or not. In tablet mode WM_SHOWWINDOW isn't sent which means I need

Right Click on Tray Icon in Windows 10 with AutoHotKey

馋奶兔 提交于 2019-12-03 15:49:01
In Windows 7, I had an AutoHotKey script that would automatically Right-Click on a tray icon. #Include %A_Scriptdir%\TrayIcon.ahk TrayIcon_Button("CCC.exe", "R") Which used the TrayIcon.ahk library from FanaticGuru's post . This worked just fine on Windows 7, but no longer works on Windows 10. Is there a way to right click on a TrayIcon in an AutoHotKey script on Windows 10? Here is the TrayIcon_Button function from the library. I refrained from posting the entire library since it is fairly long. ; ------------------------------------------------------------------------------------------------

Upgrading to Windows 10 breaks MySQL workbench?

谁说我不能喝 提交于 2019-12-03 15:31:38
问题 I recently upgraded to the released version of Windows 10 using the automatic upgrade feature from Windows 8. In addition to some other stuff breaking, it seems that MySQL Workbench is now broken. The program starts fine, but when you try to connect to a database, you are presented with a fatal error: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. This occurs even after a restart and seems to occur every time. 回答1: The issue occurs due to the HTML rendered dll

VirtualBox: Cannot access the kernel driver

牧云@^-^@ 提交于 2019-12-03 15:21:54
When I try to launch VM in Oracle VirtualBox on Windows 10 it says "Cannot access the kernel driver". I tried complete reinstall (remove everything and install), repair installation (repair in the installer) and installing 2 drivers manually (VBoxUSBMon and VBoxDrv). Nothing worked. I'm using VirtualBox 4.3.12 because I was not able to launch newer version on Windows 10 for some reason. The problem is with the installer. The new location of the driver is at C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys . However the installer points to the old driver location of C:\Program

SqlConnection Error if EXE is executed from network path

霸气de小男生 提交于 2019-12-03 15:12:06
问题 First of all: everything you will read in this post happens only if Windows 10 April 2018 update is installed. No problem before installation and after update uninstallation. After installing Windows 10 1803 update, all my VB program (VB6, .NET and WPF) running from network mapped drive or UNC path can't connect to SQL server, no problem if the same executable is placed and executed from local drive (tested on 2 pc in the same network): Remote SQL server, exe on local drive: OK Same remote

DwmExtendFrameIntoClientArea strange behaviour on Windows 10

青春壹個敷衍的年華 提交于 2019-12-03 13:48:17
I'm having some trouble extending the window frames using DwmExtendFrameIntoClientArea on Windows 10. The images below show the behaviour I'm getting: The white titlebar colour is extended from the top, while from the sides and the bottom it extends the coloured edge of the window. If I set the margins all to -1 to extend the frames all the way, the window is filled with white and loses its coloured edge altogether: This result is very inconsistent, I was expecting the white colour to be extended on all sides of the window, similar to the way the coloured frame is extended in Windows 8, or the