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
1
vote
1 answer

Windows 10 Upgrade no x button

Hello can somebody help me? how to force close this windows 10 upgrade i already off the windows update or check if i want. AND THERE IS NO X BUTTON. here. things that i tried: 1. Close by windows task manager. 2. End process the GSW.exe. if by…
nethken
  • 1,072
  • 7
  • 24
  • 40
1
vote
2 answers

How to lock open StorageFile to prevent user from renaming it outside of my app?

I have a basic UWP app running on Windows 10 on the desktop. The app defines a custom file format and lets the user open and edit documents. I use a FileOpenPicker to let the user pick the file. My question is: how can I prevent that the user…
Mark
  • 6,647
  • 1
  • 45
  • 88
1
vote
1 answer

Command Prompt Error when entered the command to access directory

I open cmd C:\Users\Anonymous> When I try to access something, it shows: C:\Program Files\Oracle\VirtualBox is not Recognized as Internal or External command, operable program or Batch file Earlier, the path environment variable was empty so I put…
jigar dave
  • 39
  • 1
  • 1
  • 11
1
vote
2 answers

Visual Studio 2015 Application properties window null reference error

I am creating a project in VS2015. template i have choose is blank Universal app. An error occurred trying to load the page. Property accessor 'TargetDescriptions' on object …
1
vote
1 answer

Capture windows 10 restart/shutdown events using C# winforms

I am trying to capture windows 10 restart/shutdown events using C# winforms. I am writing an application that requires the complete log of idle time, lock/unlock and windows restart/shutdown/logoff timestamps. Can you help me in guiding with…
Santosh_Sams
  • 207
  • 1
  • 2
  • 10
1
vote
0 answers

Compiling MikeOS on a 64x computer

I have recently decided that it would be fun to try playing around with MikeOS. It started off good but then things took a turn for the worst. During compiling I found that I needed a piece of software called partcopy. I looked around and you…
master
  • 81
  • 12
1
vote
0 answers

Can't move files,error- file used by another process with c#, windows 10 & VS 2015

I know this is common question with easy answer but i cannot move files from one folder to another on win10 machine with VS 2015 as its throws exception: cannot access file(some file) its used by another process. I executed same code on win7 machine…
Saurav Anand
  • 41
  • 1
  • 4
1
vote
1 answer

Windows 10 webcam works on UWP but not on standalone

I have tried to show a usb webcam video in a simple app. I tried it through Unity3d, regular C# project and a UWP project. in unity3d the same code works when the target is windows 10 store and the app manifest declares webcam usage, and when I…
1
vote
3 answers

How to set min size of windows universal app on desktop?

I would like to set min size like 800x600 for my windows universal app which on desktop. I found a method ApplicationView.GetForCurrentView().SetPreferredMinSize(new Size(800, 600)); but it doesn't work, I still can drag the window to 500x300. What…
1
vote
0 answers

How to Install Node.js on IIS Windows 10

I've installed Node.Js a few times and I cannot seem to get it to show up in iis for windows 10. When I look in IIS10 for managed modules iisnode is not there and when I try to add it, it mentions something about adding it to the GAC. From the…
1
vote
1 answer

how to add extract/extract all option on right click of .rar file in Windows 10?

I have windows 10, and install winrar on it. but if I try to extract the .rar files by right click on that, on right click menu I haven't find extract or extract all option.If I double click on .rar file it opens the content in winrar explorer.but…
1
vote
1 answer

Problems accessing web camera under Windows 10 / OpenCV

I'm working on a project requiring real-time access to the webcam, and have problems with getting a suitable camera stream under Windows 10 for processing the frames with OpenCV. I'm able to access the camera just fine under Windows 8.1. using…
k_ride
  • 68
  • 1
  • 7
1
vote
1 answer

Using CreateInstance in Windows 10 Universal Apps

The following code doesn't compile in a Windows 10 Universal App, but does in a .Net console app (both using Reflection): string objType = "MyObjType"; var a = Assembly.GetExecutingAssembly(); var newObj = a.CreateInstance(objType); It would appear…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
0
votes
0 answers

Keyboard remapping on Windows 10: How can I map a long-pressed Enter/Return key to a modifier key (e.g. Ctrl)?

I'd like to remap a long-press of an Enter/Return key to Ctrl(right), while keeping a short-press as Return. I spend a fair amount of time in the terminal, particularly in Emacs in a WSL2 Ubuntu environment. Using long-press enter as Ctrl(right)…
0
votes
0 answers

How to correctly run Remote Applications using RDS RemoteApps?

Im running a remote Desktop App on Windows 10 home. The RDP file is having the RemoteApplication mode for a particular application on Windows 10 pro. The Application runs well but i notice there are other applications running in the System tray on…
CrazyFirewall
  • 33
  • 2
  • 7