windows-10

OnScreen keyboard issue with WPF Classic Windows App as Custom Shell on Windows 10 Pro

点点圈 提交于 2019-12-24 10:44:17
问题 I've created a WPF app which runs as custom shell on Windows 10 - Pro v. 1607 ASUS TP 201 tablets. Classic windows apps as custom shells can't be defined in Windows 10 - Pro. So I modified the registry in order to assign for a custom user, a custom shell. App runs well except for the fact that virtual keyboard don't popup once a touch event is triggered on TextBoxes. Whe testing on my development machine it works, fine, prompts the keyboard as expected. Even running the app not as custom

Is there a cross browser way to include fonts in web applications in 2019?

风流意气都作罢 提交于 2019-12-24 10:27:34
问题 My five year old java web application has run into problems with fonts, after some work stations has been upgraded to the combination of windows 10 and IE11. The issue is described in detail from Microsofts perspective here. There are several resources describing how to turn off these settings, but I'd like to know if there are any cross browser solutions to keep using specific fonts, with web fonts blocked. Microsofts suggestions are these two: On each computer with the app installed, right

JNLP file doesn't work on windows 10 x64

别来无恙 提交于 2019-12-24 10:15:51
问题 I have Windows 10 pro. x64. I have jnlp file, that works on many different laptops, but not mine. So usually jnlp file opens a window with application. Not on mine machine. When i double click on jnlp or run it using jawaws file.jnlp what happens is Java(TM) web launcher and Java (TM ) Web Start Launcher is active in processes in task manager.. So, each time i run jnlp program, it runs web launcher and web start launcher but doesn't run program. What is curious, sometimes but seldomly, it

How do I get the Users Music Directory?

青春壹個敷衍的年華 提交于 2019-12-24 09:38:17
问题 It is possible to change the Users Music, Pictures etc Directory. For this, go to your Windows Explorer, Right-Click on "Music" and go to Path. Here you can see, that I have my Music moved to an other hard disk. Now the Question: How can I get this Directory in Java? Because System.getProperty("user.home").concat("\\Music") leads to "C:\Users\GG\Music" and not to "D:\GG\Music". UPDATE: as answered by Anders: The way that worked for me were the following 3 lines of code: char[] pszPath = new

Invoking the WiFi connections UI in Windows 10

妖精的绣舞 提交于 2019-12-24 09:26:58
问题 Prior to Windows 10, the WiFi connections UI could be invoked via a ShellExecute using the appropriate GUIDs/strings, details of which can be fairly easily found on the web. This changed in Windows 10. Although there is an API which can be used to programmatically manage WiFi connections (Native WiFi), and there is even a C# wrapper for it on CodePlex, I'd have to build my own UI around it; I can't find any information on how to launch the existing Windows 10 UI for managing WiFi connections.

Print ZPL to Zebra Printer via C#.NET

眉间皱痕 提交于 2019-12-24 09:25:56
问题 I am working on building a website that will print ZPL code to a Zebra printer "140XiIII". The specifics are as follows: The Printer is connected to the computer via Parallel Port. The Printer is not connected to the network. Website Administrator wished to avoid Javascript use if at all possible and instead focus on C#. I have tried using the code at .NET code to send ZPL to Zebra printers that states that it will work on any port. I run through the code and get no errors, but also nothing

Windows 10 Photos App “Clarity” option algorithm

假装没事ソ 提交于 2019-12-24 09:24:53
问题 I want to add an option in my c# app to adjust photo clarity. I searched through web a lot and found many implementations for effects like sharpening and blur but didn't found any c# (or at least c++) implementation for image clarity. I'm looking for something like clarity adjustment in windows 10 "photos" app. If you open the editor section, under "Adjust" tab you will find clarity option. Here is an screenshot from Windows 10 Photos App Clarity Option I don't know how exactly this option

OfflineLicensesChanged event is never raised when trial license expires for a Windows 10 Store app

家住魔仙堡 提交于 2019-12-24 08:47:19
问题 I'm trying the following code for my Win32 app converted to UWP for the Windows 10 Store. The app is posted in the store under a trial license for 7 days. The goal of the code below is to receive a notification when the app's trial period expires: #include <Windows.Services.Store.h> #include <wrl.h> #include <wrl/event.h> //'hMainWnd' = HWND handle to the app's main window //ComPtr<IStoreContextStatics> storeContextStatics; //... ComPtr<IStoreContext> storeContext; hr = storeContextStatics-

Unable to upgrade Conda and install packages using Conda

前提是你 提交于 2019-12-24 07:12:10
问题 In my windows10 environment I am unable to upgrade conda using following command conda update conda My anaconda and python version (base) C:\Users\naseer>conda --version conda 4.5.3 (base) C:\Users\naseer>python --version Python 3.6.4 :: Anaconda, Inc. following is my error log (base) C:\Users\naseer>conda update conda Solving environment: failed '>>>>>>>>>>>>>>>>Error Report>>>>>>>>>>>>>>>>>>> $ C:\Users\naseer\Anaconda3\Scripts\conda update conda environment variables: CCHZPATH=C:\CTEX\CTeX

How to print background image in webBrowser control

≯℡__Kan透↙ 提交于 2019-12-24 06:29:23
问题 I want to print the background-images through my web browser control. body { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%20%3D%20%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20version%20%3D%20%271.1%27%20height%20%3D%20%27100px%27%20width%20%3D%20%27100px%27%3E%3Ctext%20transform%20%3D%20%27translate(20%2C%20100)%20rotate(-45)%27%20fill%20%3D%20%27rgb(245%2C45%2C45)%27%20font-size%20%3D%20%2720%27%3E%20watermark%20%3C%2Ftext%3E%3C%2Fsvg%3E"); } string styledDocTest =