windows-10

PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\Anaconda3\\pkgs\\vs2015_runtime-14.0.25123-0.tmp

一世执手 提交于 2019-12-12 10:55:40
问题 Conda newbie here! How can I solve this problem? C:\Users\mona>conda create --name universe-starter-agent python=3.5 Fetching package metadata ......... Solving package specifications: .......... Package plan for installation in environment C:\Users\mona\.conda\envs\universe-starter-agent: The following packages will be downloaded: package | build ---------------------------|----------------- pip-9.0.1 | py35_1 1.7 MB The following NEW packages will be INSTALLED: pip: 9.0.1-py35_1 python: 3.5

How to preserve white-spaces of TextBlock in UWP apps

[亡魂溺海] 提交于 2019-12-12 10:46:59
问题 If you simply set the value of Text property in a TextBlock as " Example " (Note that there 3 whitespaces at the end of this string),what TextBlock shows in UI is just " Example ". And after searching for solutions on the Internet, I found that there is a way to solve this issue: <Border BorderThickness="1" BorderBrush="#FFFF0202" HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock x:Name="t1"> <Run Text="Example   "/> </TextBlock> </Border> The above code shows the use of

NodeRT: could not find assembly

两盒软妹~` 提交于 2019-12-12 10:46:36
问题 I am writing an electron app with electron-windows-notifications which is dependant on NodeRT. As I try to install my project, I get following error for each of @nodert-win10 dependencies: > if not defined npm_config_node_gyp (node "C:\Applications\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --msvs_version=2015 ) else (node "" rebuild --msvs_version=2015 ) Building the projects in this solution one at a time. To enable parallel build, please

How to force win10 to open virtual tablet keyboard?

让人想犯罪 __ 提交于 2019-12-12 10:40:01
问题 I have an app that needs a virtual keyboard. But, when I click some of my TextBox es, they don't make the virtual keyboard appear. I have tried using this: System.Diagnostics.Process.Start("osk.exe"); But this opens another keyboard, one that does not close after the TextBox has no focus. How to force win10 to open the virtual tablet keyboard? To make myself clear: This is running on a win10 touch screen PC. When I have the tablet mode enabled the virtual keyboard shows up on some TextBox es

How can I make SQLite work on Windows 10?

拥有回忆 提交于 2019-12-12 10:31:21
问题 Yo, So I've been developing a Universal Windows Store app in Visual Studio 2013 on one machine, and wanted to continue developing it on an another machine running Windows 10 Technical Preview. The problem is that in Visual Studio 2015 Preview there is a new C++ Redistributable package version (2015), and the latest SQLite requires version 2013, so that particular reference is missing. I can build the project, it deploys successfully, but there is an exception saying it can't load sqlite3.dll.

Powershell command-line with Autologon.exe

放肆的年华 提交于 2019-12-12 10:16:19
问题 Has anyone made the 'Autologon.exe for Windows v3.10' work with PowerShell v5.1? Execution 1: As administrator the following is run: .\Autologon.exe -n guest10 -d test.com -p Password1 -accepteula yes Error 1: Execution 2: As administrator in powershell the following is run: .\Autologon.exe guest10 test.com Password1 Error2: Nothing happens Execution 3: As administrator in powershell the following is run: $obj=.\Autologon.exe $name ="guest10" $domain="test" $pass="Password1" & $obj $name

Detect if share UI is supported in current device (UWP)

回眸只為那壹抹淺笑 提交于 2019-12-12 09:41:43
问题 I have created a UWP app for windows 10 devices using c#/xaml. In the app, i have a share functionality that calls DataTransferManager.ShowShareUI() This works as expected on desktop, tablet and mobile devices. But on my xbox, the above method does not launch the share UI. Nor does it throw any exceptions. After searching online a bit, I found this article that says share contract is not supported on xbox. And no share UI is displayed. But this gives a bad user experience. So I have 2 options

How to use boost asio library with Cygwin 64 bit

天大地大妈咪最大 提交于 2019-12-12 08:58:26
问题 I am running Windows 10 64bit. Cygwin is 64 bit. I installed boost from cygwin package manager. I tried to compile test.cpp: #include <boost/asio.hpp> int main(int argc, char**argv) { return 0; } using command g++ -std=c++11 -Wall -g -D__USE_W32_SOCKETS D_WIN32_WINNT=_WIN32_WINNT_WIN7 test.cpp -o test.exe but compile fails. It looks like posix is being used . Any ideas why this fails? In file included from /usr/include/boost/asio/detail/fd_set_adapter.hpp:22:0, from /usr/include/boost/asio

Windows 10 cannot associate file to clickonce application

时光怂恿深爱的人放手 提交于 2019-12-12 08:34:16
问题 I have a clickonce application which works fine on windows 7. When it's being installed on a windows 10 machine, it seems that the specific file for our application cannot be properly associated to the clickonce application. If I click right on the file, and choose "open with", I can see in the list "ClickOnce Application Deployment Support Library". But if I choose this option, I get a message saying "this application cannot be executed on your PC". If I decide to choose directly the .exe

Unable to add user to the Hyper-V Administrators group exit code 2220

放肆的年华 提交于 2019-12-12 07:49:24
问题 I was using Windows 10 LTSB with Visual Studio 2015. After enabled Hyper-V , I installed the standalone Visual Studio Emulator for Android . The Hyper-V functioned well since it's okay to add virtual machine to it. However, when I was trying to create an android virtual machine in the Visual Studio Emulator for Android Manager , it failed with "Unable to add user to the Hyper-V Administrators group exit code 2220". After some research I found there's no Hyper-V Administrator group as well as