windows-10

Enable Windows 10 Developer Mode programmatically

浪子不回头ぞ 提交于 2019-11-30 06:47:20
I know you can enable Windows 10 Developer mode interactively by going to Settings | For developers, selecting 'Developer mode' and then rebooting. Is there a way to enable this programmatically? (eg. via PowerShell or similar so that I can include it as a step in a Boxstarter script when refreshing my developer workstation) Turns out Nickolaj Andersen has written an article which includes just such a PowerShell script.. http://www.scconfigmgr.com/2016/09/11/enable-ubuntu-in-windows-10-during-osd-with-configmgr/ Here are the relevant lines extracted from his post: # Create AppModelUnlock if it

x:Bind image with null string

[亡魂溺海] 提交于 2019-11-30 06:46:58
In XAML I have the following line: <Image x:Name="MainImage" Source="{x:Bind ViewModel.MainPic,Mode=OneWay,TargetNullValue={x:Null}}" Stretch="UniformToFill"/> In ViewModel: public string MainPic { get { if (Data == null) return default(string); else return Data.Photos.ElementAtOrDefault(0).url; } } App compiles fine but during execution (since Data is populated after few seconds), the app crashes with the following exception: System.ArgumentException: The parameter is incorrect. Debugger breaks at: private void Update_ViewModel_MainPic(global::System.String obj, int phase) { if((phase & ((1 <

how to implement chart control in Windows 10 UWP

自古美人都是妖i 提交于 2019-11-30 06:44:38
I need to implement linear graph. Is there any chart control for Windows 10 UWP? Any suggestions? Thanks Syncfusion provides free license to independent developers for their Essential Studio suite. They have some great visualization tools. You can check them here: https://www.syncfusion.com/products/uwp You can find more information about its free license at following link: https://www.syncfusion.com/products/communitylicense Filip Skakun has made a great library that has several charting options available! It has been possible to use it in WinRT and he is in the works on porting it to UWP (

How do I use Headless Chrome in Chrome 60 on Windows 10?

筅森魡賤 提交于 2019-11-30 06:04:48
I've been looking at the following article about Headless Chrome: https://developers.google.com/web/updates/2017/04/headless-chrome I just upgraded Chrome on Windows 10 to version 60, but when I run either of the following commands from the command line, nothing seems to happen: chrome --headless --disable-gpu --dump-dom https://www.google.com/ chrome --headless --disable-gpu --print-to-pdf https://www.google.com/ And I'm running all of these commands from the following path (the default installation path for Chrome on Windows): C:\Program Files (x86)\Google\Chrome\Application\ When I run the

Can DPI scaling be enabled/disabled programmatically on a per-session basis?

社会主义新天地 提交于 2019-11-30 05:58:33
问题 My application happens to be written in Python using pygame, which wraps SDL, but I'm imagining that this is probably a more-general question to do with the Windows API. In some of my Python applications, I want pixel-for-pixel control under Windows 10 even at high resolutions. I want to be able to ensure, for example, that if my Surface Pro 3 has a native resolution of 2160x1440, then I can enter full-screen mode with those dimensions and present a full-screen image of exactly those

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

天涯浪子 提交于 2019-11-30 05:44:00
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 to use the system user other then that nothing :-( please save my day. here is a picture of the

Python TA-Lib install problems

拟墨画扇 提交于 2019-11-30 05:30:08
问题 Frustratingly having a lot of difficult installing the TA-Lib package in python. https://pypi.python.org/pypi/TA-Lib I have read through all the forum posts I can find on this but no such luck for my particular problem.. Windows 10 Python 3.5.2 Anaconda 4.2.0 Cython 0.24.1 Microsoft Visual Studio 14.0 I have downloaded and extracted ta-lib-0.4.0-msvc.zip to C:/TA-Lib (common problems seem to be people not installing the underlying TA-Lib file http://www.ta-lib.org/hdr_dw.html) If someone

Ctrl Alt F8 disconnects displays?

假装没事ソ 提交于 2019-11-30 04:39:17
Learning debugging in PhpStorm and keep accidentally hitting Ctrl + Alt + F8 . I use 3 displays this disconnects the two remotes and goes back to just the laptop. I cannot see this documented anywhere (running Win 10). The worst part is that hitting the combination again does NOT reconnect the displays. Anyone know either: combination to reverse the effect - IE reconnect displays how I can stop it or a tool that will help me find out where it is firing from (motherboard/Windows/Intel/nVidia/USB monitor driver - goodness knows where). Grateful for a helping hand. F8 in various combinations are

Visual Studio 2013 Install Fails: Program Compatibility Mode is on (Windows 10)

孤街醉人 提交于 2019-11-30 04:37:14
I want to install Visual Studio Ultimate 2013 on my Windows 10 but I have this error: I have done these two things (they have solved the problem on Windows 8) but still I cannot install it. Sunsetquest Answer that worked here . They recommend checking the installer file name. It needs to be the original name oddly enough for the setup to work. Adam Wiernicki Disabling the Program Compatibility Assistant is not the right way. A solution that works on Windows 10 is: Right-click the setup file Select Properties and navigate to the Details tab. There should be an entry labeled Original filename .

Scriptable way to add notification to Action Center?

前提是你 提交于 2019-11-30 04:17:44
问题 Mac has a way to post, from command line, a notification. Is there a Windows 10 equivalent to putting a simple notification into the Action Center? 回答1: Is this something you could use? https://technet.microsoft.com/en-us/library/ff730952.aspx [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") $objNotifyIcon = New-Object System.Windows.Forms.NotifyIcon $objNotifyIcon.Icon = "C:\Scripts\Forms\Folder.ico" $objNotifyIcon.BalloonTipIcon = "Error" $objNotifyIcon