windows-10

docker error during connect - deamon is not running on Windows 10

僤鯓⒐⒋嵵緔 提交于 2019-12-11 02:35:53
问题 I am using Windows 10 pc. Recently I have downloaded docker for Windows and it was working fine. But, recently a problem occurred and is it not start anymore it just hang in the status starting. I haven't changed any configuration and I am wondering what may cause this problem. I use the latest version of docker. On my pc, Hyper-V is enabled and Containers are disabled. (Since, I son't use Windows container, I don't think it is necessary. ) On task bar, when I check docker icon. It is always

IIS gone (including sites and application pools) after Windows 10 Creators Update

隐身守侯 提交于 2019-12-11 02:32:53
问题 After installing the Windows 10 Creators Update (1607), IIS is no longer installed. When I re-install it from "Turn Windows features on or off", I find that all my application pools and all my sites are gone. 回答1: The "good" news is that there seems to be a way to restore the IIS app pools and sites (after re-enabling IIS from "Turn Windows features on or off"). It’s a little tricky and error prone, but it’s better than nothing. Here is the procedure that worked for me: In a text editor, open

UWP_Can not start app using StartupTask Class?

混江龙づ霸主 提交于 2019-12-11 02:26:17
问题 I follow this article to startup my UWP app when system reboot. https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.startuptask#uwp-app-startup-task-extension UPDATE I also tried that article, used exactly source code in that sample Configure your app to start at log-in and below is phenomenon: - when I click Request to Enable StartUp button on main page of UWP app, it shows Startup State as Enabled. - I check Task manager, this app is enabled in startup list. - After I restart

UWP : Get the current UserName to provide rights to the user

陌路散爱 提交于 2019-12-11 01:56:42
问题 For an app that I develop for a customer, I need to get the current user details. Then I must assign rights by comparing the couple " domain\login " to a table containing all the authorized users. I reuse the code given by @Sergiu Cojocaru here , that I have mixed with an official sample (UserInfo) to get more details: IReadOnlyList<Windows.System.User> users = await Windows.System.User.FindAllAsync(); var current = users.Where(u => u.AuthenticationStatus == Windows.System

How to configure VS Code (windows) to use Ubuntu App as terminal

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 01:49:23
问题 I installed Ubuntu App on Windows 10 and I would like to use it as a terminal in VS Code. I see VS Code automatically detecting options like Git Bash, PowerShell, Cmd.exe and gives options to use them as terminal. But I would like to use Ubuntu. Is it possible? 回答1: For specifically using Ubuntu distro you just have to type a simple command to change the default distro used by wsl to ubuntu. Type wslconfig /setdefault Ubuntu in cmd thats it. Then in my pc vscode gave me option to choose which

How to change default mode of x:Bind?

ぐ巨炮叔叔 提交于 2019-12-11 00:49:03
问题 I don't know why they decided to set default value for Mode to OneTime But that's not what I want most of the time. It wasted my whole day in debugging. Is there a way to set OneWay value as default for Mode of x:Bind ? <!--This will not listen to future changes. it is OneTime by default--> <TextBlock Text="{x:Bind Name}"/> <!--We have to explicitly define Mode value--> <TextBlock Text="{x:Bind Name, Mode=OneWay}"/> 回答1: starting in Windows 10, version 1607 (Anniversary Update), SDK version

Simulate a network drive (with Loopback Adapter?)

北城余情 提交于 2019-12-11 00:37:23
问题 I want to simulate a network drive. It seems that the simplest way would be to use Microsoft Loopback Adapter but all of the instructions I've found on the web how to install it refer to non existing options in Windows 10. Is it not available in Windows 10 or how do I install it? If it's not available - how can I simulate a network drive? Somehow make a folder recognized as a drive? Make an external HDD behave like that? Something else? (the router doesn't have a USB port so I can't use that.

cx_Oracle error. DPI-1047: Cannot locate a 64-bit Oracle Client library

爷,独闯天下 提交于 2019-12-11 00:35:06
问题 I installed the library and when trying to access SQL in jupyter notebook with my credentials the following error appears: DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be found". See https://oracle.github.io/odpi/doc/installation.html#windows for help 回答1: Probably you have installed cx_Oracle Python library. In order to execute the DB connectivity through jupyter notebook, you need to install the Oracle Client and that is what missing

Error running gulp on Windows 10

被刻印的时光 ゝ 提交于 2019-12-11 00:23:49
问题 I'm running Windows 10 build 10576 (latest) and I get an error when running gulp from my project root folder(or anywhere). Here's a screenshot of the error: http://puu.sh/l3mLf/522a4e6dbe.png Error message says " invalid character ". (I've installed gulp globally) The very first line of gulp.js in the bin folder is the following: #!/usr/bin/env node I didn't have this problem before and I'd really want to get this sorted out. Thanks. 回答1: I have the same error when try running "node_modules

Disable fullscreen/maximise button in UWP-application?

流过昼夜 提交于 2019-12-11 00:12:13
问题 I'm working on a Universal Windows Platform-application for desktop platforms. How can I disable/remove the maximise-button from a <page> or <application> in Windows 10? 回答1: You cannot. I didn't see any option to disable these buttons. You can only change their colors. ApplicationViewTitleBar titlebar = ApplicationView.GetForCurrentView().TitleBar; titlebar.ButtonBackgroundColor = Windows.UI.Color.FromArgb(255, 126, 188, 66); titlebar.ButtonForegroundColor = Windows.UI.Colors.White; 回答2: If