windows-10

How to update a sideloaded APPX on Windows 10 Mobile

混江龙づ霸主 提交于 2019-12-25 09:04:08
问题 Problem: I have created two APPX-files with version 0.0.1 and version 0.0.2. After the installation of version 0.0.1 the app is visible and accessible. All is ok so far. Now I want to update that app to version 0.0.2. I open the 0.0.2 APPX-file and the installation pop-up comes up. I press the install button and the app seems to install, same like the 0.0.1 installation. After about a minute I open the app again, but against my expectations version 0.0.1 is still installed. I have also tried

Does windows 10 connection limit apply to self-hosted applications?

不羁岁月 提交于 2019-12-25 08:34:21
问题 I am planning to run RabbitMQ on Windows 10 as well as other services, including Self-Hosted ASP.NET Application. I don't want to use Windows Server from reasons I don't want to explain here. Will I have problems after hitting 10 concurrent connections limit of Windows 10? Number of consumers can reach even 30-50. 回答1: According to the Microsoft EULA for Windows 10: (iii) Device connections. You may allow up to 20 other devices to access the software installed on the licensed device for the

WPF combobox transparent background not working with Windows 10

左心房为你撑大大i 提交于 2019-12-25 07:49:17
问题 I have to define a combobox through code behind: var cmbLogin = new ComboBox() { Width = 200, Height = m_dFontSize + 10, FontSize = m_dFontSize, Margin = new Thickness(20), BorderBrush = new SolidColorBrush(m_ExeCfg.GetForeground()), HorizontalContentAlignment = HorizontalAlignment.Center, Background = Brushes.Transparent,<--------------HERE Foreground = new SolidColorBrush(m_ExeCfg.GetForeground()), Focusable = true, }; so the background gets transparent in win7 but not in win10. I have seen

VS Emulator for Android error with Hyper-V

☆樱花仙子☆ 提交于 2019-12-25 07:19:28
问题 When I try to run the Visual Studio emulator for Android I get the following error. "Unable to add user to the Hyper-V Administrators group. Exit code 2220" I am able to run the Windows Phone emulator without problem, so the administrators group is obviously present. Have tried to run as administrator with same result. Running Visual Studio Enterprise 2015 on Windows 10 Anniversary update (14393.10). 回答1: The problem may be related to the version of Windows you have or started with. You have

Warning C4451: Usage of ref class BackgroundTaskDeferral can lead to invalid marshaling

喜欢而已 提交于 2019-12-25 06:04:09
问题 Regarding my universal app project, I am getting compilation warning: warning C4451: 'BackgroundServerTasks::ServerTask::Run::::deferral': Usage of ref class 'Windows::ApplicationModel::Background::BackgroundTaskDeferral' inside this context can lead to invalid marshaling of object across contexts note: Consider using 'Platform::Agile' instead in this file. How could I resolve this warning? Apparently, it is due to my using the BackgroundTaskDeferral within a create_task . I found no solution

How to improve BlendEffect quality? Lumia Imaging 3.0 & UWP

ε祈祈猫儿з 提交于 2019-12-25 04:26:38
问题 I am developing an app that put text into a background image. The textblocks are placed on a canvas control as children and I render the canvas to PNG. Then I use the BlendEffect to blend it with a background image. UPDATE This post is specifically about chaining effects with Lumia Imaging SDK. Unfortunately one of the person who commented was having a tunnel vision and insist that I must learn about the difference between lossy and lossless image. An opinion as useful as telling a kid how to

ShellExecute(Ex) with 'properties' verb

非 Y 不嫁゛ 提交于 2019-12-25 04:15:56
问题 I am trying to write a program, that opens the properties of a file, from the command-line. I read that it is possible to do, using either of the functions ShellExecute and ShellExecuteEx, with the 'properties' verb. So, I wrote such a C++ program in Visual Studio for Windows 10. This is that program: #include <windows.h> #include <iostream> void ShowFileProperties(char *); int main(int argc, char **argv) { if (argc >= 2) { std::cout << argv[1] << std::endl; ShowFileProperties(argv[1]); } std

How to set up Microsoft Edge file association to open .htm files?

孤人 提交于 2019-12-25 02:44:16
问题 In my software I'm using ShellExecuteEx to open a report that is presented as a local .htm file. At times on some end-user systems there's no default file association for the .htm files. To set such file association up on a pre-Windows 10 system I'd install the following registry keys to use IE: Key: HKEY_CURRENT_USER\Software\Classes\htm.file\Shell\open\Command REG_SZ name: "" REG_SZ value: "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "%1" Key: HKEY_CURRENT_USER\Software\Classes\

Cannot install VB6 IDE on Windows 10

梦想的初衷 提交于 2019-12-25 01:49:50
问题 I'm encountering a problem when trying to install VB6 on Windows 10. I've tried several different installers and guides but no matter what, i cannot start the setup.exe Nothing happens whenever i start it. However when i check the windows events i see that the setup quits with errorcode: 0xc0000005 I've even tried an external Installer Helper but it always happens the same way. I also cleaned up my registry before installing. Any help is highly appreciated. Thank you in advance! 回答1: Assuming

Using Format Operator within Replace Operator in PowerShell [duplicate]

时光总嘲笑我的痴心妄想 提交于 2019-12-25 01:36:04
问题 This question already has answers here : Use a function in Powershell replace (2 answers) Closed 12 months ago . I'm trying to rename my files "Introduction _ C# _ Tutorial 1" to something like "01.Introduction" . It needs a -replace operator as well as a -f operator to zero pad the index number. My code is like: $string = "Introduction _ C# _ Tutorial 1" if ($string -match "^([^_]+)_[^\d]+(\d{1,2})$") { $Matches[0] -replace "^([^_]+) _[^\d]+(\d{1,2})$", ("{0:d2}. {1}" -f '$2', '$1') } The