Questions tagged [windows-10-desktop]

the tag windows-10-desktop is for questions concerning application development for the Windows 10 Desktop. Windows 10 Desktop development uses the Win32 API and provides a user interface similar to a traditional Windows UI that supports and may require the use of a keyboard and mouse. Along with this tag should be a tag indicating the language being used and the platform such as .NET. This tag is not used for posts concerning WinRT application development.

Windows 10 comes in three main flavors: Windows 10 Desktop, Windows 10 Mobile, and Windows 10 IoT. Development can be done in a wide variety of languages with several different target processors as well as the different target versions of Windows 10.

The Windows Desktop, Win32, uses the Windows 10 version of the Win32 API which contains functionality that is unavailable in the WinRT in order provide the security of a protected environment for WinRT. The most common processor target is x86 or x64 CPUs.

See the discussion and links in How to: Use Existing C++ Code in a Universal Windows Platform App.

The Windows Runtime, WinRT, with Universal Windows Platform applications allows for a code once, compile many for specific target. A UWP application can be built to target one of several different processors (x86, x64, ARM) as well as any of the versions of Windows 10 (Windows 10 Desktop, Windows 10 Mobile, and Windows 10 IoT).

367 questions
2
votes
1 answer

How to launch netflix app with specific movie in windows 10 externally?

I am able to launch netflix app in windows 10 from my own app using launcher (Netflix://), but its failed to launch a specific movie using launcher like netflix://www.netflix.com/watch/70021664).
2
votes
1 answer

Windows 10 UWP - Programatically detect change in developer features

We have a use case in which we want to monitor some windows devices remotely. In Windows 10 mobile OS Settings > Update & Security > For developers there are three options: Use developer features. Device discovery. Device Portal We want to detect…
2
votes
2 answers

DesktopAppConverter (DAC) says the expanded image is invalid, when I try to convert my app

I have downloaded the .wim file that matches my Windows version (14393) and gone through the process of setting up the converter. So, I have the converter app running on my machine. When I attempt to run a conversion, I get error message…
2
votes
2 answers

Visual Studio - cannot run any projects: application was unable to start correctly (0xc0000142)

Windows 10 x64 Visual Studio 2012 x32 .NET Framework 3.5 and 4.6 I cannot run/debug/F5 any projects in Visual Studio. I have tried nopCommerce, BlogEngineDotNet, File->New Website, etc. First I was getting an error about .NET 4.5 and .NET 4.0…
2
votes
0 answers

failure of floating point interrupt MFC Windows 10

We have an MFC product built in Visual Studio 2012/13 in C++ that performs many mathematical calculations. We use floating point interrupts through the coprocessor to help speed up the calculations, by setting up try/catch blocks. Those interrupts…
John Mauer
  • 29
  • 3
2
votes
0 answers

Opening visual studio solution from a linux drive

I just upgraded from Win7 to Win10 and I noticed the following change, that I don't explain for now. I used to checkout my source code on in a mounted linux drive (\myremote\myaccount\ as X:) before I was able to open visual studio 2008 solution…
alexbuisson
  • 7,699
  • 3
  • 31
  • 44
2
votes
2 answers

UWP Windows-10 Better way to load images

I have a C# app targeting Windows UWP Desktop. The app displays list of images. When user clicks on any of the image in the List View, app would enlarge(detailed view) it & show the image(kind of full screen as the image size is bigger). Whenever I…
2
votes
1 answer

Windows 10: How to determine whether a process is an App/Background Process/Windows Process

Programmatically, how can I determine the 3 categories in Windows 10 Apps Background process Windows service Just like Task Manager? i.e. I need some C# code which I can determine a list of Apps vs. a list of background process. Checking…
simonso
  • 595
  • 1
  • 8
  • 19
2
votes
2 answers

Programatically Switch Off/On Wi-Fi from WPF App

I have a WPF app that has a control(checkbox /toggle switch) . I want to turn Wi-Fi On/Off by using those buttons. I have tried the following code but it doesnt seem to help I am using Windows 10 and Visual Studio 2015 using System; using…
Apoorv
  • 2,023
  • 1
  • 19
  • 42
2
votes
2 answers

Windows 10 application issues. Start and Cortana freeze

Recently forced upgraded to windows 10 by microsoft. Windows Start and cortana froze. Searched google and from powershell ran Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register…
1
vote
1 answer

Is it possible to pin app programmatically in Winforms app on windows 10?

I am trying to build a sample app to check pinning functionality. I came across this article https://learn.microsoft.com/en-us/windows/apps/design/shell/pin-to-taskbar which demonstrates the step by step procedure. I just want to know if this is…
1
vote
1 answer

Running application as non-administrative user while elevated

How (if possible) do you - when you're running as elevated user - start a program with non-administrative rights, when you don't have logon credentials. Scenario: A program running non-elevated executes a child process with elevated status (via…
HeartWare
  • 7,464
  • 2
  • 26
  • 30
1
vote
1 answer

Where is this extra right-hand space in this email coming from? (Outlook on Windows 10)

In the past week, I've started seeing extra space appear in the right-hand side of my emails. It only happens on a Windows desktop, in any version of Microsoft Outlook. Outlook online, mobile, and any non-Windows device don't have the same issue.…
1
vote
0 answers

How to run TackleTest using Docker image on Windows 10?

We are running on Windows 10. Instructions said to mount a working directory to a docker container. We have everything and still can't get Tackle Test to run tests on applications. What are we missing?
1
vote
1 answer

How to use a Bitmap image from Resources in Windows Toast Notifications

I am trying to build an unpackaged WPF app with Windows 10 Toast Notifications. I would like to make an AppLogoOverride to get a resource from the Resources class of my application. I have tried to do this so far: public void ShowToast() { var…
thakyZ
  • 113
  • 1
  • 2
  • 12