windows-10

WINDOWS 10 JAVA_HOME is not working

回眸只為那壹抹淺笑 提交于 2019-12-22 11:25:22
问题 My system is Windows 10 64 bit I have created an environment variable "JAVA_HOME" and updated the path but, still system is showing "The JAVA_HOME" environment variable is not defined This environment variable is needed to run this program" Also, echo %JAVA_HOME% is not displaying the path Please review the attached screenshots. 回答1: You need to close and reopen cmd.exe or restart the computer to get JAVA_HOME to propagate to your command prompt. If cmd was open when you set the variables

CMD opens window store when I type python

喜你入骨 提交于 2019-12-22 10:29:05
问题 Today when I tryed to run a simple code on Sublime Text 3, the following message appeard: Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640 And when I type Python in CMD, it opens the Windows Store for me to download Python 3.7. This problem started today for no good reason, I didn't change or downloaded anything about Python and already tryied reinstalling Python, and the Path is correct. 回答1: Two solutions: As ChipJust said it

Why is this simple python toast notification not working?

冷暖自知 提交于 2019-12-22 09:23:18
问题 I would like to create a simple toast notification using python v3.6 on Windows10 machine. I am using this python library. https://github.com/jithurjacob/Windows-10-Toast-Notifications/ I ran the code below; from win10toast import ToastNotifier toaster = ToastNotifier() toaster.show_toast("Hello World!!!", "Python is awsm by default!") All I get is an icon appearing at the bottom right. I don't see any message popping out. What are some possible things that can go wrong? Are there some

Qt OLEAUT32.DLL, COMDLG32.DLL not registered? [closed]

梦想的初衷 提交于 2019-12-22 09:20:07
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . I'm developing a new software in Qt but since a few days I get some confusing error messages when I run the project: mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!75FEEF12: (caller: 75FEE58F) ReturnHr(1) tid(10a0) 8002801D Bibliothek nicht registriert. mincore\com\oleaut32\dispatch\ups

Open file in existing instance of Visual Studio 2017

我只是一个虾纸丫 提交于 2019-12-22 08:37:40
问题 I used to be able to open a file in an existing instance of VS - devenv.exe had a /dde switch for that. But with VS2017 it opens the file in a new instance, not the one already running. For example for json files: My registry has a key HKEY_CLASSES_ROOT\.json\OpenWithProgids which contains a value VisualStudio.json . And there is a key HKEY_CLASSES_ROOT\VisualStudio.json\shell\Open\Command which contains the default value "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7

ListView and pointer events - any way to handle this?

不打扰是莪最后的温柔 提交于 2019-12-22 08:35:41
问题 This is quite old and I believe common case - I have a ListView and I want to let it handle vertical scroll, but horizontal movement of pointer I would like to handle myself. There is a good blog post from Rob Caplan, but it's already three years old and I don't know if there had anything changed in W10. In the post, at the end, Rob suggests to avoid scrolling the ListView manually from own event. Is there any better, easier way to handle this? Sample code can look like this: <Grid x:Name=

Fall creators update performance issues

天大地大妈咪最大 提交于 2019-12-22 06:59:37
问题 After the recent Windows 10 Update (Fall Creators Update) the performance of our .NET c# 4.0 application had decreased a lot. I think there are various issues and one of them is log4net (or disk IO). Our application is very complex (various WCF applications and a ASPNET MVC 3.0 app) and in development there are a lot of log4net traces. Loading the first page in startup lasts 4 or 5 minutes and before the updates lasts a minute, If I deactivate log4net the performance. I've done a test with

How to create a custom VirtualizingPanel on Windows Phone 8.1 / Windows 10?

喜欢而已 提交于 2019-12-22 06:59:32
问题 I'm trying to do this in Windows 10 and Windows Phone 8.1 (app link): I have a custom class called FluidPanel that extends Panel and overrides methods MeasureOverride and ArrangeOverride. The goal is to create the Google Keep appearence. Ok, it's working fine. But, because I'm using a basic Panel as the ItemsPanelTemplate , the items Reorder doesn't work. Also, transistions doesn't work and it doesn't virtualize. So, I would like to know how to create a custom panel that reorder items and

Facebook Login - Windows 10 UWP - Desktop

孤者浪人 提交于 2019-12-22 06:37:17
问题 I am building a new Universal Windows 10 UWP App, and trying to do a Facebook login. On Facebook, I have set the Windows App section of my app to have the identifier of my app: Windows : s-1-15-xxxxxxxxxxxx Windows Phone : fef49b712e5a843cbfeb0c9d780423fc (Not the actual one) In the package manifest file, I have added the protocol of: msft-fef49b712e5a843cbfeb0c9d780423fc Which means I set my redirect_uri parameter to: msft-fef49b712e5a843cbfeb0c9d780423fc://authorize When running on a phone

System.AccessViolationException when copying data to portable device after installing windows 10 creators update 1703

放肆的年华 提交于 2019-12-22 06:37:08
问题 I am attempting to transfer content to portable device using this code snippet IPortableDeviceValues values = GetRequiredPropertiesForContentType(fileName, parentObjectId); IStream tempStream; uint optimalTransferSizeBytes = 0; content.CreateObjectWithPropertiesAndData( values, out tempStream, ref optimalTransferSizeBytes, null); System.Runtime.InteropServices.ComTypes.IStream targetStream = (System.Runtime.InteropServices.ComTypes.IStream)tempStream; try { using (var sourceStream = new