windows-10

Open file in existing instance of Visual Studio 2017

北慕城南 提交于 2019-12-05 13:32:50
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\IDE\devenv.exe" /dde . But that /dde is ignored. Maybe all the betas and RCs corrupted something. My

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

浪子不回头ぞ 提交于 2019-12-05 13:19:30
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.cpp(2128)\OLEAUT32.dll!75FEEF12: (caller: 75FEE58F) ReturnHr(2) tid(10a0) 8002801D Bibliothek nicht

In-App purchase trouble on Windows 10 UWP

给你一囗甜甜゛ 提交于 2019-12-05 12:49:12
问题 I'm trying to enable an in-app purchase item on my app (already on Windows 10 store), but I always receive the same error message when trying to buy this item: This in-App Purchase item is no longer available in MyAppName The code is fairly simple and just what the docs recommend: var itemName = "app.advanced_items.full"; if (CurrentApp.LicenseInformation.ProductLicenses[itemName].IsActive) { return true; } var results = await CurrentApp.RequestProductPurchaseAsync(itemName); if (results

Can't type into Android Studio's built in terminal

时光毁灭记忆、已成空白 提交于 2019-12-05 12:43:12
问题 Don't know since when, but I was off work for a few days, and now Android Studio is wont to not let me type into the built in terminal. I use Android Studio on my HP laptop with Windows 10 on top of it. Here's a screenshot, as I click on it the cursor gets highlighted and starts blinking as usual but typing into it doesn't work anymore. Well I have tried adding terminals, removing Terminals, deleting AS data, and even reinstalling AS completely If anyone has got a solution, please assist. 回答1

How to properly enable dpi-scaling on uwp app

假装没事ソ 提交于 2019-12-05 12:34:20
I've created my first UWP app. It's a Windows 8.1 UWP app which will help with scheduling courses at my university who's current system is awful. I've been working on it with my Windows 10 desktop computer with a 1080p monitor at default system scaling (100%). I deployed a test build and installed it on my laptop. The laptop is also Windows 10 and 1080p but has a smaller screen so I have system scaling set to 125%. My problem is that instead of this higher scaling factor making my app have bigger features, it does the opposite and shrinks everything in the app. Here are two screenshots from my

“No valid MSBuild was detected for the selected target” when build cordova with Microsoft visual studio 2015

元气小坏坏 提交于 2019-12-05 12:24:34
I get the No valid MSBuild was detected for the selected target error when bulid cordova (build solution) for Windows platform with Microsoft visual studio community 2015 (ver 14 update 3). And I also get Some of requirements check failed when run cordova requirements in project folder Requirements check results for windows: Windows OS: installed Windows 10 MSBuild Tools: not installed MSBuild tools v.14.0 not found. Please install Visual Studio 2015 Community from https://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio: not installed Required version of Visual Studio

ShinyApp : Connection Reset By Peer

↘锁芯ラ 提交于 2019-12-05 12:00:28
The shinyapp I built earlier was running fine in my old laptop. Recently I got a new laptop with Windows10. After setting up everything, I tried to run the app but it the browser opens and closes immediately with the error : Listening on http://127.0.0.1:5004 ERROR: [on_request_read] connection reset by peer I have also set chrome as default browser.... I deployed this app in shinyapps.io it is working fine there. I tried few more simple apps in Rstudio but the same issue coming. Looks like the issue is more related to some setting in Windows10. Can someone help me please. Thanks in Advance...

Confusion about multiprocessing and workers in Keras fit_generator() with windows 10 in spyder

梦想的初衷 提交于 2019-12-05 11:19:15
In the documentation for fit_generator() (docs: https://keras.io/models/sequential/#fit_generator ) it says that the parameter use_multiprocessing accepts a bool that if set to True allows process-based threading. It also says that the parameter workers is an integer that designates how many process to spin up if using process-based threading. Apparently it defaults to 1 (a single process based thread) and if set to 0 it will execute the generator on the main thread. What I thought this meant was that if use_multiprocessing=True and workers > 0 (let's use 6 for an example) that it would spin

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

℡╲_俬逩灬. 提交于 2019-12-05 11:18:54
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 FileStream(fileName, FileMode.Open, FileAccess.Read)) { var buffer = new byte[optimalTransferSizeBytes]; int

vimdiff E97 in Powershell

时光怂恿深爱的人放手 提交于 2019-12-05 10:36:58
I am having trouble getting vimdiff to work on a Windows 10 machine. I am running vim from Powershell. Powershell is also declared in $myvimrc as my shell of choice: set shell=C:\WINDOWS\system32\WindowsPowershell\v1.0\powershell.exe The documents I am attempting to compare are not saved as files. I open two vertical splits, enter text into each, and run :windo diffthis . The output is E97: Cannot create diffs . This article says I may need to download and use a different diff.exe than the one installed with gvim. I have downloaded the recommended "GnuWin32 diff" package and added the install