windows-10

WIndows universal app with system.drawing and possible alternative

天涯浪子 提交于 2019-11-28 06:29:16
问题 I'm developing a windows universal app and i need to work with Bitemap but i cannot seem to reference System.Drawing, Why cant windows universal app cannot reference this dll and what alternative do i have? Edit Any suggestions on how can i use my already written filtering library (that depends on system.drawing) in a universal app? Tnx 回答1: System.Drawing is the .NET namespace for working with GDI+. This technology is not available for Windows Store apps or universal Windows Apps. See .NET

Trigger volume buttons to take picture UWP

不问归期 提交于 2019-11-28 06:28:42
问题 I try to use a selfie stick, but as windows 10 camera app does not provide the possibility to take picture and record video with it, I was wondering if there is a possibility to trigger and handle when the user presses the volume up and/or down button inside an UWP app Has anyone be able to achieve this? 回答1: I was wondering if there is a possibility to trigger and handle when the user presses the volume up and/or down button inside an UWP app No, hardware Volume controls need special

Can't open localhost in Microsoft Edge (Project Spartan) in Windows 10 preview

非 Y 不嫁゛ 提交于 2019-11-28 05:11:34
I installed Windows 10 preview and installed IIS. Open " http://localhost " in Project Spartan can't connect. IE has no problem. What's the problem? So the issue is Spartan Edge doesn't have access to the loopback addresses, which is something that most Windows Store apps are blocked from accessing. If you are using Windows 10 RTM or build 10166, this can be done by navigating to about:flags and checking "Allow localhost loopback": Image courtesy of Ryan Joy and used with consent . If you are using a previous build of Windows 10, the CheckNetIsolation tool can be used to add it to the

Change Accent Color in Windows 10 UWP

∥☆過路亽.° 提交于 2019-11-28 04:44:19
I dont really want to use the accent color that the user has chosen in Windows in my app, and instead want to have my own color show. I can change it manually on all the items by by making new styles, but it is just in so many places in the normal controls, that it would be nice to do on the app level. I tried setting <SolidColorBrush x:Key="SystemAccentColor" Color="#FFCB2128" /> but for some reason that does noting on some items and turns others like the video controls gray. Mamoru Satoh On Win10 UWP, System Accent color is defined as ThemeResource SystemControlHighlightAccentBrush . You can

How to enable Bash in Windows 10 developer preview?

与世无争的帅哥 提交于 2019-11-28 04:27:54
I am using windows 10 developer preview Build 14295. From the Build conference I understood that we can enable bash in windows 10. But its not clear how to enable bash in windows 10. Please find below the blog post for running bash in windows 10. Link : http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUsermodeUbuntuLinuxBinariesOnWindows10.aspx After turning on Developer Mode in Windows Settings and adding the Feature, run you bash and are prompted to get Ubuntu on Windows from Canonical via the Windows Store I enabled the developer mode. But I am not sure how to add a feature and run

API for Windows 10 virtual desktops

南笙酒味 提交于 2019-11-28 03:34:24
Is there any way to enumerate, switch, add virtual desktops and move window between desktops from code? Preferably, WinAPI. The Windows SDK Support Team Blog posted a C# demo to switch Desktops via IVirtualDesktopManager: [ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("a5cd92ff-29be-454c-8d04-d82879fb3f1b")] [System.Security.SuppressUnmanagedCodeSecurity] public interface IVirtualDesktopManager { [PreserveSig] int IsWindowOnCurrentVirtualDesktop( [In] IntPtr TopLevelWindow, [Out] out int OnCurrentDesktop ); [PreserveSig] int GetWindowDesktopId( [In] IntPtr TopLevelWindow

Upgraded to Windows 10 and now WAMP won't work

安稳与你 提交于 2019-11-28 03:28:44
I had WAMP working happily on windows 7 as my local development server. Upgraded to Windows 10 today and had an orange WAMP icon on my taskbar. Turns out Windows had installed and ran IIS automatically (why?). I disabled IIS, restarted, started WAMP and the icon turned green. However, going to localhost results in a connection refused message. I used the 'Test Port 80' option on the WAMP menu and it says that yes, Server: Apache/2.2.21 (Win32) PHP/5.3.10 is listening on port 80. The Apache error log doesn't display anything helpful. [Wed Jul 29 17:48:40 2015] [notice] Apache/2.2.21 (Win32) PHP

How to install and use “make” in Windows?

白昼怎懂夜的黑 提交于 2019-11-28 03:04:06
I'm following the instructions of someone whose repository I cloned to my machine. What I want is simple: to be able to use the make command as part of setting up the code environment. But I'm using Windows, and I searched online only to find a make.exe file to download, a make-4.1.tar.gz file to download (I don't know what to do with it next), and things about downloading MinGW (for GNU; but after installing it I didn't find any mention of "make"). I don't want a GNU compiler or related stuff; I only want to use "make" in Windows. Please tell me what I should do to accomplish that. Thanks in

TortoiseSVN icons overlay not showing after updating to Windows 10

。_饼干妹妹 提交于 2019-11-28 02:49:37
I had been using Windows 8 and TortoiseSVN icons have been displaying properly, but after installing Windows 10 I can no longer see the icons for the files/folder status. sea_jackal Had same issue, and was solved by running regedit , erasing some entries in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers and restarting. Deleting OneDrive1... enties was not permited, but I had some from Google Drive. You can also make a bakup by double-clicking in the registry directory and doing an "Export" to a file. On Windows 10, most of the entries are used

How to create a main layout template in XAML

无人久伴 提交于 2019-11-28 01:50:32
问题 I'm new to windows development. I'm making a simple windows app which has a few pages and each page has a similar layout in XAML. Like this: Each page is separated into 3 sections. A will have a title, B is where the content will be inserted and C is for other stuff. My question is: what is the simplest way to build a general layout template so that I can reuse it for every page? And is it possible? For example, I have a MainTemplate.xaml file with this layout: <Grid Background="