windows-10

Why Tomcat8.exe starts with a JAVA_HOME that is different from JAVA_HOME setted in Windows environment variables?

末鹿安然 提交于 2020-01-06 23:50:01
问题 I have this strange situation with Tomcat8.exe in Windows 10. My JAVA_HOME environment variable defined in Windows System environment points at JDK 1.8 path: JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65 When I run "C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\Tomcat8.exe", the server starts with another JDK, as I can see in catalina.log: 12-May-2016 08:57:28.250 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.30 12-May-2016 08

Opening a new window using window.open in Microsoft Edge isn't working

僤鯓⒐⒋嵵緔 提交于 2020-01-06 17:11:03
问题 When using window.open with below given code, there is issue in closing the Window, Minimizing the window, and maximizing the window. window.open(url, '_blank', "height=" + winH + ",width=" + winW + ",fullscreen=yes"); After pressing win+D (minimizing all windows), and opening only the new window, the above mentioned buttons (Minimize, Maximize, Close) were working. 回答1: On Build 10162, I got it working here on this JSFiddle http://jsfiddle.net/RamiSarieddine/wu09fh1d/ window.open("http://dev

Opening a new window using window.open in Microsoft Edge isn't working

断了今生、忘了曾经 提交于 2020-01-06 17:10:29
问题 When using window.open with below given code, there is issue in closing the Window, Minimizing the window, and maximizing the window. window.open(url, '_blank', "height=" + winH + ",width=" + winW + ",fullscreen=yes"); After pressing win+D (minimizing all windows), and opening only the new window, the above mentioned buttons (Minimize, Maximize, Close) were working. 回答1: On Build 10162, I got it working here on this JSFiddle http://jsfiddle.net/RamiSarieddine/wu09fh1d/ window.open("http://dev

Are apps launched by URI in a UWP app also sandboxed?

社会主义新天地 提交于 2020-01-06 08:13:59
问题 I inherited a UWP app and was asked to add a button to launch a 3rd party application. The 3rd party application is built with Qt and has an exe as the main program that launches a second exe that acts as a service. The UWP app is to be run on tablets running Windows 10. I created an installer that adds registry values for the URI for the 3rd party application so I can do URI activation (LaunchUriAsync method). If I change the target of the URI to a different application it works fine, so I

How to avoid security warning due to Machine Access on ClickOnce app install?

夙愿已清 提交于 2020-01-06 08:11:06
问题 My enterprise intranet-only ClickOnce app started recently showing the following warnings. My Windows app of course installs on the user's machine. Does this mean there is no way to avoid the red-X "Machine Access" warning shown below? Or is there a more limiting configuration I might put in place so that I don't need "Machine Access"? Is there any way to ensure my users don't get the Security Warning on install? Google searches that I can think of focus on the first "green check" warning,

TrySetWallpaperImageAsync() always returns false

时光毁灭记忆、已成空白 提交于 2020-01-06 02:44:06
问题 I'm trying to set the wallpaper to an image on my Windows 10 device: var fileName = postInf.title + ".jpg"; BitmapImage img = new BitmapImage(); bool success = false; if (UserProfilePersonalizationSettings.IsSupported()) { // read from pictures library var pictureFile = await KnownFolders.PicturesLibrary.GetFileAsync(fileName); using (var pictureStream = await pictureFile.OpenAsync(FileAccessMode.Read)) { img.SetSource(pictureStream); } UserProfilePersonalizationSettings profileSettings =

cx_Freeze ModuleNotFoundError: No module named 'codecs'

二次信任 提交于 2020-01-05 12:58:14
问题 Trying to convert a .py file into a .exe when trying to run the .exe file in the exe.win32-3.6 folder I get the following error: C:\Users\Aktan\Desktop\build\exe.win32-3.6>StatisticsCalculator.exe Fatal Python error: Py_Initialize: unable to load the file system codec Traceback (most recent call last): File "C:\Users\Aktan\AppData\Local\Programs\Python\Python36-32\lib\encodings\__init__.py", line 31, in <module> ModuleNotFoundError: No module named 'codecs' here is my setup.py code: import cx

cx_Freeze ModuleNotFoundError: No module named 'codecs'

六月ゝ 毕业季﹏ 提交于 2020-01-05 12:58:06
问题 Trying to convert a .py file into a .exe when trying to run the .exe file in the exe.win32-3.6 folder I get the following error: C:\Users\Aktan\Desktop\build\exe.win32-3.6>StatisticsCalculator.exe Fatal Python error: Py_Initialize: unable to load the file system codec Traceback (most recent call last): File "C:\Users\Aktan\AppData\Local\Programs\Python\Python36-32\lib\encodings\__init__.py", line 31, in <module> ModuleNotFoundError: No module named 'codecs' here is my setup.py code: import cx

Is there a Windows 10 PowerShell equivalent to .bashrc for Linux Bash?

可紊 提交于 2020-01-05 08:26:11
问题 I want to run some commands by default every time I open up power shell. Bash has a .bashrc file that it runs as source when it starts up. Is there a way to do this with powershell? 来源: https://stackoverflow.com/questions/52175669/is-there-a-windows-10-powershell-equivalent-to-bashrc-for-linux-bash

Two-way-binding: editing passed value from XAML control in the model setter does not update control

左心房为你撑大大i 提交于 2020-01-05 07:11:17
问题 This is for a Windows 10 Universal App. XAML: <RelativePanel Padding="4" Margin="4,12,0,0"> <TextBlock x:Name="Label" Text="Class Name" Margin="12,0,0,4"/> <ListView x:Name="ClassTextBoxes" ItemsSource="{Binding TextBoxList}" SelectionMode="None" RelativePanel.Below="Label"> <ListView.ItemTemplate> <DataTemplate > <RelativePanel> <TextBox x:Name="tbox" PlaceholderText="{Binding PlaceHolder}" Text="{Binding BoxText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Padding="4" Width="200"