Distribution of an app for Win10 to Windows computers
Hello everyone, I have created a working test app with Visual Studio 19 and the Windows Template Studio for the time being. Unfortunately, there are now problems with the deployment. Do I need a "Developer License " or a "Sideload…
Grouping Windows based on creator
Some applications have single PID with multi instanaces running Eg: Word or MS Teams I need to automate UIA but hoe do i differentiate the windows created by a specific instance Eg : on MS Teams I can have two Instances running under the same PID …
Localization of MSI Error Table
Hello, I am trying to localize MSI error table. I understand from the below links that Windows Installer SDK (which is now part of Windows SDK) include localized error table …
What is the recommended screen display resolution for widows 10 OS, as I am not able to see it in display setting?
What is the recommended screen display resolution for widows 10 OS, as I am not able to see it in display setting? see below windows version & details
I want to call the Windows api to draw the text on the top of the screen, even in the full-screen mode of the game, it can be displayed. How do I do this?
I want to call the Windows api to draw the text on the top of the screen, even in the full-screen mode of the game, it can be displayed. How do I do this? I hope to be able to draw text that displays information such as the temperature of the graphics…
Can I use C++ function _wspawnlp() to call the ssh.exe from my Visual Studio C++ codes?
Hi, experts, I need to call ssh.exe from VS c++ codes. I tried following from the Visual Studio 2013 c++ codes: String sExeName("ssh"); String sHost; errno_t err = _set_errno(0); intptr_t t = _wspawnlp(_P_WAIT, sExeName.c_str(),…
PostMessage from a VBA app to an MFC app
I have a VBA app which uses PostMessage to send data to an MFC app dialog. I use PreTranslateMsg to catch the message in the MFC dialog. What is strange is that it all works if I do not run inside the VS C++ IDE, i.e. run the MFC EXE on its own. …
[WinUI 3 in UWP] Unable to login via default web account provider
Hi, Greetings. I'm trying out the experimental WinUI 3 in UWP. When I was testing fetching access token via Windows.Security.Credentials.WebAccountProvider, it keeps failing with: The application requesting authentication tokens is either disabled or…
How to build a Non-Store, Non-MSIX Desktop app using Windows SDK WinUI 3
I built a UWP app that I publish and deploy to about 70 Windows 10 users. It works fine, except I can’t walk around to every user when I update the app, so I created a new build with Enable Automatic Updates. The problem is my company recently disabled…
Cannot find Microsoft.WindowsAppSDK.Bootstrap.dll
Trying tutorial here doesn't work. Getting error "Unable to load DLL 'Microsoft.WindowsAppSDK.Bootstrap.dll' or one of its dependencies" …
[cfAPI] How to report a file is no longer exist and stop fetching?
Hi MS team, I'm developing sync program with cloud filter API. I notice that some antivirus will hook system function (i.e. CreateFile) and trigger fetch callback. In my scenario, the file was being deleted on server side, and my provider start to delete…
WinUI 3(C++/WinRT): "NavViewCompactModeThresholdWidth" not found
According to the sample code of the the document in Microsoft Learn, I wrote almost the same code, but it cannot be compiled. There is an error, "NavViewCompactModeThresholdWidth": is not a member of…
WinUI 3 Issues
I was exploring options to port our existing WPF app to the new WinUI 3. But it seems almost impossible. Even the most basic things are not working as intended, or am I doing something wrong? 1) A Canvas inside a ScrollViewer does not enable any…
WiX MSI installer add optional true/false flag passthrough to Electron app
Currently I am building an Electron project to a MSI installer using electron-builder, which comes with a WiX template.xml that it uses to generate the MSI installer. Is there a way to configure/edit the installer so my Electron app can know what…
How to create MSIX package with dependencies
I have a WIn32 app (.msi) that is installed with a bootstrapper setup.exe because it has two dependencies that need to be installed: (1) MS SQL LocalDB (.msi) and (2) MS Visual C++ lib (.exe). I would like to create an MSIX package. How do I handle the…
How to navigate between controls on KeyDown event.
I'm trying to have a KeyDown function that makes the focus move to the next control. I've tried this but it throws me an error: private void Obj_KeyDown(object sender, KeyRoutedEventArgs e) { if (e.Key.ToString() == "Enter") …