windows-10

SerialPort.GetPortNames() returns incorrect port names

人盡茶涼 提交于 2019-12-03 07:58:23
While c# is not my primary programming language, I'm maintaining such a program for a couple of years now. This program connects to a device on a serial port and works from Windows XP up to 8.1. One specific "feature" is that it uses .NET Framework 2.0. With some users upgrading to Windows 10 we've got complains that the program cannot detect/open the COM port of the device. We have confirmed this on our own test systems with clean Win10 installation. It turns out that the function SerialPort.GetPortNames() returns incorrect port names and adds 'strange' characters after the port name. For

WPF Desktop App, Windows 10 Notification Toast 2016 (UWP Community Toolkit)

烈酒焚心 提交于 2019-12-03 07:12:29
I'm trying to display Windows 10 Toasts with my WPF C# Desktop application . Sadly the API and general support concerning Windows 10 notifications in non-UWP or Store apps seems pretty limited and chaotic. Lately the UWP Community Toolkit was published, which seems to try and make things easier for us. There's also this Store app, Notifications Visualizer , which helps in making Toasts like this: I went on and tried to generated the Toast using C# and the API provided by the UWP Community Toolkit. using Microsoft.Toolkit.Uwp.Notifications; ToastContent toastContent = new ToastContent() {

Xampp control panel is not showing

丶灬走出姿态 提交于 2019-12-03 06:36:01
My Xampp control panel is not showing in the desktop (Windows 10), but can only up the servers through the shortcut (minimized option in the task bar). As follows: I have close the application without stopping the servers, will that be the case of this matter? This may be too late, but I had the same issue for some time, I will share my workaround, it is not a permanent fix but it works, you have to use procexp from SysinternalsSuite https://docs.microsoft.com/en-us/sysinternals/downloads/ you launch procexp.exe, you search form xampp-control.exe and right click> window> Maximize. Ramazan

Android Studio Emulator not loading Windows 10

走远了吗. 提交于 2019-12-03 06:24:39
I have a fresh install of android studio on Windows 10, with all the packages for android api 22. When I run the emulator I get the following message C:\Users\admin\AppData\Local\Android\sdk\tools\emulator.exe -avd foo -netspeed full -netdelay none emulator: device fd:928 HAX is working and emulator runs in fast virt mode I can see the emulator in the task manager, but it doesn't actually load. I've been looking for answers to why it doesn't load and I've made sure all the ram settings are correct, but I don't understand why the emulator won't load. Thanks HAXM, the Intel Android

Docker: An error occurred trying to connect

大城市里の小女人 提交于 2019-12-03 06:01:29
问题 Installed Docker on Windows with 2 additional installs, Oracle VM VirualBox and Kitematic. I've disabled Hyper-V in my Windows 10 PC. Now the problem is I can't download any Docker images from DockerHub, not even I can run the command as Docker info At both ends it shows the following error. An error occurred trying to connect: Get http://localhost:2375/v1.21/info: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it. If I run it

Upgrading to Windows 10 breaks MySQL workbench?

余生颓废 提交于 2019-12-03 05:58:20
I recently upgraded to the released version of Windows 10 using the automatic upgrade feature from Windows 8. In addition to some other stuff breaking, it seems that MySQL Workbench is now broken. The program starts fine, but when you try to connect to a database, you are presented with a fatal error: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. This occurs even after a restart and seems to occur every time. The issue occurs due to the HTML rendered dll that is included in Workbench. Full details of the bug are here . For a quick fix, thanks to Michael Gaillez

MVVM light can't work in Windows 10 Universal app

旧时模样 提交于 2019-12-03 05:18:13
问题 I tried to use MVVMLight in our Windows 10 Universal app, but it seems like that it totally can't work. I've seen this blog Nuget downloaded and added a reference to the MVVM Light assemblies Nuget also added the ViewModelLocator in the Application.Resources. Can't see the Locator in Application.Resources 回答1: You need to create the ViewModelLocator manually, please follow these steps: Create a new Windows 10 Universal app, for example: MVVMLightUWPApp1 Add reference to MVVMLight using NuGet

What's the cleanest way to remove Homestead and Vagrant from a Windows system?

偶尔善良 提交于 2019-12-03 04:52:03
问题 I followed the instructions in Laravel docs to install Vagrant and Homestead on Windows 10, but now I've decided to move the whole development stuff to another dedicated server running Debian. I need to fully remove Vagrant, Homestead, Composer as well as AMPPS (old stuff) from the Windows 10 desktop. It should be easy to simply uninstall Vagrant and AMPPS, but how do I go about cleaning up the remaining things? I don't need to keep any of the code etc. I've already got that in a different

Set audio endpoint devices application specific (programmatically)

自古美人都是妖i 提交于 2019-12-03 04:51:55
Link to the bug report on 'Feedback Hub' An audio endpoint device, from here on referred to as 'endpoint', is a physical or virtual audio output or input device. With the Windows 10 April Update 1803 the long overdue 'App volume and device preferences' have been introduced. These settings allow more control over audio stream management as it is now possible to set different endpoints for different applications, no matter whether that particular application comes with an endpoint selection or not. However, there is an issue where the audio of a program, whose endpoint is non-default, is

SqlConnection Error if EXE is executed from network path

谁都会走 提交于 2019-12-03 04:50:25
First of all: everything you will read in this post happens only if Windows 10 April 2018 update is installed. No problem before installation and after update uninstallation. After installing Windows 10 1803 update, all my VB program (VB6, .NET and WPF) running from network mapped drive or UNC path can't connect to SQL server, no problem if the same executable is placed and executed from local drive (tested on 2 pc in the same network): Remote SQL server, exe on local drive: OK Same remote SQL server, same exe on mapped network drive (with full read/write access): ERROR This is the error